5 Commits

Author SHA1 Message Date
Woody Lin
bc8d470970 Watchdog: Rename properties to follow guidelines
Bug: 141948707
Bug: 178498518
Change-Id: Iefbeae8da80308be148610dc87d20553a290f4c5
2021-01-27 21:57:53 +08:00
Woody Lin
36a6eb1930 Update API of sysprop_library to match current.txt
The current.txt is updated by:
m com.android.sysprop.watchdog-dump-api && \
    rm -rf frameworks/base/core/sysprop/api/com.android.sysprop.watchdog-current.txt && \
    cp -f out/soong/.intermediates/frameworks/base/core/sysprop/com.android.sysprop.watchdog_sysprop_library/api-dump.txt \
    frameworks/base/core/sysprop/api/com.android.sysprop.watchdog-current.txt

Bug: 170935569
Test: m
Change-Id: Ie6d6ff5ed6c3883cb3459b8fb57ca18f4ce28098
Merged-In: Ie6d6ff5ed6c3883cb3459b8fb57ca18f4ce28098
(cherry picked from commit 032f11ee7f810fee991efb6bf5fed3d86b320d4f)
2020-10-15 10:38:48 +00:00
Inseob Kim
419b49ade3 Update sysprop_library API txt
Internal props are no longer stored in the txt file.

Bug: 170693240
Test: m
Change-Id: I698b55d7b22afed71c94ee18fe76f409abc18baa
Merged-In: I698b55d7b22afed71c94ee18fe76f409abc18baa
2020-10-15 10:38:36 +00:00
Woody Lin
c1125934ec Watchdog: break timeout loop via system fatal crash
Request system fatal crash via SysRq when a watchdog timeout loop is
detected. This escapes automatically the device hanging symptom and also
preserves context of system server in memory snapshot.

More details and background: go/break-sys-watchdog-loop

Bug: 141948707
Test: Insert 'sleep_forever()' to block BinderThreadMonitor to reproduce
      watchdog timeout.
Change-Id: I3ae4b33b0d7811764c61663ac3718311b55fd048
2020-10-13 11:15:28 +08:00
Alexander Mishkovets
77f6bc8951 Integrate system language filtering functionality
Filter system languages based on the configuration provided via
the corresponding system property.

Bug: 154133013
Test: manual; atest LocalizationTest
Change-Id: I7e4694f4b381ab81d0e8ceab97bad68bb266aaee
2020-07-29 10:16:24 +02:00