/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | InputDeviceDelegateTest.java | 116 verify(mIInputManagerMock, never()).getInputDevice(anyInt()); in beforeSystemReady_ignoresAnyUpdate() 126 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice() 130 verify(mIInputManagerMock, never()).getInputDevice(anyInt()); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice() 140 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceAdded_withDeviceWithoutVibrator_ignoresNewDevice() 145 verify(mIInputManagerMock).getInputDevice(eq(1)); in onInputDeviceAdded_withDeviceWithoutVibrator_ignoresNewDevice() 155 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceAdded_withDeviceWithVibrator_addsNewDevice() 159 verify(mIInputManagerMock).getInputDevice(eq(1)); in onInputDeviceAdded_withDeviceWithVibrator_addsNewDevice() 166 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceChanged_withSettingsDisabled_ignoresDevice() 171 verify(mIInputManagerMock, never()).getInputDevice(anyInt()); in onInputDeviceChanged_withSettingsDisabled_ignoresDevice() 178 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceChanged_deviceLosesVibrator_removesDevice() [all …]
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | KeyboardBacklightControllerTests.kt | 171 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 189 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithoutBacklight) in createKeyboard() 208 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 233 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 266 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 303 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 355 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 391 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 485 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() 514 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) in createKeyboard() [all …]
|
D | KeyRemapperTests.kt | 125 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboard) in createKeyboard() 163 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboard) in createKeyboard()
|
D | KeyboardLayoutManagerTests.kt | 201 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardDevice) in createKeyboard() 202 Mockito.`when`(iInputManager.getInputDevice(VENDOR_SPECIFIC_DEVICE_ID)) in createKeyboard() 204 Mockito.`when`(iInputManager.getInputDevice(ENGLISH_DVORAK_DEVICE_ID)) in createKeyboard() 206 Mockito.`when`(iInputManager.getInputDevice(ENGLISH_QWERTY_DEVICE_ID)) in createKeyboard()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusUsiPowerStartable.kt | 47 val device = inputManager.getInputDevice(deviceId) ?: return in onStylusAdded() 75 .mapNotNull { inputManager.getInputDevice(it) } in hostDeviceSupportsStylusInput()
|
D | StylusManager.kt | 110 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: return in <lambda>() 135 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: return in <lambda>() 346 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: continue in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | InputDeviceDelegate.java | 148 InputDevice device = mInputManager.getInputDevice(deviceId); in updateInputDeviceVibrators() 175 InputDevice device = mInputManager.getInputDevice(deviceId); in updateInputDevice()
|
/frameworks/base/core/java/android/view/ |
D | SearchEvent.java | 35 public InputDevice getInputDevice() { in getInputDevice() method in SearchEvent
|
D | KeyCharacterMap.java | 364 InputDevice inputDevice = im.getInputDevice(deviceId); in load() 366 inputDevice = im.getInputDevice(VIRTUAL_KEYBOARD); in load()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | InputDeviceLightsManagerTest.java | 89 when(mIInputManagerMock.getInputDevice(eq(DEVICE_ID))).thenReturn( in setUp() 139 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testGetInputDeviceLights() 160 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testControlMultipleLights() 212 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testControlPlayerIdLight()
|
D | InputDeviceSensorManagerTest.java | 92 when(mIInputManagerMock.getInputDevice(eq(DEVICE_ID))).thenReturn( in setUp() 163 InputDevice device = mInputManager.getInputDevice(deviceId); in getSensorDevice()
|
D | InputManagerTest.kt | 95 `when`(iInputManager.getInputDevice(deviceId)) in notifyDeviceChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/ |
D | StylusUsiPowerStartableTest.kt | 65 whenever(inputManager.getInputDevice(EXTERNAL_DEVICE_ID)).thenReturn(externalDevice) in setUp() 66 whenever(inputManager.getInputDevice(STYLUS_DEVICE_ID)).thenReturn(stylusDevice) in setUp()
|
D | StylusManagerTest.kt | 113 whenever(inputManager.getInputDevice(OTHER_DEVICE_ID)).thenReturn(otherDevice) in <lambda>() 114 whenever(inputManager.getInputDevice(STYLUS_DEVICE_ID)).thenReturn(stylusDevice) in <lambda>() 115 whenever(inputManager.getInputDevice(BT_STYLUS_DEVICE_ID)).thenReturn(btStylusDevice) in <lambda>()
|
D | StylusUsiPowerUiTest.kt | 93 whenever(inputManager.getInputDevice(0)).thenReturn(btStylusDevice) in setUp()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyRemapper.java | 98 InputDevice inputDevice = inputManager.getInputDevice(deviceId); in addKeyRemapping() 143 InputDevice inputDevice = inputManager.getInputDevice(deviceId); in onInputDeviceAdded()
|
D | KeyboardLayoutManager.java | 194 final InputDevice inputDevice = getInputDevice(deviceId); in onInputDeviceChangedInternal() 505 InputDevice inputDevice = getInputDevice(identifier); in getKeyboardLayoutForInputDevice() 526 InputDevice inputDevice = getInputDevice(identifier); in setKeyboardLayoutForInputDevice() 554 InputDevice inputDevice = getInputDevice(identifier); in getKeyboardLayoutListForInputDevice() 868 final InputDevice device = getInputDevice(mConfiguredKeyboards.keyAt(0)); in showMissingKeyboardLayoutNotification() 951 final InputDevice inputDevice = getInputDevice(config.getDeviceId()); in showConfiguredKeyboardLayoutNotification() 1038 private InputDevice getInputDevice(int deviceId) { in getInputDevice() method in KeyboardLayoutManager 1040 return inputManager != null ? inputManager.getInputDevice(deviceId) : null; in getInputDevice() 1044 private InputDevice getInputDevice(InputDeviceIdentifier identifier) { in getInputDevice() method in KeyboardLayoutManager
|
D | KeyboardBacklightController.java | 196 InputDevice inputDevice = getInputDevice(deviceId); in updateKeyboardBacklight() 379 InputDevice inputDevice = getInputDevice(deviceId); in onInputDeviceChanged() 397 private InputDevice getInputDevice(int deviceId) { in getInputDevice() method in KeyboardBacklightController 399 return inputManager != null ? inputManager.getInputDevice(deviceId) : null; in getInputDevice()
|
D | KeyboardLedController.java | 148 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in onInputDeviceChanged()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/ |
D | InputManager.kt | 41 inputDeviceIds.asSequence().mapNotNull { getInputDevice(it) } in InputManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepository.kt | 149 val device = inputManager.getInputDevice(deviceId) ?: return null in deviceIdToKeyboard() 163 val device = inputManager.getInputDevice(deviceId) ?: return false in isPhysicalFullKeyboard()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 296 public InputDevice getInputDevice(int id) { in getInputDevice() method in InputManager 297 return mGlobal.getInputDevice(id); in getInputDevice() 313 InputDevice device = getInputDevice(deviceId); in getInputDeviceViewBehavior()
|
D | InputManagerGlobal.java | 194 public InputDevice getInputDevice(int id) { in getInputDevice() method in InputManagerGlobal 206 inputDevice = mIm.getInputDevice(id); in getInputDevice() 452 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor() 482 final InputDevice device = getInputDevice(mInputDevices.keyAt(i)); in getHostUsiVersion()
|
D | IInputManager.aidl | 54 InputDevice getInputDevice(int deviceId); in getInputDevice() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | InputManagerMockHelper.java | 81 .when(mIInputManagerMock).getInputDevice(anyInt()); in InputManagerMockHelper()
|