Commit graph

5072 commits

Author SHA1 Message Date
Nicole Lee
728e6baa64 Allows modem_svc to read the logging related properties
avc:  denied  { read } for  comm="modem_svc_sit" name="u:object_r:vendor_logger_prop:s0" dev="tmpfs" ino=387 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:vendor_logger_prop:s0 tclass=file permissive=0

Bug: 316250607
Change-Id: If1942986a0804e24b13c021740f7df8f406e53c2
2024-01-02 08:50:36 +00:00
Kiyoung Kim
0d7dcca863 Remove SELinux error from b/313804706
Remove SELinux error from b/313804706 as the issue is solved now.

Bug: 313804706
Test: No selinux denial error from boot with husky-trunk_staging-userdebug build
Change-Id: I19c7fba663abac4d180b6a144f0aff5d108806f6
2024-01-02 04:30:16 +00:00
Android Build Coastguard Worker
2b4092f977 Snap for 11260009 from ca57c72496 to 24Q2-release
Change-Id: I3150389e560fd459e908cb7189528801b23ad00e
2023-12-29 00:03:50 +00:00
Jasmine Cha
839ddde474 audio: remove denials list for dcservice
Bug: 299553227
Test: boot to home with test build b/299553227#comment8

Change-Id: I9ee23a9aa753d891d233e337908c2091d63f3834
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-28 05:10:34 +00:00
Lei Ju
5a4795ccd7 Merge "[zuma] Update chre sepolicy for socket connection" into main 2023-12-28 03:50:00 +00:00
Treehugger Robot
ca57c72496 Merge "audio: disable audio hal aidl on zuma" into main 2023-12-28 01:48:33 +00:00
Android Build Coastguard Worker
66e216c8bc Snap for 11257657 from bbb322e73a to 24Q2-release
Change-Id: I2e221c50f1052b83ba09663f091da0cce24d7933
2023-12-28 00:03:40 +00:00
Ján Sebechlebský
26b57fcdc6 Merge "Remove bug_map entry for dumpstate <-> virtual_camera" into main 2023-12-27 15:31:07 +00:00
Jan Sebechlebsky
76ea521186 Remove bug_map entry for dumpstate <-> virtual_camera
The denial was fixed in aosp/2852613.

Bug: 312894238
Test: N/A
Change-Id: I3121489729e23afa10904cb97f547e965e0c68f4
2023-12-27 14:04:36 +01:00
Lei Ju
8587126f45 [zuma] Update chre sepolicy for socket connection
With multiclient HAL, the socket server domain changes from chre to
hal_contexthub_default.

Bug: 248615564
Test: updated the sepolicies and observed that avc violation logs
      disappears.
Change-Id: I4b2d27b436c9d81bd0d0cdc5b3c1540884c37fec
2023-12-27 00:02:57 -08:00
timtmlin
404089ca94 Remove obsolete entries
Bug: 315720601
Bug: 315720874
Test: make
Change-Id: I538c76e009c6d29c9d2cac39778decc679446906
2023-12-27 15:23:58 +08:00
Wilson Sung
5b30dbfbb3 Allow SysUI to write protolog file
This is enabled on debuggable builds only, includes
- Grant mlstrustedsubject typeattribute to wm_trace_data_file
- Grant systemui_app the write access to
  wm_trace_data_file

Bug: 251513116
Fix: 288049075
Test: make sepolicy
Change-Id: Ifa5a5281c6e8c7ecedcd601fc8cc58c4be6bdc3b
2023-12-27 11:01:12 +08:00
Roy Luo
bbb322e73a usb: adjust heuristics for flaky connection warning
The state count requirement is very specific to the case where the
signal integrity is the culprit of flaky connection. However,
there could be other cases such as bad receptacles causing data pins
to disconnect randomly.
Remove the state count requirement to cover more cases.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: Ic2ae376ad6062d9930614381503f44e4a5ac760f
(cherry picked from commit 5e14ba01be9acc31d3df0f506b4287eea0bf9583)
2023-12-26 22:26:13 +00:00
Roy Luo
88f3ee90d9 usb: implement heuristics to flag data compliance warnings
Support flagging enum failure and flaky connection in device mode,
flagging enum failure and missing data lines in host mode.
No warning would be flagged until 5 secs after the data session
starts to give ample time for the connection to stabilize, a timer
is added to support it.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: I25f08657e328913946add192b5ecb9ee50c3a1a8
(cherry picked from commit 42020dc4585442bd7ca88f183ba29a18834af197)
2023-12-26 22:25:25 +00:00
Jasmine Cha
2916329aa2 audio: disable audio hal aidl on zuma
Bug: 317444263
Test: boot to home, check basic audio functions

