Commit graph

2552 commits

Author SHA1 Message Date
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
Android Build Coastguard Worker
f4ab352ec1 Snap for 9600182 from a91df91853 to udc-release
Change-Id: Ib0c9a9e55b16547f1099071f486469f0bebf7d97
2023-02-14 02:02:53 +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
Android Build Coastguard Worker
279d292e11 Snap for 9597030 from b7fd3bef96 to udc-release
Change-Id: Id04a41fa44a2ded7184c192be6c9b73ec091fdec
2023-02-13 02:02:38 +00:00
George Lee
b7fd3bef96 Merge "bm: Change OCP reboot reason to match bootloader" 2023-02-13 01:25:51 +00:00
Android Build Coastguard Worker
5ae05934b8 Snap for 9595907 from 692cf69ba5 to udc-release
Change-Id: I57c7862d016c963dbb56aa662930cdceb3b8318a
2023-02-12 02:02:34 +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
Android Build Coastguard Worker
99d80caa2e Snap for 9586404 from 3cee7a2fca to udc-release
Change-Id: I07eb04fde1ee179cae9c777390ac890b886aa6d3
2023-02-10 02:02:54 +00: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
Android Build Coastguard Worker
d925691928 Snap for 9576141 from d094ba620f to udc-release
Change-Id: I1ce4536d73517f8f977bc5728760c485badc330d
2023-02-08 02:02:50 +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
Android Build Coastguard Worker
dcdd439b1d Snap for 9564855 from 006a366803 to udc-release
Change-Id: I14691c7b74290e5c4a7ac00010df4c3c2fcb2155
2023-02-05 02:02:30 +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
Android Build Coastguard Worker
6689e6067e Snap for 9556278 from 777534e5fa to udc-release
Change-Id: Ib4892906a5edd80092d5becb2f6a37931ed76bbf
2023-02-03 02:02:38 +00:00
George Lee
777534e5fa Merge "logger: Change access right to lastmeal.txt" 2023-02-02 04:40:46 +00:00
Android Build Coastguard Worker
28613fc8ca Snap for 9552483 from a74135a3f3 to udc-release
Change-Id: I2252daf81b700b307c50178a554d7209235fd2dc
2023-02-02 02:14:30 +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
Android Build Coastguard Worker
ef1fffc0ca Snap for 9546944 from 63342b37e4 to udc-release
Change-Id: Ide6a66df6fb61f23cd2465cbaa7f490a77ac2329
2023-02-01 02:02:41 +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
Android Build Coastguard Worker
5af90a711c Snap for 9514456 from c148039051 to udc-release
Change-Id: I635bad837c4c97251fb77115681bd8df086a0b48
2023-01-21 04:03:12 +00:00
Victor Barr
c148039051 Merge "Add support for dba hal in common edgetpu packages" 2023-01-19 21:52:37 +00:00
Android Build Coastguard Worker
5afba343d7 Snap for 9505375 from 094ccc2d84 to udc-release
Change-Id: Ic5ee851b2f0f6853357e671943e5cb8060a8f247
2023-01-19 04:02:45 +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
Android Build Coastguard Worker
3a869156f1 Snap for 9491836 from 4436f9d6c5 to udc-release
Change-Id: Ia7079ad66ad7f7feb2798967437339f4166e0307
2023-01-15 02:02:13 +00:00