1773 Commits

Author SHA1 Message Date
Ziyi Cui
82b21f3214 gs-common: sepolicy: Enable path reading for RT Runnable stats
Bug: 275806676
Test: adb bugreport
Change-Id: I6d971c04de5d1761ce13c0ae30b73965bbfb126b
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-11-13 17:52:57 +00:00
Feiyu Chen
f382fb25df Merge "Add SEPolicy for audio HAL to use EdgeTpu" into main 2023-11-09 18:55:36 +00:00
Sam Ou
c19870b2f7 Merge "bcl: Create lastmeal.csv" into main 2023-11-09 15:14:41 +00:00
feiyuchen
9f6785063a Add SEPolicy for audio HAL to use EdgeTpu
The added policies for Audio HAL (`hal_audio_default`) are exactly the same as Camera HAL (`hal_camera_default`).

Background: Audio team is migrating audio processing offload to TPU. POR is for Android U QPR.
Design doc: https://docs.google.com/document/d/1KarcXFbfiJVxHDFgT5AYNE0-tUc0cr_63dCNK-5HQys/edit?resourcekey=0-J-4NEenhAWuoa5Ou7ZGYgw

Bug: 289466639
Change-Id: I02b7ba4e4956b0db615b21a88dc47b615cc66e44
Test: It was tested in above Bug that Audio HAL could use EdgeTpu
2023-11-08 16:58:53 +00:00
samou
fface22c8a bcl: Create lastmeal.csv
Bug: 293899466
Change-Id: I0b7160177da66a598288d2e1782e6c244b02636e
Signed-off-by: samou <samou@google.com>
2023-11-08 02:00:15 +00:00
Treehugger Robot
d0e028f175 Merge "sensors: Move USF related sepolicy to gs-common." into main 2023-11-07 06:49:08 +00:00
Rick Chen
cb448adfc8 sensors: Move USF related sepolicy to gs-common.
Bug: 305120274
Test: Compile pass. Flash the build to WHI, WHI_PRO, ZUMA devices and no
      sensor related avc denied log.
Change-Id: I5bab78c72849fbdf312a5d088532572dbd6e6c6d
Signed-off-by: Rick Chen <rickctchen@google.com>
2023-11-06 23:19:13 +08:00
Eden Shih
fc4015ffd8 Add DiagnosticsTool domain for SELinux access. am: 6498d1c798 am: 0884688dc1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/25240609

Change-Id: Ib5e9814b0e843d6393b300827fe85d4cd7f2c1fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 10:58:22 +00:00
Sam Ou
f3840ca7b5 Merge "bcl: Support thismeal binary" into main 2023-11-06 10:36:49 +00:00
Eden Shih
0884688dc1 Add DiagnosticsTool domain for SELinux access. am: 6498d1c798
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/25240609

Change-Id: Ic64f86714623f128a8949bff5efb6b8be0a6716d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 10:22:57 +00:00
Eden Shih
6498d1c798 Add DiagnosticsTool domain for SELinux access.
Bug: 301300623
Change-Id: Ic71cd664e1c6c99300666bf73eb27486a710d4b5
2023-11-03 08:34:52 +00:00
samou
e153fc34ad bcl: Support thismeal binary
Add command for dump_power to create thismeal.txt
from thismeal.bin.

Support BatteryMitigationService to monitor
brownout event and generate thismeal.bin.

Test: /vendor/bin/hw/battery_mitigation -d
Bug: 293899466
Change-Id: I3fcbd62af25204a7469dd3952a91cd6d281bccd7
Signed-off-by: samou <samou@google.com>
2023-11-02 05:45:22 +00:00
Kyle Zhang
5a0785e0ec Merge "Use build flag to control widevine package" into main 2023-11-02 02:42:48 +00:00
Kyle Zhang
e0284e9bb7 Use build flag to control widevine package
Bug: 303466154
Change-Id: I3a189e4695ad6c5b8cf36a525d592fc218d8ec84
2023-11-01 00:11:53 +00:00
Treehugger Robot
c5d1c75378 Merge "Adds TTS voice packs in gs-common" into main 2023-10-31 06:17:09 +00:00
Wayne Lin
216c162bfc Merge "gps: refine gps build system" into main 2023-10-31 05:35:19 +00:00
mincheli
e4bfea32c3 Adds TTS voice packs in gs-common
TTS voice packs are better to be common for all devices
So the other device configs can have the common TTS voice packs
  for the device build  by "gs-common/device.mk"

And see doc, Preload Google Text-to-Speech (TTS) Voice Packs:
The voice packs are dowloanded follow the steps.

Bug: 140145973
Test: build passed and manual test
Change-Id: Ifed0ccecf598c1b09608b45494193524da3b9ed2
2023-10-31 02:47:31 +00:00
David Li
2227da2941 Merge "audio: remove unused xml files on AIDL HAL enabled devices." into main 2023-10-30 06:38:18 +00:00
Wayne Lin
94f65401d4 gps: refine gps build system
- remove override directive

Bug: 291186485
Test: build pass and confirm gps binaries are correct
Change-Id: I1d46fda73f0a02ccdcb409110a4ec293d87a6f5f
2023-10-27 14:06:52 +00:00
Chris Lu
4984f37fe0 Add dump of panel_pwr_vreg
Bug: 296978805
Test: capture a bugreport
Change-Id: If652058b45b2854ec71b2a029686540a600f2cc8
2023-10-27 07:46:17 +00:00
David Li
71e876c0fb audio: remove unused xml files on AIDL HAL enabled devices.
Bug: 303004264
Test: mm
Change-Id: I7e9d0e9a6bed1fc3e057e4503c31771854905b63
2023-10-27 12:58:33 +08:00
samou
440a92fd67 bcl: start brownout event thread
Allow multiple sepolicy and start thread to monitor
brownout event

Bug: 290149543
Change-Id: I2e9f3dc180a37b60e5e51ac5c4c1b0aa79073328
Signed-off-by: samou <samou@google.com>
2023-10-26 03:24:45 +00:00
Randall Huang
c299df119e storage: dump UFS error history when capturing bugreport
Bug: 264001741
Test: capture bugreport
Change-Id: Ie910377c6378240188ff09b2a686efb02b2ac972
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-10-23 06:59:04 +00:00
Treehugger Robot
59b961ceeb Merge "sepolicy: add permission for AudioBT of pixelstats-vend." into main 2023-10-23 04:39:20 +00:00
Xin Li
b9e9138b71 [automerger skipped] Merge 10952656 am: 2a0e587b2e -s ours am: c3695c5f00 -s ours
am skip reason: Merged-In I1cffc53e765a0531109e4c04b72605a1c879973f with SHA-1 1f5d87ce75 is already in history

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

Change-Id: If4e24daffe7851e4e3adda834a94714fd404cbb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 23:54:33 +00:00
Xin Li
c3695c5f00 [automerger skipped] Merge 10952656 am: 2a0e587b2e -s ours
am skip reason: Merged-In I1cffc53e765a0531109e4c04b72605a1c879973f with SHA-1 1f5d87ce75 is already in history

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

Change-Id: I0fe2783bae0d2f02ff19cf080cc9d9a1af5e9fcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:47:48 +00:00
Alan Chen
049b4fd745 [automerger skipped] Create radio_ext aidl service declaration am: 79e230a05b am: 20117e34b6 -s ours
am skip reason: Merged-In Ibcd427c501633a95e74e392837b41b0ef513a4a8 with SHA-1 b7f9b4a306 is already in history

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

Change-Id: Ic37180b776d16242fce6850586ba9e057e2807c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 08:44:35 +00:00
Alan Chen
20117e34b6 Create radio_ext aidl service declaration am: 79e230a05b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/25027513

Change-Id: Ib9db4022e1e64dc25bc0ad96bcc90062290e1cc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 08:14:24 +00:00
Alan Chen
79e230a05b Create radio_ext aidl service declaration
Note: This is copy of the reverted commit
cbc4b64bd1bff8211ef43f8d32856bb342dafa52 (ag/24799507) plus the fix to
the problem that caused the revert which is to mark the radio_ext
service as optional in the compatibility matrix.

Bug: 285459428
Test: manually verified dumpsys and logs that service starts without
errors
Change-Id: Ibcd427c501633a95e74e392837b41b0ef513a4a8
Merged-In: Ibcd427c501633a95e74e392837b41b0ef513a4a8
2023-10-19 07:39:05 +00:00
Xin Li
2a0e587b2e Merge 10952656
Merged-In: I1cffc53e765a0531109e4c04b72605a1c879973f
Change-Id: I251d7da3b70e6d06dd1a4530ec1cac6cdc7b0f52
2023-10-17 10:06:29 -07:00
Alan Chen
b7f9b4a306 Create radio_ext aidl service declaration
Note: This is copy of the reverted commit
cbc4b64bd1bff8211ef43f8d32856bb342dafa52 (ag/24799507) plus the fix to
the problem that caused the revert which is to mark the radio_ext
service as optional in the compatibility matrix.

Bug: 285459428
Test: manually verified dumpsys and logs that service starts without
errors
Change-Id: Ibcd427c501633a95e74e392837b41b0ef513a4a8
2023-10-17 02:19:40 +00:00
Treehugger Robot
ab084a7329 Merge "audio: includes speaker compensation module" into main 2023-10-16 08:16:14 +00:00
Jasmine Cha
b2f8abb2c2 audio: includes speaker compensation module
Bug: 303570161
Test: build pass / manual test

Change-Id: Ia0c2de8bf967304cf33c85cf6cd2a10ce411c54d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-16 15:13:39 +08:00
Adam Shih
95a9e20876 add relesse team am: 86155644be am: 3caa552409 am: 4e4aab60e7 am: 513d8d8a27 am: 1f5d87ce75
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787714

Change-Id: I8964c3c86c57134ce8df060dd8aa5698db1bd953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 07:54:35 +00:00
Adam Shih
1f5d87ce75 add relesse team am: 86155644be am: 3caa552409 am: 4e4aab60e7 am: 513d8d8a27
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787714

Change-Id: I1cffc53e765a0531109e4c04b72605a1c879973f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 07:22:24 +00:00
Adam Shih
513d8d8a27 add relesse team am: 86155644be am: 3caa552409 am: 4e4aab60e7
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787714

Change-Id: I3849effbee16cdff849c2eda0b32462054e4653a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 06:48:43 +00:00
Adam Shih
4e4aab60e7 add relesse team am: 86155644be am: 3caa552409
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787714

Change-Id: Ie157e9b2367e9d672fbe4ba4c17c7b3e0069bb6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 06:15:44 +00:00
Adam Shih
3caa552409 add relesse team am: 86155644be
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787714

Change-Id: I234dbf540e7febe0b0f8afbbe7e96e7b3093f594
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 05:41:15 +00:00
Adam Shih
46ebcab01f Merge " move libdump to dumpstate" into main am: b4e2f27c63 am: d740152953 am: 935e913d3e am: 4819623003 am: e86682565f
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2786040

Change-Id: I76e4a77e07b90d31985ce05fa936398e2cb4e103
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 05:07:18 +00:00
Adam Shih
86155644be add relesse team
Bug: 256065208
Test: create a mk change
Change-Id: I47f0b915159cf2accb7742e234cd54fc94d3b65e
2023-10-13 12:57:36 +08:00
Adam Shih
e86682565f Merge " move libdump to dumpstate" into main am: b4e2f27c63 am: d740152953 am: 935e913d3e am: 4819623003
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2786040

Change-Id: I976b4733815b4e3fca64c8c7bd54e59d7c0e31f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 04:04:06 +00:00
Adam Shih
02aa392124 only gaurd sepolicy and mk files am: 2594d56e24 am: 9a2c313720 am: 38fedb806f am: 6bc6dffb64 am: c97edad269
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787712

Change-Id: Ib1f80286173b8a21c4a8219ef8362ddf253d15f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 03:44:14 +00:00
Adam Shih
4819623003 Merge " move libdump to dumpstate" into main am: b4e2f27c63 am: d740152953 am: 935e913d3e
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2786040

Change-Id: I404b937b18400f0b657117907c152a3a22d5129c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 03:28:58 +00:00
Adam Shih
c97edad269 only gaurd sepolicy and mk files am: 2594d56e24 am: 9a2c313720 am: 38fedb806f am: 6bc6dffb64
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787712

Change-Id: Ieef843041f5fd672d6f306282b41757036d7ead3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 02:56:11 +00:00
Adam Shih
935e913d3e Merge " move libdump to dumpstate" into main am: b4e2f27c63 am: d740152953
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2786040

Change-Id: I6046008a615bceac34ed000d1fcdd6eefe4bf79a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 02:55:30 +00:00
Adam Shih
d740152953 Merge " move libdump to dumpstate" into main am: b4e2f27c63
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2786040

Change-Id: I7196d9b5a47513c7df7eb197b36bcf345e96099c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 02:23:45 +00:00
Adam Shih
6bc6dffb64 only gaurd sepolicy and mk files am: 2594d56e24 am: 9a2c313720 am: 38fedb806f
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2787712

Change-Id: I50e7a92b36636ebdc9867e9843c0af90655e826b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 02:23:03 +00:00
Adam Shih
a4a259a427 [automerger skipped] Set mk owners am: 4843f10b69 am: e18065bc78 am: e9797508c6 am: 186f1f11ed am: f39697cb27 -s ours
am skip reason: Merged-In I0efb8bbce593172f862646b812c944d7b059981c with SHA-1 a5f24b14c7 is already in history

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

Change-Id: I9fa9bdaaa6626abbbc218c17a9e0f9282148ddbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 02:22:22 +00:00
Adam Shih
f39697cb27 Set mk owners am: 4843f10b69 am: e18065bc78 am: e9797508c6 am: 186f1f11ed
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2785047

Change-Id: I94b5013c72fd3d8830becb0d6a7644ecedb61ff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13 01:50:15 +00:00
Adam Shih
b4e2f27c63 Merge " move libdump to dumpstate" into main 2023-10-13 01:47:00 +00:00