Change-Id: Idc955d7d0cdf2e683e3b8540be8d4810972a0ee2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 03:03:27 +00:00
Android Build Coastguard Worker
c36c555814 Snap for 11251507 from 5d6d7dfebd to 24Q2-release
Change-Id: Ia07a58dab05cbb56f2480031152a5e2a52d747f5
2023-12-23 02:03:35 +00:00
Shiyong Li
569134db41 Merge "display: support primary display preferred mode property" into main 2023-12-22 19:54:46 +00:00
Chi Zhang
f965c0b222 Merge "Allow GRIL to get power stats." into main 2023-12-22 19:29:06 +00:00
Treehugger Robot
5d6d7dfebd Merge "powerstats: expose display MRR state residency data provider" into main 2023-12-22 09:56:08 +00:00
Kadi Narmamatov
09c85a0567 Merge "rfsd: add new property to sepolicy" into main 2023-12-22 09:10:49 +00:00
Android Build Coastguard Worker
5dffd1ecb0 Snap for 11248037 from b416682218 to 24Q2-release
Change-Id: I19932e62d7d78699db5b2794a15a2e213ba2306e
2023-12-22 00:05:54 +00:00
Shiyong Li
d26ab660b8 display: support primary display preferred mode property
Bug: 315895938
Test: check default mode after factory reset
Change-Id: Ia5a4c12537d50faf54ed5ea82d24e52a623c34e3
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-12-21 20:12:45 +00:00
Jaegeuk Kim
b416682218 Merge "Migrate to gs-common/storage/init.storage.rc" into main 2023-12-21 18:45:13 +00:00
Peter Lin
810e5a5a65 [automerger skipped] Update default color temperature for night light am: 859b45c905 am: dea5a998c2 -s ours
am skip reason: Merged-In If106f81c0dd2bd81a48e156e1cc75dba4a885aca with SHA-1 dc330b5e88 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25704537

Change-Id: Icaf771cd1500a31df49dd844132f1f23687d77d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 10:10:43 +00:00
Peter Lin
dea5a998c2 Update default color temperature for night light am: 859b45c905
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25704537

Change-Id: I479e6601de7ff80153e90e84a24f2d55115d3960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 09:39:16 +00:00
Wilson Sung
79ba49730b Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 317316633
Change-Id: I8c1b97d6c65ec06e0a13e1447538f7cebf21d962
2023-12-21 07:37:01 +00:00
Jaegeuk Kim
eddcfba6b3 Migrate to gs-common/storage/init.storage.rc
Bug: 311655524
Change-Id: I084717957a3bdf0bcbdca06502867d8e108ac139
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 10:00:10 -08:00
Darren Hsu
bc01b6ec02 powerstats: expose display MRR state residency data provider
Bug: 317192192
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I1e02ffa0dfcfe61e7c2fa0acb44241b322046b0a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-20 20:21:13 +08:00
kadirpili
5c28db1f6b rfsd: add new property to sepolicy
Bug: 307481296
Change-Id: Icd287f863fd6d309297ce984f4ce387fb5d3ae24
2023-12-20 07:27:32 +00:00
Peter Lin
859b45c905 Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
(cherry picked from commit dc330b5e88)
Merged-In: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
2023-12-20 02:22:37 +00:00
Android Build Coastguard Worker
53dde9d4fc Snap for 11237490 from cdb1fe26f5 to 24Q2-release
Change-Id: I446990f4850f3be256607f2b70c622e6e998180e
2023-12-20 00:06:18 +00:00
Chi Zhang
a2e8969139 Allow GRIL to get power stats.
SELinux : avc:  denied  { find } for pid=3147 uid=10219 name=android.hardware.power.stats.IPowerStats/default scontext=u:r:grilservice_app:s0:c219,c256,c512,c768 tcontext=u:object_r:hal_power_stats_service:s0 tclass=service_manager permissive=1

