Commit graph

11403 commits

Author SHA1 Message Date
Android Build Coastguard Worker
d74a44c99f Snap for 11373247 from 9f8d681088 to 24Q2-release
Change-Id: I436fc853c2a4d18538b8c32da9de8e10a1aed1b7
2024-01-30 02:02:39 +00:00
Wonsik Kim
811682e50f Add AIDL media.c2 into service_contexts
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: Ifef80e6d12e1b0c9e5d2ce6b33a61b51239683de
2024-01-29 22:43:51 +00:00
Darren Hsu
9f8d681088 powerstats: expose display MRR state residency data provider
Bug: 321848496
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I967210bef1d33d8bc344ea80e6c31f70a3414604
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-29 06:23:49 +00:00
kierancyphus
34f3ee5073 liboemservice_proxy: Remove service defs
`Liboemservice_proxy` was originally included as a part of the build
target for DMD, which meant that the binder aidl declaration had to be
done on all devices that used DMD (all Lassen devices), even if they
didn't use the service. `Liboemservice_proxy` has now been decoupled
from DMD so it only needs to be included on our target devices now. This
CL removes the outdated service definitions.

Test: Build gs101 and ensure it still builds.
Bug: 321867236
Change-Id: Iefd8a4e563c41ffc5221810e3fb042dbe4a3e733
2024-01-29 05:58:40 +00:00
Darren Hsu
7ea71a9c1c sepolicy: allow hal_power_stats to read sysfs_display
avc:  denied  { read } for  name="available_disp_stats"
dev="sysfs" ino=76162 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 321848496
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I869e80af8994408e7eef279b6a5eb59d6d2c406b
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-29 11:49:47 +08:00
Android Build Coastguard Worker
8ffa45e03a Snap for 11367679 from 4f72ae23cc to 24Q2-release
Change-Id: I17567c97848a0c5857051d184b8086f36a4a4653
2024-01-27 02:02:28 +00:00
Robin Peng
d790cec569 Disable stripping vendor_dlkm modules
Need to disable stripping the vendor_dlkm modules to retain the GKI
modules' signature. Fortunately, the kernel build strips the modules for
us.

Bug: 290274601
Bug: 322457552
Change-Id: I4c8ff2196d062dc65a1f707a738f78bc8bfda704
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-01-26 12:56:54 +00:00
Jerry Huang
4f72ae23cc gs101: update c2.android.av1-dav1d.decoder performance point
c2.android.av1-dav1d.decoder performance has been improved with CL
"C2SoftDav1dDec: Fix performance issues in frame parallel multi-threading"
More detail in b/315828433

Bug: 315828433
Test: run cts -m CtsMediaDecoderTestCases -a arm64-v8a -t android.media.decoder.cts.VideoDecoderPerfTest --module-arg CtsMediaDecoderTestCases:instrumentation-arg:codec-prefix:=c2.android.av1-dav1d.decoder
Change-Id: I73a3db45cb58a228ac68408468923101d79322b8
2024-01-25 09:24:24 +00:00
Android Build Coastguard Worker
aeb19868a0 Snap for 11355999 from ad7f854c34 to 24Q2-release
Change-Id: Ic309411c0b0a6915836c6cba19a1b87fad05b4ff
2024-01-25 02:33:19 +00:00
Wilson Sung
3116a34269 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Test: scanBugreport
Bug: 321730881
Bug: 316817111
Test: scanAvcDeniedLogRightAfterReboot
Bug: 316817111
Change-Id: I6f7abbb5402fd991d174a79a81c2d5e6c41c71d8
2024-01-22 17:53:08 +00:00
Spade Lee
ad7f854c34 dumpstate: add SoC residency dump
Bug: 319536756
Change-Id: Ied43b9b5bd13a4b36d73399e4dd2fc389ecaa276
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:52:23 +00:00
Android Build Coastguard Worker
90145cb070 Snap for 11336776 from aa5fcd6d37 to 24Q2-release
Change-Id: Ida14968a6fd541a2ea18f0ebf4ebd9bbe3d1337f
2024-01-20 02:02:53 +00:00
Wayne Lin
aa5fcd6d37 gps: add new certificate
Bug: 319329731
Test: confirm certificate is included
Change-Id: Iafdbb7ad53da68c7f14fa94c1458f56016f70680
2024-01-19 06:36:07 +00:00
Android Build Coastguard Worker
c1bb540d9b Snap for 11330025 from 8133e314e8 to 24Q2-release
Change-Id: I840fbafef692a29ea136694564e5f1500fe5ea1c
2024-01-19 00:02:45 +00:00
Treehugger Robot
59e8449b01 Merge "Correct the path of tcpm wakelock" into main 2024-01-18 10:16:20 +00:00
Xin Li
04ea7c073b Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I29c352696cd9d31168a8eac8c58d23adb484f5d0
Change-Id: Id43ef0c972cab098f056e418cee940b702a1f251
2024-01-17 22:12:35 -08:00
Xin Li
1911f171f7 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Ib110dee4622befb0e4a04ade1c1805e822ce3b2e
Change-Id: Ifb5d71336bd21aa8d8de377bf128758240ce1206
2024-01-17 22:12:35 -08:00
Midas Chien
8133e314e8 display: allow hwcomposer to access allow_wakeup_by_state_change
Bug: 311495944
Test: check permission
Change-Id: Ie7dc6cdbd2290272cbf8bab820739b234d7c0b3f
2024-01-17 07:50:19 +00:00
Kyle Tso
29021574e6 Correct the path of tcpm wakelock
Bug: 315190967
Change-Id: I01f8da9e0467f34cd0229bf9c5370d062ca78130
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-15 15:56:39 +08:00
Android Build Coastguard Worker
9f78cfdcca Snap for 11308440 from cf5d0db6b7 to 24Q2-release
Change-Id: Ifd2666e1e87426a952df42adec76ef5de0c19291
2024-01-13 02:08:04 +00:00
Utku Utkan
cf5d0db6b7 Pregrant ACCESS_FINE_LOCATION as default permission to PCS on G1
Bug: 309676824
Test: m && flashall + pair & connect to remote device Wi-Fi AP
Change-Id: Iefda3dd96019aea2022339d180a702315e8951b8
2024-01-12 16:51:42 +00:00
Mahesh Kallelil
dc869395ad Merge "Fix SELinux error in dump_modem" into main 2024-01-12 06:36:51 +00:00
Mahesh Kallelil
0b113f5208 Set owner as system for logbuffer_cpif
Setting the owner of /dev/logbuffer_cpif as system to allow the
dump_modem script to read the logs as part of bugreport

Test: Tested bugreport on device
Bug: 305600375
Change-Id: I20c1a843edadbc4ed2da51af3e242957b5849d6b
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2024-01-12 06:36:47 +00:00
Android Build Coastguard Worker
5062c4ef7b Snap for 11302939 from 9903962c79 to 24Q2-release
Change-Id: I4169856e6ddcc138ce26329763d604dadca53b09
2024-01-12 01:10:36 +00:00
Devika Krishnadas
9903962c79 Revert^3 "Use graphics allocator 2"
0a894f5d0d

Reverting to comply with the Allocator VTS for 24Q1, do not merge to main.

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I57a9dc98122f312ad98dacbab343d7eb98700cec
2024-01-11 20:58:19 +00:00
Mahesh Kallelil
ea7ccea15c Fix SELinux error in dump_modem
The cpif logbuffer did not have the right context and was
missing as part of the bugreport.

Test: Tested bugreport on device
Bug: 305600375
Change-Id: I2101037d0044e706969f2582e29f923ae029458b
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2024-01-11 09:24:22 -08:00
Android Build Coastguard Worker
64b60867f8 Snap for 11297328 from 291642b702 to 24Q2-release
Change-Id: I793f066e763cd6143c479ff759dfede99b3662c3
2024-01-11 00:05:19 +00:00
Roy Luo
291642b702 usb: dump flag value in the constructor
Dump flag value in the construtor for easier debugging. Feature flags
are not expected to change in runtime, dumping the value once should
be enough.

Bug: 296119135
Test: manual test
Change-Id: Ie5aca2dff23e59704fb306833cde0e592b9f430d
(cherry picked from commit 9164eae7cdee032381d8bf045fbbed33f62b00bf)
2024-01-10 11:47:27 +00:00
Ken Yang
6073bb0ff8 selinux: label wakeup for BMS I2C 0x36, 0x69
Bug: 319035561
Change-Id: Ib339ce27cc89a02825be51f1bf49fe727ac9fb67
Signed-off-by: Ken Yang <yangken@google.com>
2024-01-10 06:13:47 +00:00
Android Build Coastguard Worker
e93d4ca230 Snap for 11292102 from d662abbfbc to 24Q2-release
Change-Id: I94bdc5150b19e4b0d66e567beb0622134ba9bdb0
2024-01-10 00:03:09 +00:00
Wen Chang Liu
4a0a6e1d78 Merge "gs101: move mediacodec_samsung sepolicy to gs-common" into main 2024-01-09 14:49:59 +00:00
wenchangliu
d662abbfbc gs101: uses Codec2 HIDL 1.2 service
- Include mediacodec_samsung setting from gs-common
- Enable Codec2 HIDL 1.2 from BoardConfig and update
manifest hidl version for samsung.hardware.media.c2

