2217 Commits

Author SHA1 Message Date
KRIS CHEN
c66358781a Merge "gs-common: add fingerprint dump" into main 2024-06-12 04:39:32 +00:00
chenkris
fe8968a08a gs-common: add fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I224171a532bba537c11e53cf46be0042038b7732
2024-06-11 13:35:04 +00:00
Treehugger Robot
d952540c1c Merge "Revert "Add one variable to decide if need TTS voice packs"" into main 2024-06-11 05:17:43 +00:00
Ray Hsu
b4a21a0e14 Revert "Add one variable to decide if need TTS voice packs"
This reverts commit b52878371b4d29dbba7b0c19c4d34bf57cbd4f5f.

Reason for revert: <Need preload TTS voice packs. If we need this patch, please just phase in the factory branch>

Bug: 140145973
Change-Id: Iacbe0cac6f7d68eac8b2155795e918edd1e73e25
2024-06-11 04:36:59 +00:00
Wayne Lin
d3819ee3be [automerger skipped] gps: maintain one solution am: ba840e7417 -s ours
am skip reason: Merged-In I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18 with SHA-1 2ced5f6958 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27080977

Change-Id: I1c3c1db87e1057a271780f289036c32e1cd7b522
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 02:49:50 +00:00
Klines Jiang
5f01cd2856 [dump_gyotaku] Add collect odpm logs for dump_gyotaku.
Bug: 328551786

Test: Local build and odpm logs collected test passed.

Change-Id: Ic0071e8ee2262c3fa439444a6b90f092749afe43
2024-06-07 03:33:43 +00:00
Xin Li
6fe4471f0b [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 8be8b3d6ef -s ours
am skip reason: Merged-In I2c1785105bab74a483bc68893d96a8a88eabfd90 with SHA-1 3133d362a4 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27555143

Change-Id: I06ccf9eaf23d8b0820a67ea18968371ba8fff128
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:08 +00:00
Treehugger Robot
1fc96a57bb Merge changes from topic "customgnss" into main
* changes:
  sepolicy: Allow hal_gnss_pixel access sscoredump file
  sepolicy: Allow gnssd access modem_state
2024-06-05 09:05:59 +00:00
Treehugger Robot
406279f274 Merge "Remove obsolete relfector HAL policy." into main 2024-06-05 07:36:52 +00:00
Treehugger Robot
1cae148226 Merge "touch: Add the capability to simulate HW failure" into main 2024-06-05 02:50:17 +00:00
Bruce Po
8b5c7dbb93 Merge "selinux move aocx from vndservice to service" into main 2024-06-04 23:30:43 +00:00
Richard Chou
8b602f29a6 Merge "Recorder: add sepolicy for Google Recorder app" into main 2024-06-04 07:55:02 +00:00
Richard Chou
7d60dc41df Recorder: add sepolicy for Google Recorder app
List of avc-denies:
http://b/338879856#comment3

Test: build pass
Bug: 338879856
Change-Id: I40884f0308f8a77b237c6b588db861b63950a8d8
2024-06-04 14:57:11 +08:00
Super Liu
70f4b0431e touch: Add the capability to simulate HW failure
Usage:
  $> setprop vendor.touch.gti0.ical.override.result RESULT
  The designate RESULT to be used for the designate CMD.
  If no RESULT assign, the default value will be "0 - -2147483648".

  $> setprop vendor.touch.gti0.ical.override.cmd CMD
  The result of designate CMD(e.g. 202 or 301) to be overrode by the
  designate RESULT. If the CMD is "xxx", the result of any CMD will
  be overode with the designate RESULT.

Bug: 341021854
Test: manual test
Change-Id: I3d24618e240b4a966b5a76a33ed9ab96503a3257
Signed-off-by: Super Liu <supercjliu@google.com>
2024-06-04 00:46:26 +00:00
Wayne Lin
ba840e7417 gps: maintain one solution
Move the rules from ag/27080484

Bug: 315915958
Test: build pass and GPS function works
Change-Id: I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18
Merged-In: I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18
2024-06-03 09:14:12 +00:00
Wayne Lin
2ced5f6958 gps: maintain one solution
Move the rules from ag/26254728

Bug: 315915958
Test: build pass and GPS function works
Change-Id: I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18
2024-06-03 08:35:41 +00:00
Cheng Chang
bb3522634e sepolicy: Allow hal_gnss_pixel access sscoredump file
avc:  denied  { read } for  name="ssrdump" dev="dm-48" ino=404 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=dir permissive=0
avc:  denied  { search } for  name="ssrdump" dev="dm-48" ino=404 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=dir permissive=0
avc:  denied  { read } for  name="ssrdump" dev="dm-48" ino=404 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=dir permissive=1
avc:  denied  { open } for  path="/data/vendor/ssrdump" dev="dm-48" ino=404 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=dir permissive=1
avc:  denied  { search } for  name="ssrdump" dev="dm-48" ino=404 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=dir permissive=1
avc:  denied  { getattr } for  path="/data/vendor/ssrdump/crashinfo_gnss_2024-05-22_16-00-45.txt" dev="dm-48" ino=19897 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=file permissive=1
avc:  denied  { read } for  name="crashinfo_modem_2024-05-22_16-34-51.txt" dev="dm-48" ino=20760 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sscoredump_vendor_data_crashinfo_file:s0 tclass=file permissive=1

Bug: 341224300
Test: b/341224300#comment13 abtd boot health check.
Test: b/341224300 SST test verification.
Change-Id: Ie2b55cb487e7e801a0199b1e9dd9ad16f1e3d682
2024-06-03 03:10:11 +00:00
Jaegeuk Kim
85ff832530 Merge "Change rq_affinity of the zoned storage logical unit from one into two" into main 2024-06-01 02:22:49 +00:00
Bruce Po
1f7c89e359 selinux move aocx from vndservice to service
When updating aocx service to use binder ndk backend, we get this
selinux violation:

SELinux : avc:  denied  { add } for pid=2772 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0

TEST:
adb push out/target/product/tangorpro/vendor/etc/selinux/* /vendor/etc/selinux
adb reboot
adb shell aocx_tool list

BUG: 343998265
Change-Id: I1e4f554abfe02f33328c851f7da64c671d8f4cb7
2024-05-31 12:42:10 -07:00
Klines Jiang
65a5fe99c1 [SELinux] Initial access fingerprint sepolicy for gyotaku_app
Initial a specific build folder for fingerprint, we need to include the mk file on specific build.

Bug: 342335081

Test: Local build and sepolicy tests passed.
Change-Id: I8b8522ed949abc586ebab2efe4061f5e4b6cdde0
2024-05-31 10:03:46 +00:00
Treehugger Robot
e92cc2f8b1 Merge "Add the new IPC and ring buffer files." into main 2024-05-31 08:45:20 +00:00
Cheng Chang
ec3a553080 sepolicy: Allow gnssd access modem_state
avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file
avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file
avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file

Bug: 342284863
Test: b/342284863 for boot-health check.
Test: b/342284863 for function verification.
Change-Id: I1accfe367915737c14ee79dce71fe04cdcdbb727
2024-05-31 02:10:15 +00:00
Madhav Iyengar
ea854a89c4 Add the new IPC and ring buffer files.
Adds file_contexts entries for the files representing new AOC services
used by a new transport between CHRE on AOC and the bthal.

NOTE: The use-case for these files is the same as the
/dev/acd-com.google.bt* files (lines 23-24). Those files will eventually
be removed when we migrate from the old USF-based transport to the one
under development.

Bug: 342415506
Test: Works with other CLs in topic to support BT offload over the new
transport (with a local change to hook the new transport in).

Change-Id: I81246a25af020ab14da3d4ae7675f2a0f00f97be
2024-05-31 02:04:54 +00:00
Bart Van Assche
41836d64ce Change rq_affinity of the zoned storage logical unit from one into two
Bug: 335708738
Flag: EXEMPT This change only affects ZUFS devices
Change-Id: I3bb655856f0c27a42f26c6dd1a8fc53e7f6e1a00
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2024-05-30 12:59:57 -07:00
Rios Kao
8e0546449d Merge "audio: add a restricted property for audio app." into main 2024-05-30 03:38:36 +00:00
Randall Huang
1a4ff9675f Merge "Allow userdata_exp partitions" into main 2024-05-30 02:45:44 +00:00
Philip Quinn
256d37b5d7 Remove obsolete relfector HAL policy.
Bug: 343566773
Test: presubmit
Change-Id: Ie779a71dfdc9d198643f5eb95396085ea842b7a5
2024-05-30 01:59:29 +00:00
Xin Li
1b583f2977 Merge "[automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: ef6bdc1f33 -s ours" into main 2024-05-29 21:39:03 +00:00
Xin Li
2ff078405b [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: ef6bdc1f33 -s ours
am skip reason: Merged-In I4ac1ecf51da01c24d4e2f0f7e52df1d2cb92e275 with SHA-1 1c9e011597 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27272614

Change-Id: I1579bc2c16412fe5a1c24f5b7f7f59992df9f33e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:48:58 +00:00
Xin Li
2ef9a3bb11 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: ef6bdc1f33 -s ours
am skip reason: Merged-In I4ac1ecf51da01c24d4e2f0f7e52df1d2cb92e275 with SHA-1 1c9e011597 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27272614

Change-Id: I7538e4b3033f31f59467d2c6a795c93b0d722542
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 19:44:39 +00:00
Michelle Ho
65df448851 [automerger skipped] Foldable concurrent selfie prebuilt flag am: 3297aee549 -s ours
am skip reason: Merged-In Idbacff0d8f97ad0047b334d5563c7e4d5d734182 with SHA-1 fd7d393907 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27394639

Change-Id: I6cb3b05560601c39ca3d2bd90fd56da0ea0f9c61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 04:13:48 +00:00
Rios Kao
92a659256f audio: add a restricted property for audio app.
note: For app layer to access specific property,
      define persist.vendor.app.audio. and
      set it as restricted.

Test: build pass
Bug: 333497194

Change-Id: I397a1bcb9bd16c7fa236049eead30b6e17a996b5
2024-05-29 02:48:30 +00:00
Treehugger Robot
dd9070f67f Merge "Foldable concurrent selfie prebuilt flag" into main 2024-05-29 00:30:48 +00:00
Xin Li
8be8b3d6ef Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I2c1785105bab74a483bc68893d96a8a88eabfd90
Change-Id: I92a4a0fcec18e459b899a4da7ed13527197fe64b
2024-05-27 22:58:50 -07:00
Michelle Ho
fd7d393907 Foldable concurrent selfie prebuilt flag
Add a foldable concurrent selfie prebuilt
XML as the feature flag config file

Flag: com.google.pixel.camera.concurrent_foldable_dual_front
Bug: 333986739
Test: build pass
Change-Id: Idbacff0d8f97ad0047b334d5563c7e4d5d734182
2024-05-28 03:29:46 +00:00
Michelle Ho
3297aee549 Foldable concurrent selfie prebuilt flag
Add a foldable concurrent selfie prebuilt
XML as the feature flag config file

Bug: 333986739
Test: build pass
Change-Id: Idbacff0d8f97ad0047b334d5563c7e4d5d734182
Merged-In: Idbacff0d8f97ad0047b334d5563c7e4d5d734182
2024-05-27 16:15:38 +00:00
Vic Huang
d94cfccb71 [BT] Add sepolicy of power stats
Bug: 341652267
Test: Local build and test pass
Change-Id: Ie3acff612c1f46e403d9b5b8047b6b2666fb1bde
2024-05-27 09:14:28 +00:00
Treehugger Robot
fe5a740e69 Merge "Create an isolated copy of vendor dumpstate from all devices" into main 2024-05-27 04:35:50 +00:00
Xin Li
ef6bdc1f33 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I4ac1ecf51da01c24d4e2f0f7e52df1d2cb92e275
Change-Id: I436cedecd5c6eb58f03fc239c520070163d49b8f
2024-05-24 08:25:22 -07:00
Cyan_Hsieh
4434df4420 Add MK_OWNERS as owners file for makefile am: 82a8451d2a am: 127be6aaff
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3102997

Change-Id: I61f3ea0556475b30f148eca5a867f66ca7b6520c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 09:10:36 +00:00
Cyan_Hsieh
127be6aaff Add MK_OWNERS as owners file for makefile am: 82a8451d2a
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3102997

Change-Id: I8afc931b8b3639a47b912020f214c6e15ea14e54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 08:46:18 +00:00
Cyan_Hsieh
82a8451d2a Add MK_OWNERS as owners file for makefile
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:719071202775f584b02c313172b15496045009d8)
Merged-In: I9c1ac31c640c9f74434b993c9cc24332d6820cd0
Change-Id: I9c1ac31c640c9f74434b993c9cc24332d6820cd0
2024-05-24 08:01:37 +00:00
Jaegeuk Kim
24ee023597 Allow userdata_exp partitions
Bug: 336319772
Change-Id: I7f878f29d356df3992fb49b9df8f8a900a6f12b8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-05-22 13:31:39 -07:00
Adam Shih
3cd2c9ae0d Create an isolated copy of vendor dumpstate from all devices
Bug: 326153087
Test: make android.hardware.dumpstate-service on husky and cheetah
target without breaking

Change-Id: I9053d813e4be75ac279beeec77fdcefed08396f9
2024-05-20 01:59:27 +00:00
YiKai Peng
2b710d7dbb sepolicy: allow hal_wlcservice call
Bug: 341014314
Bug: 341220409
Test: SELinuxUncheckedDenialBootTest
Change-Id: I843c3be8c13d183174e87222b0f067bf98aad57d
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-05-19 13:34:15 +00:00
YiKai Peng
24af2c95b1 Reapply "WLC: service: add configuration and contexts for sepolicy"
This reverts commit 7d99cb87ea21af55d699a319462f9999f960f302.

Bug: 311315038
Test: authentication
Change-Id: Iaf8d4043794f895ce9ce1ab9b295de072de16e50
2024-05-18 15:11:40 +00:00
Priyanka Advani
5926313576 Merge "Revert "WLC: service: add configuration and contexts for sepolicy"" into main 2024-05-17 23:57:30 +00:00
Priyanka Advani
7d99cb87ea Revert "WLC: service: add configuration and contexts for sepolicy"
Revert submission 27233359-wlcservice-main

Reason for revert: Droidmonitor triggered revert due to b/341014314. Test is still flaky on all devices except akita. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27233359-wlcservice-main

Change-Id: Idf2749208a361c14ebac92ad221cc2599fc8135e
2024-05-17 20:35:55 +00:00
Hongyang Jiao
aebd22a825 Remove BetterBug (and BetterBugStub) from aosp & factory build targets. am: db7b681039
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27350056

Change-Id: I9654dffa12d9e1c23f8f523a6753b8d48a9cd3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:11:46 +00:00
YiKai Peng
d1a07d0197 Merge "WLC: service: add configuration and contexts for sepolicy" into main 2024-05-16 06:41:52 +00:00