/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
H A D | PowerKeyGestureTests.java | 42 sendKey(KEYCODE_POWER); in testPowerSinglePress() 47 sendKey(KEYCODE_POWER); in testPowerSinglePress() 59 sendKey(KEYCODE_POWER); in testPowerSinglePressRequestsDream() 69 sendKey(KEYCODE_POWER); in testAppTransitionFinishedCalledAfterDreamStoppedWillNotLockAgain() 83 sendKey(KEYCODE_POWER); in testPowerDoublePressWillNotLockDevice() 84 sendKey(KEYCODE_POWER); in testPowerDoublePressWillNotLockDevice() 94 sendKey(KEYCODE_POWER); in testPowerDoublePress() 95 sendKey(KEYCODE_POWER); in testPowerDoublePress() 106 sendKey(KEYCODE_POWER, true); in testPowerLongPress() 111 sendKey(KEYCODE_POWER, true); in testPowerLongPress() [all …]
|
H A D | SingleKeyGestureTests.java | 22 import static android.view.KeyEvent.KEYCODE_POWER; 194 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testShortPress() 200 pressKey(KEYCODE_POWER, mLongPressTime); in testLongPress() 214 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress() 215 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress() 221 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress() 222 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress() 223 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress() 292 pressKey(KEYCODE_POWER, mLongPressTime); in testUpdateRule() 312 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testAddRemove() [all …]
|
H A D | KeyCombinationManagerTests.java | 22 import static android.view.KeyEvent.KEYCODE_POWER; 72 KEYCODE_POWER) { in initKeyCombinationRules() 109 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_UP, KEYCODE_POWER) { in initKeyCombinationRules() 163 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule() 169 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP, SCHEDULE_TIME + 50); in testTriggerRule() 192 pressKeys(earlyEventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_Interval() 214 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP); in testNotTrigger_EarlyRelease() 236 KEYCODE_POWER) { in testAddRemove() 249 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testAddRemove() 254 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testAddRemove()
|
H A D | CombinationKeyTests.java | 18 import static android.view.KeyEvent.KEYCODE_POWER; 49 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_DOWN}, in testPowerVolumeDown() 61 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testPowerVolumeUp() 66 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 100); in testPowerVolumeUp()
|
H A D | ShortcutLoggingTests.java | 158 {"POWER key -> Toggle Power", new int[]{KeyEvent.KEYCODE_POWER}, in shortcutTestArguments() 159 KeyboardLogEvent.TOGGLE_POWER, KeyEvent.KEYCODE_POWER, 0}, in shortcutTestArguments()
|
/aosp14/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | KeyCombinationManager.java | 18 import static android.view.KeyEvent.KEYCODE_POWER; 263 if (forAllActiveRules((rule) -> rule.shouldInterceptKey(KEYCODE_POWER))) { in isPowerKeyIntercepted() 265 return mDownTimes.size() > 1 || mDownTimes.get(KEYCODE_POWER) == 0; in isPowerKeyIntercepted()
|
H A D | PhoneWindowManager.java | 40 import static android.view.KeyEvent.KEYCODE_POWER; 986 if (mSingleKeyGestureDetector.isKeyIntercepted(KEYCODE_POWER)) { in interceptPowerKeyDown() 2302 new TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, KEYCODE_POWER) { 2317 new TwoKeysCombinationRule(KEYCODE_POWER, KEYCODE_STEM_PRIMARY) { 2353 new TwoKeysCombinationRule(KEYCODE_VOLUME_UP, KEYCODE_POWER) { 2443 super(KEYCODE_POWER); 4129 if (down && (keyCode == KeyEvent.KEYCODE_POWER 4228 event.getAction(), KeyEvent.KEYCODE_POWER, 4383 case KeyEvent.KEYCODE_POWER: { 4388 mSingleKeyGestureDetector.getKeyPressCounter(KeyEvent.KEYCODE_POWER)); [all …]
|
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/ |
H A D | OpenCameraFromHomeOnDoubleClickPowerButtonTest.kt | 78 device.pressKeyCode(KeyEvent.KEYCODE_POWER) 80 device.pressKeyCode(KeyEvent.KEYCODE_POWER)
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 623 sendKey(KeyEvent.KEYCODE_POWER, 0); 637 this.sendKey(KeyEvent.KEYCODE_POWER, 0);
|
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecKeycode.java | 305 new KeycodeEntry(KeyEvent.KEYCODE_POWER, CEC_KEYCODE_POWER, false),
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 158 public static final int KEYCODE_POWER = 26; field in KeyEvent 2029 case KeyEvent.KEYCODE_POWER: in isSystemKey()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 50971 field public static final int KEYCODE_POWER = 26; // 0x1a
|