diff options
| author | 2021-08-24 04:32:07 +0000 | |
|---|---|---|
| committer | 2022-08-04 16:50:19 +0800 | |
| commit | 1c70dfaed49cf6e039a83fe7706b3ec78d0b7594 (patch) | |
| tree | 510a885a46f02a722679502460119d8c18b8eb28 /libs/androidfw/ResourceTimer.cpp | |
| parent | 668c34186d232813dcef6332e3298e47b2a6513f (diff) | |
Introduce system shortcut key unit tests
Provide an enviroment that could verify if a key or a combination keys
could be processed properly by the policy and execute the shortcut
behavior.
This includes these tests to for phone device:
CombinationKeyTests - test cases for combination keys
                        - power + volume down
                        - power + volume up
                        - volume down + volume up
PowerKeyGestureTests - test cases for power key gesture
                        - short press
                        - double presses
                        - long press
Bug: 193278327
Test: atest PowerKeyGestureTests CombinationKeyTests
Change-Id: I97424a7acb4a0d02c3bf29343c6fc552da0f7d65
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions