Nishok Kumar S
55f48f663c
Connect Gxp runtime to TPU authentication service
...
- Add selinux policies to allow edgetpu_app_service to access gxp
device.
Bug: 316262348
Test: Disable selinux policies for GCA, then verify if GCA is able to
access device through edgetpu app service.
Change-Id: I83429755b1406289c8714d9499c1f14c1ec76a30
2024-01-18 09:41:26 +00:00
Xin Li
ea64488b43
Merge Android 24Q1 Release (ab/11220357)
...
Bug: 319669529
Merged-In: Ia28e1622746cca973ca66f437e0e655bbcaf7d66
Change-Id: I95fbf25b3145ce28767322c094238e0dc115ab15
2024-01-17 22:12:34 -08:00
Lei Ju
a6c741e3a4
Introduce a property for multiclient HAL
...
Test: set the property in .rc file and run adb shell getprop to
verify the property is set.
Bug: 248615564
Change-Id: I18a52c2a29df2cc5bad73d49e39c4e6ee1381106
2024-01-17 18:00:11 -08:00
Android Build Coastguard Worker
074ff06b2a
Snap for 11324029 from e7edc9e446dcc2d54bb6968b1d21a7128c7abe40 to 24Q2-release
...
Change-Id: I737bff809a456df4821c3b3c3170dde060fd22da
2024-01-18 00:02:55 +00:00
Bruce Po
d202a34dbc
Allow aocxd to set thread priority
...
aocxd sets thread scheduler to SCHED_FIFO. This is so audio processing
in aocxd can run without glitching.
vndbinder:11464: type=1400 audit(0.0:17): avc: denied { sys_nice } for capability=23 scontext=u:r:aocxd:s0 tcontext=u:r:aocxd:s0 tclass=capability permissive=0
BUG: 318791959
Change-Id: I9c9148aa7b18ce525091f93956e112b4c178a129
2024-01-17 18:58:06 +00:00
jonerlin
e7edc9e446
collect bt hal dump log in bugreport
...
Bug: 299800496
Test: make fw dump and vendor snoop log and triger bugreport
Change-Id: Ibab330d3a446b9f50b1413348b8004a51ee8fd51
2024-01-17 17:49:21 +00:00
Android Build Coastguard Worker
0caf0bd364
Snap for 11317273 from 21446e0139512a7c69ba8260b5ee3d5f1a7ed2c5 to 24Q2-release
...
Change-Id: Ifa4555215098b193976f19d18567faab68e6e586
2024-01-17 00:11:36 +00:00
Wendly Li
21446e0139
Move wakeup to device's sepolicy settings
...
Bug: 320395939
Test: make sepolicy
Change-Id: I12af839756725bb0cfb2eba363c1e45cd0a6044a
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-16 09:32:47 +00:00
Android Build Coastguard Worker
fb769bcc8f
Snap for 11314147 from 7859a653ea53f99267a32ce73575afb5d896cc27 to 24Q2-release
...
Change-Id: Ica8aec53ad7c747d870ccacb36ec6edfc94ecbcd
2024-01-16 00:02:51 +00:00
Sam Ou
7859a653ea
Merge "bm: Support battery mitigation aidl" into main
2024-01-15 01:23:20 +00:00
Android Build Coastguard Worker
48c64fb600
Snap for 11297328 from b824d770f459d7711386b3158d87ef67a72b5901 to 24Q2-release
...
Change-Id: Ib02dfb7354c90fcfe10896a280535767d4b24f4f
2024-01-11 00:05:22 +00:00
Treehugger Robot
b824d770f4
Merge "Create syna touch dump for spi19" into main
2024-01-10 06:58:37 +00:00
Bruce Po
45f2bdb98b
Merge "selinux: New aocx service" into main
2024-01-10 02:49:52 +00:00
Android Build Coastguard Worker
9279bec2f0
Snap for 11292102 from c075d107cf14e587627a20033e2bae0d76974e74 to 24Q2-release
...
Change-Id: Ia33a5950cafd6ab63a49b391527108c989a08c48
2024-01-10 00:03:12 +00:00
Wendly Li
6954d18625
Create syna touch dump for spi19
...
Bug: 273154761
Test: adb bugreport
Change-Id: I87fd42e550e2aab83c3eb81ba9d4928396db2dde
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-09 09:49:25 +00:00
Anson Lin
c075d107cf
Merge "Remove the diagnosticsTool domain for SeLinux access." into main
2024-01-09 09:22:15 +00:00
samou
e6dce88732
bm: Support battery mitigation aidl
...
- move cc_binary to vendor/google/interfaces/
battery_mitigation
- fix sepolicy to support aidl
Bug: 299700579
Change-Id: I7345ffc1e2ddb46d9979a1fadef39dd0c2c281d6
Signed-off-by: samou <samou@google.com>
2024-01-09 03:35:46 +00:00
George Lee
27017fb06a
bm: Remove thermal dependency (gs-common)
...
Bug: 319136643
Test: Confirm battery_mitigation loaded
Change-Id: I250a1d9c1354bd4d53909d71935af1fc264f936f
Signed-off-by: George Lee <geolee@google.com>
2024-01-08 20:32:21 +00:00
Bruce Po
6b92b30e7b
selinux: New aocx service
...
Add new aocxd server domain
- Allow aocxd to access AOC resources
- Add new aocx binder vendor service
Allow audio hal to find and talk to aocx
avc error tcontext=u:object_r:binder_device:s0 tclass=chr_file or tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file
avc: denied { add } for pid=1073 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:aocx:s0 tclass=service_manager
avc: denied { call } for scontext=u:r:hal_audio_default:s0 tcontext=u:r:aocxd:s0 tclass=binder
BUG: 315853303
Change-Id: Ide16a2be9f032bef60f43d4d3daa6372ae06b057
2024-01-08 17:57:03 +00:00
linanson
a05cd829dd
Remove the diagnosticsTool domain for SeLinux access.
...
Bug: 318308424
Test: Local Rom build and manul test for the diagnosticstool app
Change-Id: Ib0a79fb91a5546922caab64d9ebbb2da103d7b07
2024-01-08 16:33:21 +08:00
Android Build Coastguard Worker
d647c07c83
Snap for 11275524 from 7965989f605a6f951a58cd5806b61cb46b24dc65 to 24Q2-release
...
Change-Id: I23a8d2c26c83bddc03a28f820441848f56c18081
2024-01-05 00:02:42 +00:00
Sam Ou
7965989f60
Merge "bm: create mk for new battery mitigation service" into main
2024-01-04 07:12:42 +00:00
samou
2d5681d516
bm: create mk for new battery mitigation service
...
Bug: 317869347
Change-Id: I09c95781cabc813d482b92e12ade944a32503f52
Signed-off-by: samou <samou@google.com>
2024-01-04 06:04:50 +00:00
Jasmine Cha
0bdf2998a8
audio: move USE_AUDIO_HAL_AIDL to device-<project>.mk
...
Bug: 317745810
Test: manual test b/317745810#comment3
Change-Id: Ie6f1660dcf9d26bd14061ead187e1f3d8848d565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 07:06:25 +00:00
Android Build Coastguard Worker
ab2223e59b
Snap for 11265615 from 39b2931bf1951f177c73cfd7cdd49d7e205210fb to 24Q2-release
...
Change-Id: Icdaf27de8a0f67dc5a4db3fe259a1af7f2a0ac09
2024-01-03 00:03:45 +00:00
Carter Hsu
39b2931bf1
Merge "audio: add hdmi audio sepolicy for AIDL HAL" into main
2024-01-02 01:25:24 +00:00
Carter Hsu
e9c4233f11
audio: add hdmi audio sepolicy for AIDL HAL
...
Bug: 309696512
Test: Verified by test build
Change-Id: I0e1192f228424b80c776445755a93be56c93d1e7
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-02 00:31:06 +00:00
Android Build Coastguard Worker
d7278ddccc
Snap for 11260009 from 29e115e63ed14d02caf3f86b29b1c50cd41f92c9 to 24Q2-release
...
Change-Id: I99c5e15a9bbc0a66d85d5b1ab809f2885c332e4c
2023-12-29 00:02:48 +00:00
Treehugger Robot
29e115e63e
Merge "audio: separate audio hal hidl/aidl by project" into main
2023-12-28 01:48:33 +00:00
Android Build Coastguard Worker
fe788ef432
Snap for 11257657 from 35e5021597de1a3b522d0e019de6baa7abce7c64 to 24Q2-release
...
Change-Id: Ib0b71b9a2ff549f145898919ba536c3bf81fb0f6
2023-12-28 00:02:36 +00:00
Lei Ju
35e5021597
Update common 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: Ic5717cee6d2714bec49814a1b779266de79dc4f3
2023-12-26 23:29:58 -08:00
Jasmine Cha
1e19480c70
audio: separate audio hal hidl/aidl by project
...
Bug: 317444263
Bug: 317733172
Test: boot to home, check basic audio functions
Change-Id: I034b4958b3fc701569988618f5428c07c8d61c15
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-27 11:58:55 +08:00
Android Build Coastguard Worker
d73a389652
Snap for 11255311 from e40fe7223e73c758bb67655f49daadc7db5b659e to 24Q2-release
...
Change-Id: I0e737ba316f67eeb5bba0614fb671c13da754a8c
2023-12-27 00:04:08 +00:00
Treehugger Robot
e40fe7223e
Merge "touch/init: change file owner after sys.boot_completed=1" into main
2023-12-26 07:13:37 +00:00
Yen-Chao Chen
643719c2ac
touch/init: change file owner after sys.boot_completed=1
...
It's possible that the gti sysfs node is not ready when
vendor.device.modules.ready is set so change the gti file owner
at later stage.
Bug: 285327052
Bug: 285247095
Bug: 285323846
Test: trigger bugreport and the dump succeed.
Change-Id: If1921aeb351603b52164c66bc9c7b3651d171287
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2023-12-26 14:31:49 +08:00
Jasmine Cha
b390dd37bc
Merge "audio: add soong config for ims media to read" into main
2023-12-26 06:20:29 +00:00
Jasmine Cha
e5bf86e7cd
audio: add soong config for ims media to read
...
Bug: 291772585
Test: manual test on hidl/aidl
Change-Id: I1bb1bc5963fe28132cb72fe29167b3fa4d384cb7
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 05:07:18 +00:00
Android Build Coastguard Worker
d7c8ae097e
Snap for 11253496 from e3e46d4de94a9732f3beb3128197ed88e1f63467 to 24Q2-release
...
Change-Id: I5d65c439db503caf0063f112d38b12d678731ab9
2023-12-26 00:02:21 +00:00
Darren Hsu
e3e46d4de9
powerstats: sort frequencies in descending order
...
Cpufreq data is sorted in ascending order, but power stats
are sorted in descending order. Reverse sorting to maintain
consistency with other power stats.
Bug: 317429309
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I29a58c02add846eb66a8d6eb247336111363c335
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-25 15:04:50 +08:00
Android Build Coastguard Worker
76edad3ea4
Snap for 11251507 from 375b7e13c890c6a73983f0d6121e033ba482c43f to 24Q2-release
...
Change-Id: Ib3178d25b173e3739ee7bf42bf44b5726f67c36e
2023-12-23 02:02:34 +00:00
Treehugger Robot
375b7e13c8
Merge "powerstats: introduce display MRR state residency data provider" into main
2023-12-22 09:56:08 +00:00
Carter Hsu
350fcd76bc
Merge "Allow hal_audio_default to access DMA and TPU property" into main
2023-12-22 04:58:22 +00:00
Carter Hsu
e23d5c44d0
Allow hal_audio_default to access DMA and TPU property
...
12-19 13:46:27.396000 1041 4222 4222 W gsenet/4949: type=1400 audit(0.0:51): avc: denied { read } for name="u:object_r:vendor_edgetpu_runtime_prop:s0" dev="tmpfs" ino=399 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_edgetpu_runtime_prop:s0 tclass=file permissive=0
12-19 13:46:27.396000 1041 4222 4222 I auditd : type=1400 audit(0.0:52): avc: denied { read } for comm="gsenet/4949" name="system" dev="tmpfs" ino=1217 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:dmabuf_system_heap_device:s0 tclass=chr_file permissive=0
12-19 13:46:27.396000 1041 4222 4222 W gsenet/4949: type=1400 audit(0.0:52): avc: denied { read } for name="system" dev="tmpfs" ino=1217 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:dmabuf_system_heap_device:s0 tclass=chr_file permissive=0
Bug: 317032803
Test: Verified by test build
Change-Id: Ifc2b720615b2ee9b74de163c128962411bbe0d4e
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-22 04:52:47 +00:00
Darren Hsu
40b75d505c
powerstats: introduce display MRR state residency data provider
...
Display team introduces new refresh rate residency in kernel.
Current display data provider is polling data from state sysfs.
To reduce CPU loading and improve efficiency, we should get
rid of polling data provider and create new data provider to
read data from time_in_state sysfs in PowerStatsHAL.
Bug: 316260832
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I4d9886f13207e41f13defd89ea2c19614918a570
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-22 10:08:20 +08:00
Android Build Coastguard Worker
6f911ea788
Snap for 11248037 from d3a9a070205c2e8602b994bb6101a5f40de9a5fa to 24Q2-release
...
Change-Id: I1765002faf470974594f006f8d820024d14207b9
2023-12-22 00:04:42 +00:00
Qais Yousef
bebef42dbd
init.storage.rc: Set rq_affinity to 2
...
When rq_affinity is 1, it will default to servicing the softirq on the
same CPU that has serviced the interrupt.
By setting it to 2, completions are processed by the CPU core that
submitted the I/O.
Bug: 311655524
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I21421f97f069083793fe2e2fa51739dac12eca1d
2023-12-21 19:04:11 +00:00
Jaegeuk Kim
d3a9a07020
Merge "Storage: clean up init.rc for storage" into main
2023-12-21 18:45:13 +00:00
Lei Ju
403baea11f
Update the common sepolicy for file access
...
Bug: 248615564
Test: load sepolicy onto pixel device and verify the output using
audit2allow
Change-Id: I295cefa3637298fba3d266f5f95f83cb7329bd02
2023-12-20 16:36:18 -08:00
Android Build Coastguard Worker
6ab7afcfee
Snap for 11243032 from 79938de33f2d63f57e67dfb654e0645daa981b1d to 24Q2-release
...
Change-Id: I27b64b66c529ee802ccba4700f286e18840012cb
2023-12-21 00:03:16 +00:00
Jaegeuk Kim
911292ecca
Storage: clean up init.rc for storage
...
Bug: 311655524
Change-Id: Ic08d6cd42f90c2c6b697077d63fea6a2454f1cc1
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 11:22:41 -08:00