/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | KeyCombinationManagerTests.java | 24 import static android.view.KeyEvent.KEYCODE_VOLUME_UP; 86 KEYCODE_VOLUME_UP) { in initKeyCombinationRules() 109 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_UP, KEYCODE_POWER) { in initKeyCombinationRules() 166 pressKeys(eventTime, KEYCODE_VOLUME_UP, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule() 169 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP, SCHEDULE_TIME + 50); in testTriggerRule() 204 pressKeys(eventTime, KEYCODE_VOLUME_UP, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_Condition() 214 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP); in testNotTrigger_EarlyRelease() 225 KEYCODE_VOLUME_UP, 0 /* repeat */, 0 /* metaState */); in testKeyInterceptTimeout() 229 assertTrue(mKeyCombinationManager.getKeyInterceptTimeout(KEYCODE_VOLUME_UP) > eventTime); in testKeyInterceptTimeout()
|
D | CombinationKeyTests.java | 20 import static android.view.KeyEvent.KEYCODE_VOLUME_UP; 67 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testPowerVolumeUp() 72 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 100); in testPowerVolumeUp() 81 sendKeyCombination(new int[]{KEYCODE_VOLUME_DOWN, KEYCODE_VOLUME_UP}, A11Y_KEY_HOLD_MILLIS); in testVolumeDownVolumeUp()
|
D | PowerKeyGestureTests.java | 19 import static android.view.KeyEvent.KEYCODE_VOLUME_UP; 128 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testIgnoreSinglePressWhenCombinationKeyTriggered()
|
D | ShortcutLoggingTests.java | 129 {"VOLUME_UP key -> Increase Volume", new int[]{KeyEvent.KEYCODE_VOLUME_UP}, in shortcutTestArguments() 130 KeyboardLogEvent.VOLUME_UP, KeyEvent.KEYCODE_VOLUME_UP, 0}, in shortcutTestArguments()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 93 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() 103 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() 138 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDelayed_allEventsStillInOrder() 140 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDelayed_allEventsStillInOrder() 168 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDropped_otherEventsStillInOrder() 170 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDropped_otherEventsStillInOrder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 74 if (mDisableOnVolumeUp && keyCode == KeyEvent.KEYCODE_VOLUME_UP in onKeyDown() 83 if (keyCode == KeyEvent.KEYCODE_VOLUME_UP && mNewVolumeUp in onKeyUp()
|
D | CsdWarningDialog.java | 177 if (keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractorTest.kt | 59 KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP) 219 val keyEvent = KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP) in interceptMediaKey_keyguard_SBKVMdoesNotHandle_doesNotHandleMediaKey() 229 val keyEvent = KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP) in interceptMediaKey_keyguard_handleMediaKey() 243 KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP) in interceptMediaKey_shade_doesNotHandleMediaKey()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 89 case KeyEvent.KEYCODE_VOLUME_UP: in onKeyDown() 216 case KeyEvent.KEYCODE_VOLUME_UP: in onKeyUp()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteControllerDialog.java | 236 || keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyDown() 246 || keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyUp()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaKeyDispatcher.java | 75 mOverriddenKeyEvents.put(KeyEvent.KEYCODE_VOLUME_UP, 0); in MediaKeyDispatcher()
|
D | MediaSessionService.java | 2100 || (keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_UP in dispatchVolumeKeyEvent() 2143 case KeyEvent.KEYCODE_VOLUME_UP: in dispatchVolumeKeyEventLocked() 2227 case KeyEvent.KEYCODE_VOLUME_UP: in dispatchVolumeKeyEventToSessionAsSystemService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractor.kt | 53 KeyEvent.KEYCODE_VOLUME_UP -> return dispatchVolumeKeyEvent(event) in dispatchKeyEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlaybackTest.java | 1372 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, true); in sendVolumeKeyEvent_up_volumeEnabled() 1373 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, false); in sendVolumeKeyEvent_up_volumeEnabled() 1435 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, true); in sendVolumeKeyEvent_up_volumeDisabled() 1436 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, false); in sendVolumeKeyEvent_up_volumeDisabled() 1502 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, true); in sendVolumeKeyEvent_toTv_activeSource() 1503 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, false); in sendVolumeKeyEvent_toTv_activeSource() 1523 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, true); in sendVolumeKeyEvent_toAudio_activeSource() 1524 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, false); in sendVolumeKeyEvent_toAudio_activeSource() 1543 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, true); in sendVolumeKeyEvent_toTv_inactiveSource() 1544 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_UP, false); in sendVolumeKeyEvent_toTv_inactiveSource() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 150 if ((keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) || (keyCode == KeyEvent.KEYCODE_VOLUME_UP)) { in getEventDelay()
|
/frameworks/base/core/java/android/preference/ |
D | VolumePreference.java | 105 case KeyEvent.KEYCODE_VOLUME_UP: in onKey()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessDialog.java | 200 || keyCode == KeyEvent.KEYCODE_VOLUME_UP in onKeyDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | VolumeHelperTest.java | 40 import static android.view.KeyEvent.KEYCODE_VOLUME_UP; 320 final KeyEvent keyEvent = new KeyEvent(ACTION_DOWN, KEYCODE_VOLUME_UP); in handleVolumeKey_callsASSetStreamVolumeIndex()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecKeycode.java | 312 new KeycodeEntry(KeyEvent.KEYCODE_VOLUME_UP, CEC_KEYCODE_VOLUME_UP),
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardMetricsCollector.java | 260 case KeyEvent.KEYCODE_VOLUME_UP: in getVolumeEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainerController.java | 987 case KeyEvent.KEYCODE_VOLUME_UP: in interceptMediaKey() 994 keyCode == KeyEvent.KEYCODE_VOLUME_UP in interceptMediaKey()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 558 || keyCode == KeyEvent.KEYCODE_VOLUME_UP in dispatchKeyEvent()
|
D | VideoView.java | 748 keyCode != KeyEvent.KEYCODE_VOLUME_UP && in onKeyDown()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 160 public static final int KEYCODE_VOLUME_UP = 24; field in KeyEvent 2124 case KeyEvent.KEYCODE_VOLUME_UP: in isSystemKey()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewControllerTest.kt | 642 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP) in forwardsInterceptMediaKey()
|