diff options
author | Issei Suzuki <issei@google.com> | 2018-12-07 15:09:30 -0800 |
---|---|---|
committer | Chilun Huang <chilunhuang@google.com> | 2019-02-25 11:46:03 +0000 |
commit | 9f840c715eeb5d73f6c385935a7c47a5daad9878 (patch) | |
tree | 6b5116a239ce7f7621ed70a6a2708bb6ef829e2d /rs/java/android/renderscript/ProgramStore.java | |
parent | 4c3ac2ba2653f06bb7151dabca711a01fba2e2b3 (diff) |
Foldables: Add metric and report usage of the device state over Tron
The device reports the display state and focused app as an action.
The events have
category=ACTION_DISPLAY_FOLD
subtype=0(unfolded) or 1(folded)
package name of focused app.
(include ag/5796847)
The device also reports duration in which state the device is used as
an action.
The events have
category=ACTION_DISPLAY_FOLD
subtype=0x80000000(unfolded) or 0x80000001(folded)
duration is stored in latency field.
(include ag/5781648)
Test: manual - check logcat is output when device is folded/unfolded.
adb logcat -b events | \
fgrep --line-buffered 'sysui_multi_action: [757,1594,'
Bug: 117783763
Change-Id: If7ceafca27c28acf4afa72fe6a9702b9caac669e
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions