Cheney Ni
89968fbffb
Bluetooth: correct logbuffer_btpower owner to Bluetooth am: a150e72f05
am: 98cf42c3aa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19321385
Change-Id: Ia88db0f89ea62a2254b2cb6f2d5b6a013852cc09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 03:30:27 +00:00
Cheney Ni
a150e72f05
Bluetooth: correct logbuffer_btpower owner to Bluetooth
...
Bug: 229691092
Test: Pass file permission check
Change-Id: I62c0c32124859db36b530a861bcc554d9a9d6c33
2022-07-20 19:05:20 +00:00
Jenny Ho
55d7c9174a
fix avc error for fg_model/registers
...
type=1400 audit(1656889974.500:4): avc: denied { setattr } for comm="init" name="fg_model" dev="debugfs" ino=32089 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=0
type=1400 audit(1656889974.500:5): avc: denied { setattr } for comm="init" name="registers" dev="debugfs" ino=32095 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=0
Bug: 226271913
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I376aeb1af4f6d0ba026c34a6ee7642a0a53e6320
2022-07-07 02:57:33 +00:00
Jenny Ho
e3a70263b6
init.rc: add permission to dump battery debugging data
...
Bug: 205259954
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6d71cc6fb11e1881d78a81f36162e3d9493654bd
2022-06-21 06:33:43 +00:00
Ted Lin
805826c2cc
fix the avc denied for maxfg/registers
...
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:28): avc: denied { search } for name="maxfg" dev="debugfs" ino=31872 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:29): avc: denied { read } for name="registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:30): avc: denied { open } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:31): avc: denied { getattr } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
Bug: 208909060
Test: adb bugreport
Change-Id: I72a6b72e568fe109350edd2a0a91747251e6fba4
Signed-off-by: Ted Lin <tedlin@google.com>
2022-02-17 09:04:23 +00:00
jonerlin
7d12f0defa
bluetooth: correct btuart logger device node path
...
* modify dev/logbuffer_tty16 to dev/logbuffer_tty18
Bug: 213759828
Test: 1. Enable Bluetooth in P22 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
2. Enable Bluetooth in P21 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
3. Fake bthal ssrdump and check the coredump log.
Change-Id: I208fae8e5ddf60d7df52311c32249bf3ac401dbc
2022-01-17 09:06:28 +00:00
Peter Csaszar
71a2c8287a
init.debug.rc: Change owner/group of SJTAG files
...
On userdebug & eng builds, change the owner/group of SJTAG sysfs files
that need to be written to 'system', so that BetterBug is able to write
these files.
Bug: 204381544
Test: Ensure that the writable files in the following directories have
'system' as their owner & group:
/sys/devices/platform/sjtag_ap/interface/
/sys/devices/platform/sjtag_gsa/interface/
Signed-off-by: Peter Csaszar <pcsaszar@google.com>
Change-Id: I1fd61f702960a266bc8a2f84d1a1358ccefe3c9c
2021-10-28 16:02:13 +00:00
Aaron Ding
bb4beafe47
Create gs201 device folder baseline
...
clone from gs101 sha 9d1c97c2
Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00