Home
last modified time | relevance | path

Searched refs:KEYCODE_VOLUME_UP (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DKeyCombinationManagerTests.java24 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()
DCombinationKeyTests.java20 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()
DPowerKeyGestureTests.java19 import static android.view.KeyEvent.KEYCODE_VOLUME_UP;
128 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testIgnoreSinglePressWhenCombinationKeyTriggered()
DShortcutLoggingTests.java129 {"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/
DKeyboardInterceptorTest.java93 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/
DSafetyWarningDialog.java74 if (mDisableOnVolumeUp && keyCode == KeyEvent.KEYCODE_VOLUME_UP in onKeyDown()
83 if (keyCode == KeyEvent.KEYCODE_VOLUME_UP && mNewVolumeUp in onKeyUp()
DCsdWarningDialog.java177 if (keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractorTest.kt59 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/
DPhoneFallbackEventHandler.java89 case KeyEvent.KEYCODE_VOLUME_UP: in onKeyDown()
216 case KeyEvent.KEYCODE_VOLUME_UP: in onKeyUp()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java236 || keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyDown()
246 || keyCode == KeyEvent.KEYCODE_VOLUME_UP) { in onKeyUp()
/frameworks/base/services/core/java/com/android/server/media/
DMediaKeyDispatcher.java75 mOverriddenKeyEvents.put(KeyEvent.KEYCODE_VOLUME_UP, 0); in MediaKeyDispatcher()
DMediaSessionService.java2100 || (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/
DKeyguardKeyEventInteractor.kt53 KeyEvent.KEYCODE_VOLUME_UP -> return dispatchVolumeKeyEvent(event) in dispatchKeyEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDevicePlaybackTest.java1372 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/
DKeyboardInterceptor.java150 if ((keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) || (keyCode == KeyEvent.KEYCODE_VOLUME_UP)) { in getEventDelay()
/frameworks/base/core/java/android/preference/
DVolumePreference.java105 case KeyEvent.KEYCODE_VOLUME_UP: in onKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java200 || keyCode == KeyEvent.KEYCODE_VOLUME_UP in onKeyDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java40 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/
DHdmiCecKeycode.java312 new KeycodeEntry(KeyEvent.KEYCODE_VOLUME_UP, CEC_KEYCODE_VOLUME_UP),
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardMetricsCollector.java260 case KeyEvent.KEYCODE_VOLUME_UP: in getVolumeEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java987 case KeyEvent.KEYCODE_VOLUME_UP: in interceptMediaKey()
994 keyCode == KeyEvent.KEYCODE_VOLUME_UP in interceptMediaKey()
/frameworks/base/core/java/android/widget/
DMediaController.java558 || keyCode == KeyEvent.KEYCODE_VOLUME_UP in dispatchKeyEvent()
DVideoView.java748 keyCode != KeyEvent.KEYCODE_VOLUME_UP && in onKeyDown()
/frameworks/base/core/java/android/view/
DKeyEvent.java160 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/
DNotificationShadeWindowViewControllerTest.kt642 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP) in forwardsInterceptMediaKey()

12