1820 Commits

Author SHA1 Message Date
Android Build Coastguard Worker
e4589f5ccf Snap for 11130229 from 057e9b0f7418ab9aba1879aa73c8cb5f25e906d3 to 24Q1-release
Change-Id: I92190e813936c04c0db2a2b36788508d04106253
2023-11-22 00:03:27 +00:00
Bryan Lavrich
057e9b0f74 Merge "aoc: add permissions for new sysfs node" into main 2023-11-20 20:22:27 +00:00
Android Build Coastguard Worker
b0e6bce970 Snap for 11117647 from 5464547f2f89a89f4b62e50d8967b1523d083e43 to 24Q1-release
Change-Id: I7e57e817d98ac044ca1786b5e42aa05cc451881e
2023-11-18 02:01:53 +00:00
Will Song
5464547f2f Merge "thermal-hal: Add schema to check thermalHAL JSON files" into main 2023-11-17 18:34:09 +00:00
Alex Iacobucci
9035c70f06 aoc: add permissions for new sysfs node
Resolving the following audit denials:

- [    6.450477] type=1400 audit(1699468821.992:6): avc:  denied
{ read } for comm="aocd" name="notify_timeout_aoc_status"
dev="sysfs" ino=78572 scontext=u:r:aocd:s0
tcontext=u:object_r:sysfs_aoc:s0 tclass=file permissive=0

- type=1107 audit(0.0:9): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied  { set } for
property=persist.vendor.aoc.status_request_timed_out
pid=1035 uid=0 gid=0 scontext=u:r:aocd:s0
tcontext=u:object_r:vendor_default_prop:s0
tclass=property_service permissive=0'
(and get for the same node)

Test: on device
Bug: 309950738
Change-Id: I476624a6d95667d47ada765d6fe392eecc615256
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-11-17 16:17:29 +00:00
Android Build Coastguard Worker
b9ef3fddd1 Snap for 11111096 from e303e26ed6c8d11daeb3369919b9f15edd8f9334 to 24Q1-release
Change-Id: I67a3f3533782df2618c8c2532f9e70d723822549
2023-11-17 00:01:53 +00:00
Will Song
24a0f58c33 thermal-hal: Add schema to check thermalHAL JSON files
Added a schema in proto to check fields of the JSON files
during pre-submit.

Test: Build
Bug: 127794899
Change-Id: I9e6cf116746f357d1de1b578f494a2b8f485e640
2023-11-16 15:52:21 -08:00
Treehugger Robot
8e59c859bf Merge "Check dev-keystore to sign widevine apex" into main 2023-11-16 21:29:03 +00:00
YiKai Peng
e303e26ed6 Merge "WLC: update AIDL manifest version to 1-2" into main 2023-11-16 08:24:42 +00:00
YiKai Peng
4623d1eea4 WLC: update AIDL manifest version to 1-2
Bug: 310109332
Test: Build/Flash
Change-Id: I28a7d8e9461b8b31ae139dff84574f05fb484402
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-11-16 06:52:31 +00:00
Kiyoung Kim
b278f34031 Merge "Move definition for vendor_camera_binder_service into product" into main 2023-11-16 00:42:03 +00:00
Android Build Coastguard Worker
806b6aaee6 Snap for 11104212 from 14b5d03e287a42430ac700119d44c1d084a027c4 to 24Q1-release
Change-Id: I4bb0fe75ab326783b9f0bbbd18370ccd8f916f58
2023-11-16 00:02:39 +00:00
George Lee
9850ffaab4 Merge "bm: Add triggered event thread" into main 2023-11-15 22:20:01 +00:00
Thales Lima
14b5d03e28 Merge "Revert "WLC: update AIDL manifest version to 2"" into main 2023-11-15 14:10:48 +00:00
Thales Lima
e67d010d08 Revert "WLC: update AIDL manifest version to 2"
Revert submission 25370033-wlc_aidl_v2

Reason for revert: /b/311146944

Reverted changes: /q/submissionid:25370033-wlc_aidl_v2

Change-Id: Id4f1bb54aab9c32b350a67fc41b00b6626253461
2023-11-15 11:23:03 +00:00
Kiyoung Kim
acc34fa037 Move definition for vendor_camera_binder_service into product
vendor_camera_binder_service is defined in vendor image, but this
property is required and used from the system image. This causes
Cuttlefish Hybrid Device to fail from sepolicy error. This change is to
move system-required property from vendor to product so it can be used
when vendor image is changed into generic one.

