Watchdogd should be alive to complete shutdown
safely. This also aligns the behavior with previous
watchdogd.
Bug: 267080705
Test: boot
Change-Id: Iad85a0d730d032ae57530e0aa6965e2123488b2f
Signed-off-by: Martin Liu <liumartin@google.com>
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
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>
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>
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
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
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>
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>
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
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>