Bug: 318793681
Test: run cts -m CtsMediaDecoderTestCases
Test: run cts -m CtsMediaPlayerTestCases
Test: run vts -m vts_treble_vintf_vendor_test
Change-Id: I5679bee76ca0ff7f430797ed261069e0f7fc3937
2024-01-09 14:49:56 +00:00
wenchangliu
da91eed387 gs101: move mediacodec_samsung sepolicy to gs-common
remove mediacodec_samsung sepolicy in legacy path since we will include it from gs-common.

Bug: 318793681
Test: build pass, camera record, youtube
Change-Id: Idc0e19348d1e113e95305279aebbbaf82c79d730
2024-01-05 10:14:32 +00:00
Android Build Coastguard Worker
4af9629e5e Snap for 11261634 from 2bbde5e0ce to 24Q2-release
Change-Id: I2d4e7c32c37768433dafdc8447842ff7e1790c25
2023-12-30 02:02:11 +00:00
Limon Mia
2bbde5e0ce Packed vendor log to bugreport for P21 and B3
Bug: 316071157
Test: enable vendor log and take bugreport
Flag: .
Change-Id: I748d2c2bd260b4fcd71f7bb78fe12e43e903555d
2023-12-29 05:35:43 +00:00
Android Build Coastguard Worker
ead3a8a8d1 Snap for 11257657 from 1376a71a65 to 24Q2-release
Change-Id: Ie04ad07b5a19e9d3f4963f761cebf875c6926f4f
2023-12-28 00:02:33 +00:00
timtmlin
c4181c461d Remove obsolete entries
Bug: 315720636
Bug: 315720725
Test: make
Change-Id: I485bbd472314199106a6f92f08796762cb440952
2023-12-27 15:44:26 +08:00
Roy Luo
1376a71a65 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:33:58 +00:00
Roy Luo
350dc9f41a 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:33:49 +00:00
Wilson Sung
52fc41b1c2 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 317734923
Test: scanBugreport
Bug: 317734418
Bug: 316817111
Test: scanAvcDeniedLogRightAfterReboot
Bug: 317734489
Bug: 316817111
Change-Id: Ibc5c35c327cbb1fb4433c63a9073503037d9c8cf
2023-12-26 03:44:21 +00:00
Android Build Coastguard Worker
aa772172f9 Snap for 11253496 from 39980e78f4 to 24Q2-release
Change-Id: I299164367b0e053cb08a4564e2c3661c7f4d8b4c
2023-12-26 00:02:17 +00:00
Isaac Chiou
39980e78f4 wifi: Enable fast scan
Enable fast scan and set the channel cache number to 10

Bug: 317012208
Test: Manual
Change-Id: I38777051ba14d13e1e83396309b36c84589de618
2023-12-25 04:39:46 +00:00
Chi Zhang
7a00cea0a7 Merge "Allow GRIL to get power stats." into main 2023-12-22 19:29:06 +00:00
Android Build Coastguard Worker
df2ed73f4d Snap for 11248037 from eb637fe036 to 24Q2-release
Change-Id: I21da8d656302a6d8583cc0f3eb0f8232de46d837
2023-12-22 00:04:39 +00:00
Wilson Sung
64e2ac2aa0 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 317316478
Test: scanBugreport
Bug: 316817111
Test: scanAvcDeniedLogRightAfterReboot
Bug: 316817111
Change-Id: I0eaf3217d077d2465a2f4ac3f1e3b15b9236df4f
2023-12-21 07:37:17 +00:00
Jaegeuk Kim
eb637fe036 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:27:15 -08:00
Android Build Coastguard Worker
679b806569 Snap for 11237490 from 7766f6743c to 24Q2-release
Change-Id: I205ec1942f15c9e3a54949f2fd72bd272d3558c1
2023-12-20 00:05:12 +00:00
Chi Zhang
0212befe1e Allow GRIL to get power stats.
AVC log: 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=0

Bug: 286187143
Test: build and boot
Change-Id: Iff51df55ad0011815b764b334801dedc6a6d1cbc
2023-12-19 12:20:20 -08:00
Jenny Ho
7766f6743c Adjust bd_state to system for read
Bug: 316432531
Change-Id: I07aa6aa400acc7db718e0201e61fa6a4f8e4eebb
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-19 03:24:22 +00:00
Android Build Coastguard Worker
7948433901 Snap for 11228795 from 414213dd66 to 24Q2-release
Change-Id: Ib8f1c071a76913fa4e25fe0ec736335fb2d25f76
2023-12-16 22:01:49 +00:00