Bug: 286187143
Test: build and boot
Change-Id: I6df25e78ba8fa8efaa7f51aed8e981ac382dcd29
2023-12-19 12:22:08 -08:00
Wilson Sung
f8f64b668c Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 316991604
Change-Id: Ic90ace8d5b6ac787030f6fd26d96f41677fcca42
2023-12-19 06:27:10 +00:00
Treehugger Robot
cdb1fe26f5 [automerger skipped] Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev am: 5a02468860 am: c033f1441e -s ours
am skip reason: Merged-In I688f2559698c7553a7f585cab2693d09d70731f4 with SHA-1 f08b6e4d84 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25689420

Change-Id: I9727815f1b677fb77c0403c4b0e35bd66dd994fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 04:40:52 +00:00
Treehugger Robot
c033f1441e Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev am: 5a02468860
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25689420

Change-Id: I956589a42f82381d26e03f2b8f7418b603acbfd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 04:10:12 +00:00
Treehugger Robot
5a02468860 Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev 2023-12-19 03:36:54 +00:00
Jenny Ho
ee98f80359 Merge "Adjust bd_state to system for read" into main 2023-12-19 03:24:25 +00:00
Huihong Luo
14017215f7 Merge "Add a sysprop for updating HDCP between HWC and SF" into main 2023-12-19 00:01:22 +00:00
Minchan Kim
245ae84985 zuma: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: I688f2559698c7553a7f585cab2693d09d70731f4
Merged-In: I688f2559698c7553a7f585cab2693d09d70731f4
Signed-off-by: Minchan Kim <minchan@google.com>
2023-12-18 18:27:47 +08:00
Wilson Sung
31c017f325 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 316816737
Bug: 316816642
Change-Id: Ie61999d23158c81e2acb4d23eb106cb6f61f9b88
2023-12-18 03:28:40 +00:00
Android Build Coastguard Worker
b033a20ad4 Snap for 11228795 from e590f05e21 to 24Q2-release
Change-Id: I9d430fb35d65e988d19aee95555249684048b46d
2023-12-16 22:02:57 +00:00
Android Build Coastguard Worker
36d3c1c5b4 Snap for 11227258 from 25a875d403 to 24Q2-release
Change-Id: Ib4a7e3b0be2ecc47381bcccc85e7d449174845ca
2023-12-16 02:02:44 +00:00
Kieran Cyphus
e590f05e21 Merge "logmasklibrary: update version info and freeze api" into main 2023-12-15 22:46:21 +00:00
Jenny Ho
624157e600 Adjust bd_state to system for read
Bug: 316432531
Change-Id: Ib4a398d766bb321d0579819f248d4688be7ad1d1
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-16 02:03:05 +08:00
Snehal Koukuntla
25a875d403 Merge "Add trusty code coverage controller daemon" into main 2023-12-14 05:15:11 +00:00
Treehugger Robot
e1e8933703 Merge "powerstats: change TPU DVFS data source from ACPM to TPU kernel" into main 2023-12-13 07:10:57 +00:00
Treehugger Robot
da04c1d607 Merge "init: make dumpstate able to read display logbuffer" into main 2023-12-13 07:09:39 +00:00
Snehal
e871979054 Add trusty code coverage controller daemon
Bug: 289523068

Change-Id: I473ac38a5f7b1540aea0b4588bc358f6855ff4b3
2023-12-13 06:53:12 +00:00
Ken Lin
425a781cd1 init: make dumpstate able to read display logbuffer
Add logbuffer support for display driver to dump DSI cmd

Bug: 291441544
Test: adb root; adb shell dumpsys
android.hardware.dumpstate.IDumpstateDevice/default dump_display_logbuffer
Change-Id: I74eaa7b3cdd8101909044f173512d41b065a2599
Signed-off-by: Ken Lin <lyenting@google.com>
2023-12-13 06:13:04 +00:00
Imo Richard Umoren
b3e48816fa Twoshay: Add SELinux Permissions for CHRE [Zuma]
Adds connection and write permissions for chre socket to SELinux policy.
Used for the Wallaby nanoapp.

Bug: b/315347346
Bug: b/314721681
Test: Manually tested on SB3 Proto 1.0
Change-Id: I4a01be73d76a577d8da07c36276349525c0fda68
2023-12-12 17:23:35 +00:00