Bug: 309469924
Test: Build and boot succeeded with cheetah
Change-Id: Iea3e5be110498f759e268df8b7e5126b65b06a67
2023-11-15 12:44:31 +09:00
klinesjiang
4bd57dfa27 [SELinux] Add access hal_power_stats policy for gyotaku_app
Bug: 303172531

Test: Local build and tested pass.

Change-Id: Ib3f4e489af0ca0032ed837fbd954805f20516ebe
2023-11-15 02:50:08 +00:00
YiKai Peng
09b9f193ff Merge "WLC: update AIDL manifest version to 2" into main 2023-11-15 02:08:47 +00:00
Kyle Zhang
5cf384c56f Check dev-keystore to sign widevine apex
Bug: 310715038
Change-Id: I16dc21365d8ceb7ad1dd09afe88be91ef7db34ed
2023-11-15 00:25:02 +00:00
Android Build Coastguard Worker
4f5fe230f2 Snap for 11097608 from 172087769300a3704adddb220e0460f128d61adb to 24Q1-release
Change-Id: Ia13ec90d11198111e7b41f81c6b7adf8eb9ac2e7
2023-11-15 00:02:22 +00:00
George Lee
1201db75a1 bm: Add triggered event thread
Add thread to handle triggered event.
Remove pcieModem, Wifi and last_triggered_mode stats.

Bug: 299700579
Test: Flash and boot
Change-Id: I9d4877be71e64ad0ee53bccb705fca8bbc4d5ad8
Signed-off-by: George Lee <geolee@google.com>
2023-11-14 22:00:33 +00:00
YiKai Peng
4a07b936a8 WLC: update AIDL manifest version to 2
Bug: 310109332
Test: Build/Flash
Change-Id: I4f35f82ed10c460dbfe0403e816851031f7536a9
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-11-14 09:53:37 +00:00
Ziyi Cui
1720877693 gs-common: dumpstate: Add RT Runnable stats into bugreport
Bug: 275806676
Test: adb bugreport
Change-Id: I3af3ab622bd926483c17a426fb012e14d47ce579
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-11-13 17:53:18 +00:00
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
Android Build Coastguard Worker
6bac540c02 Snap for 11078623 from f382fb25df1c6ec58f5a1195e12da2442725d495 to 24Q1-release
Change-Id: Ie9b3df5de678d0d7afc249fd8514ff082edf1e10
2023-11-10 00:02:04 +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
Android Build Coastguard Worker
a584da96f2 Snap for 11065517 from d0e028f175eb30b6542296022593465ba0c883d4 to 24Q1-release
Change-Id: I156ac3a5380a8231f8c3aae1741810f36a1c30b6
2023-11-08 00:03:46 +00:00
Treehugger Robot
d0e028f175 Merge "sensors: Move USF related sepolicy to gs-common." into main 2023-11-07 06:49:08 +00:00
Android Build Coastguard Worker
2e7113927a Snap for 11059422 from fc4015ffd836e4e3302fd620182fba1d501de466 to 24Q1-release
Change-Id: I0da4f19066ced8ee221b993d3506172147f3d19f
2023-11-07 02:02:28 +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
Android Build Coastguard Worker
df679ed3cf Snap for 11044623 from 5a0785e0ec74d3763e5afffcd4d99e6ad93b46e8 to 24Q1-release
Change-Id: Ie92468f3e39557a3f978b2f04037f1e929a888df
2023-11-03 01:02:56 +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
Android Build Coastguard Worker
f26e0bac02 Snap for 11031655 from c5d1c7537800870c66e34280b5edce0f1a6d1da5 to 24Q1-release
Change-Id: I511512b3c494cd9e96279868f7a63825255eae3a
2023-11-01 01:02:37 +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
Android Build Coastguard Worker
078e72ab9f Snap for 11025555 from 2227da294171e848219ba4bb6138d0ceb51a968b to 24Q1-release
Change-Id: I8310434ba200858972f07350c2ffb9b0c4f0a891
2023-10-31 01:02:14 +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
Android Build Coastguard Worker
c987628f27 Snap for 11017726 from 4984f37fe01291a1156251f0db068895fea20e14 to 24Q1-release
Change-Id: Ic8494714a714e64744087e6cb132c4e41bfcec8f
2023-10-28 03:11:53 +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