Jayachandran C
cdcd803b5a
Allow radio to access aoc_device for RTP encoding/decoding
...
This CL labels new AoC devices used for RTP processing
This fixes the follow denials
type=1400 audit(0.0:11): avc: denied { write } for name="acd-audio_rtp_tx" dev="tmpfs" ino=1185 scontext=u:r:radio:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
type=1400 audit(0.0:12): avc: denied { read } for name="acd-audio_rtp_rx" dev="tmpfs" ino=1186 scontext=u:r:radio:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
Bug: 259178236
Test: Manually verified on the device with AOC
Change-Id: Iffe0de3a27c89892af7ae280fa39dd28a0052542
2023-02-15 21:33:57 +00:00
feiyuchen
a59d019822
Allow EdgeTpu service to read persist.device_config.edgetpu_native properties
...
Background:
Darwinn Runtime team wants to use a cloud-based infra (Android Core Experiments) to push flags from server to device. The flags will be stored into android properties under the namespace: `persist.device_config.edgetpu_native`, which has a property context called `device_config_edgetpu_native_prop` as added by the other CL: https://android-review.git.corp.google.com/c/platform/system/sepolicy/+/2434232
Change:
Allow EdgeTpu service to read device_config_edgetpu_native_prop
Test: Verified EdgeTpu has access to read the property
Bug: 243553703
Bug: 246401730
Change-Id: I19dca0e2d3008e36bdbca50f610810148a7e11dd
2023-02-15 07:19:07 +00:00
Adam Shih
872e477e9f
create device frequency dump
...
Bug: 240530709
Test: adb bugreport
Change-Id: I8db76f46e9e304b1d861c1d6b8ab031611c25e7e
2023-02-15 11:14:37 +08:00
TreeHugger Robot
adefb37275
Merge "Storage: fix init avc denials"
2023-02-14 22:51:57 +00:00
Randall Huang
4cd9081086
Merge "storage: fix dumpstate avc denials"
2023-02-14 08:35:13 +00:00
TreeHugger Robot
3841463b71
Merge "powerstats: include sleep duration for core down state"
2023-02-14 08:27:10 +00:00
Randall Huang
0d862845c4
Storage: fix init avc denials
...
Bug: 262794360
Test: boot to home
Change-Id: Ic99d1430f7d4a9a449598152f51327ac13d192f1
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 16:25:54 +08:00
Adam Shih
ef4a355523
Merge "create memory dump"
2023-02-14 07:22:11 +00:00
Randall Huang
e9c9e8f03a
storage: fix dumpstate avc denials
...
Bug: 261933169
Test: no avc denial when generating bugreport
Change-Id: Icaa0749bd8ca6121774058fa459fef3ae1400e07
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 07:14:22 +00:00
Adam Shih
0743456f40
Merge "create led dump"
2023-02-14 04:28:34 +00:00
TreeHugger Robot
36c8260f6f
Merge "Storage: fix hal_health_storage_default selinux error"
2023-02-14 04:14:24 +00:00
Adam Shih
2349e899e7
create memory dump
...
Bug: 240530709
Test: adb bugreport
Change-Id: Icdd62b1ff1d7a80d089c795bcf2ec0baa81905a4
2023-02-14 11:24:50 +08:00
Randall Huang
b4750f036e
Merge "storage: fix vold selinux error"
2023-02-14 03:07:06 +00:00
Randall Huang
e20414a2d6
Storage: fix hal_health_storage_default selinux error
...
Bug: 264490032
Test: atest VtsHalHealthStorageTargetTest
Change-Id: I953e9425f890863d2cdd10aed1efbdc1e31845c9
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 02:46:13 +00:00
Randall Huang
4e59f9be6e
storage: fix vold selinux error
...
Bug: 264483567
Test: boot to home
Change-Id: I015cf889fb84d6029aa1eb492949553f3ab528a9
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 00:44:01 +00:00
Doug Zobel
a91df91853
Merge "dumpstate: Collect PCIe link statistics"
2023-02-13 16:15:21 +00:00
Darren Hsu
02b8df5191
powerstats: include sleep duration for core down state
...
Bug: 263276734
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ia9c1ed8c7ca68d03e73da35674ac299d7cf22045
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-02-13 23:05:23 +08:00
Adam Shih
ffee6eff29
create led dump
...
Bug: 240530709
Test: adb bugreport
Change-Id: I115e8bcaac0dd6fd20b63dd2d117d968aaa227bc
2023-02-13 12:48:47 +08:00
Adam Shih
a5ba7efd7b
Merge "add perf dump"
2023-02-13 03:24:47 +00:00
George Lee
b7fd3bef96
Merge "bm: Change OCP reboot reason to match bootloader"
2023-02-13 01:25:51 +00:00
Tim Lin
692cf69ba5
Merge "rename HAL to hardware.google.ril_ext"
2023-02-11 02:33:43 +00:00
George Lee
5b847d1b43
bm: Change OCP reboot reason to match bootloader
...
vendor.brownout_reason did not get triggered as battery_mitigation.rc
looked for reboot,ocp,buck3m and not reboot,ocp,BUCK3M.
Bug: 268700448
Test: Confirm triggering of bugreport
Change-Id: Icf7dd70d1bd050616583af807fc16e8f7680f95d
Signed-off-by: George Lee <geolee@google.com>
2023-02-10 13:21:29 -08:00
Doug Zobel
79061895f2
dumpstate: Collect PCIe link statistics
...
Collect PCIe link statistics in dump_pcie.sh script.
Move SELinux type declaration 'sysfs_pcie' here.
Test: adb bugreport && unzip bugreport*.zip &&
grep link_stats dumpstate_board.txt
Bug: 266561593
Change-Id: Iecf3a5a20892efb6d9cc9f4a5c322aafa76f8e7f
Signed-off-by: Doug Zobel <zobel@google.com>
2023-02-10 09:08:10 -06:00
Adam Shih
6965958295
add perf dump
...
Bug: 240530709
Test: adb bugreport
Change-Id: Ie6b4ceb9dcc9daa199927fde56d720816145f344
2023-02-10 13:30:18 +08:00
George Lee
3cee7a2fca
Merge "bm: Check thermal prior to bootreason check"
2023-02-09 16:58:11 +00:00
timtmlin
d551cbe93a
rename HAL to hardware.google.ril_ext
...
Move HAL AIDL from internal folder to hardware/google/interfaces
Bug: 258184594
Test: make
Change-Id: Ifc387bff98a4744f599f0e6175cec98cb85d83d2
2023-02-09 13:24:35 +00:00
George Lee
868cd2ac91
bm: Check thermal prior to bootreason check
...
vendor.brownout_reason was set because sys.boot.reason still contains
the reason from prior reboot. By enforcing thermal check prior to
bootreason check guarantees the sys.boot.reason will have the most
recent boot reason.
Bug: 268344942
Test: Confirm through artificial triggering of brownout
Change-Id: I69cb459f4c51f7db439d5993330691a7ad1f5dbe
Signed-off-by: George Lee <geolee@google.com>
2023-02-09 04:58:27 +00:00
Pat Tjin
7c7ea154e3
Add more OWNERS
...
Change-Id: I6407344601d260d1a4fefcfe7324ab7928267da1
2023-02-08 22:27:15 +00:00
Darren Hsu
d094ba620f
powerstats: fix buffer underflow issue in CPUPM data provider
...
Bug: 267827563
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I569a20f250c7ca3586f71084918022f04d6693d4
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-02-07 18:09:39 +08:00
Xiang Wang
d865bd3bf9
Merge "Allow battery_mitigation to use Binder IPC"
2023-02-07 03:00:38 +00:00
Xiang Wang
82860bfe63
Allow battery_mitigation to use Binder IPC
...
This is to resolve the following local error when testing with Thermal
AIDL service enabled:
auditd : type=1400 audit(0.0:4): avc: denied { call } for comm="servicemanager" scontext=u:r:servicemanager:s0 tcontext=u:r:battery_mitigation:s0 tclass=binder permissive=0
Bug: b/264595820
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I825ed2b644360e695081fe06489fabf3feb913bd
2023-02-07 02:29:01 +00:00
Ziyi Cui
bf2b0ddddb
Merge "gs-common: Update path reading for temperature residency metrics"
2023-02-07 02:05:42 +00:00
Feiyu Chen
006a366803
Merge "Add android property vendor.edgetpu.tflite_delegate.force_disable_io_coherency"
2023-02-05 00:19:58 +00:00
feiyuchen
1fa64096e9
Add android property vendor.edgetpu.tflite_delegate.force_disable_io_coherency
...
because we need it for DarwinnDelegate to forcelly disable the cache coherency feature for debugging purpose. This sys prop should be readable by all Darwinn Delegate clients, but only modifiable by `adb root`.
Test: Verified that both camera app and camera HAL can read the flag. See pending CL cl/507001854 and android_flag_permission_test.md
Bug: 262420821
Change-Id: I0ae7e02f1d4805956a05afeb92f892cbac6d5213
2023-02-03 23:44:52 +00:00
George Lee
777534e5fa
Merge "logger: Change access right to lastmeal.txt"
2023-02-02 04:40:46 +00:00
George Lee
930ea07e39
logger: Change access right to lastmeal.txt
...
Bugreport cannot access lastmeal.txt due to access right.
Bug: 239709385
Test: confirm lastmeal.txt has system:system
Change-Id: Id207bf86096333710f8e55533fb806ae9f3a66c5
Signed-off-by: George Lee <geolee@google.com>
2023-02-01 17:44:01 +00:00
TreeHugger Robot
a74135a3f3
Merge "bm: remove sysfs_bcl label from odpm"
2023-02-01 17:06:10 +00:00
Sajid Dalvi
63342b37e4
Merge "dumpstate: Add logbuffer support for pcie"
2023-01-31 19:53:26 +00:00
Tim Lin
163ebed2dd
Merge "add configuration for ril extension service"
2023-01-31 13:25:01 +00:00
George Lee
63703f8d5e
bm: remove sysfs_bcl label from odpm
...
Bug: 264929465
Test: Confirm label
u: object_r:sysfs_odpm:s0 i2c-0/0-001f/s2mpg14-meter/s2mpg14-odpm/iio:device1/lpf_power
Change-Id: Ia8a34b83cc0c91d8936c60e475ec926e859cc8b1
Signed-off-by: George Lee <geolee@google.com>
2023-01-27 15:33:37 -08:00
Sajid Dalvi
e79e3b167a
dumpstate: Add logbuffer support for pcie
...
Add logbuffer support to pcie driver to reduce dmesg spam.
Bug: 228870318
Change-Id: I20f3d88c79d92a2b0d64606b430c064dc2ab5e6c
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2023-01-24 18:59:42 -06:00
Ziyi Cui
56fa8128ad
gs-common: Update path reading for temperature residency metrics
...
Bug: 260915419
Test: Verified the existence of atom
adb shell cmd stats print-stats | grep 105045
Change-Id: Ice71b6ac9bf6fa41673f9ff89880b06b92741324
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-01-25 00:00:32 +00:00
Victor Barr
c148039051
Merge "Add support for dba hal in common edgetpu packages"
2023-01-19 21:52:37 +00:00
Alex Hong
094ccc2d84
Merge "Allow vendor_init to set the touch properties"
2023-01-18 11:40:50 +00:00
Victor Barr
810349517a
Add support for dba hal in common edgetpu packages
...
Previously supported in some cases. Now extend it to all common cases
Bug: 263394888
Test: Built and ran DBA Hal on Android Device
Change-Id: I9a5c6a6c8d8b6c23a7d86678ecae57a9f0bcdf7a
2023-01-17 18:04:45 +00:00
timtmlin
3c9d33893c
add configuration for ril extension service
...
Bug: 258184594
Test: make
Change-Id: I4b3683b5154745e1208434f40a78c4a797f53975
2023-01-16 13:13:27 +00:00
Xin Li
4436f9d6c5
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9467136 am: 0725b4c5fd
-s ours am: c71ebeb4bc
-s ours
...
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c010e721ea
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20947041
Change-Id: Ibb77bbb5378cadce13cd2fc884e205182f2f3cae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 21:35:27 +00:00
George Lee
5b8667622b
Merge "selinux: enable lpf_power for sysfs_bcl"
2023-01-13 15:12:07 +00:00
Ken Yang
bb341d3306
Merge "WLC: Add the essential sysfs_wlc policy files"
2023-01-13 14:41:31 +00:00
Alex Hong
1853f664dd
Allow vendor_init to set the touch properties
...
Bug: 211547922
Test: SELinuxUncheckedDenialBootTest
Change-Id: I88f9b05cedb6aff7baf9e350b3512d14c92b53da
2023-01-13 22:10:17 +08:00