/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | InputDeviceDelegateTest.java | 145 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceAdded_withDeviceWithoutVibrator_ignoresNewDevice() 150 verify(mIInputManagerMock).getInputDevice(eq(1)); in onInputDeviceAdded_withDeviceWithoutVibrator_ignoresNewDevice() 164 verify(mIInputManagerMock).getInputDevice(eq(1)); in onInputDeviceAdded_withDeviceWithVibrator_addsNewDevice() 183 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceChanged_deviceLosesVibrator_removesDevice() 191 verify(mIInputManagerMock, times(2)).getInputDevice(eq(1)); in onInputDeviceChanged_deviceLosesVibrator_removesDevice() 198 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceChanged_deviceLost_removesDevice() 206 verify(mIInputManagerMock, times(2)).getInputDevice(eq(1)); in onInputDeviceChanged_deviceLost_removesDevice() 213 when(mIInputManagerMock.getInputDevice(eq(1))) in onInputDeviceChanged_deviceAddsVibrator_addsDevice() 221 verify(mIInputManagerMock, times(2)).getInputDevice(eq(1)); in onInputDeviceChanged_deviceAddsVibrator_addsDevice() 228 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn( in onInputDeviceRemoved_removesDevice() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
H A D | KeyboardBacklightControllerTests.kt | 168 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 205 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 230 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 263 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 300 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 352 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 388 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 482 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 511 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) 531 `when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardWithBacklight) [all …]
|
H A D | KeyRemapperTests.kt | 122 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboard) 160 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboard)
|
H A D | KeyboardLayoutManagerTests.kt | 170 Mockito.`when`(iInputManager.getInputDevice(DEVICE_ID)).thenReturn(keyboardDevice) 171 Mockito.`when`(iInputManager.getInputDevice(VENDOR_SPECIFIC_DEVICE_ID)) 173 Mockito.`when`(iInputManager.getInputDevice(ENGLISH_DVORAK_DEVICE_ID)) 175 Mockito.`when`(iInputManager.getInputDevice(ENGLISH_QWERTY_DEVICE_ID))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
H A D | StylusUsiPowerStartable.kt | 47 val device = inputManager.getInputDevice(deviceId) ?: return 75 .mapNotNull { inputManager.getInputDevice(it) }
|
H A D | StylusManager.kt | 110 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: return 135 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: return 346 val device: InputDevice = inputManager.getInputDevice(deviceId) ?: continue
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | InputDeviceDelegate.java | 148 InputDevice device = mInputManager.getInputDevice(deviceId); in updateInputDeviceVibrators() 175 InputDevice device = mInputManager.getInputDevice(deviceId); in updateInputDevice()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | SearchEvent.java | 35 public InputDevice getInputDevice() { in getInputDevice() method in SearchEvent
|
H A D | KeyCharacterMap.java | 359 InputDevice inputDevice = im.getInputDevice(deviceId); in load() 361 inputDevice = im.getInputDevice(VIRTUAL_KEYBOARD); in load()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/input/ |
H A D | InputDeviceLightsManagerTest.java | 87 when(mIInputManagerMock.getInputDevice(eq(DEVICE_ID))).thenReturn( in setUp() 135 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testGetInputDeviceLights() 156 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testControlMultipleLights() 208 InputDevice device = mInputManager.getInputDevice(DEVICE_ID); in testControlPlayerIdLight()
|
H A D | InputDeviceSensorManagerTest.java | 90 when(mIInputManagerMock.getInputDevice(eq(DEVICE_ID))).thenReturn( in setUp() 159 InputDevice device = mInputManager.getInputDevice(deviceId); in getSensorDevice()
|
H A D | InputManagerTest.kt | 92 `when`(iInputManager.getInputDevice(deviceId))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/ |
H A D | StylusUsiPowerStartableTest.kt | 65 whenever(inputManager.getInputDevice(EXTERNAL_DEVICE_ID)).thenReturn(externalDevice) 66 whenever(inputManager.getInputDevice(STYLUS_DEVICE_ID)).thenReturn(stylusDevice)
|
H A D | StylusManagerTest.kt | 113 whenever(inputManager.getInputDevice(OTHER_DEVICE_ID)).thenReturn(otherDevice) 114 whenever(inputManager.getInputDevice(STYLUS_DEVICE_ID)).thenReturn(stylusDevice) 115 whenever(inputManager.getInputDevice(BT_STYLUS_DEVICE_ID)).thenReturn(btStylusDevice)
|
H A D | StylusUsiPowerUiTest.kt | 93 whenever(inputManager.getInputDevice(0)).thenReturn(btStylusDevice)
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | KeyRemapper.java | 98 InputDevice inputDevice = inputManager.getInputDevice(deviceId); in addKeyRemapping() 143 InputDevice inputDevice = inputManager.getInputDevice(deviceId); in onInputDeviceAdded()
|
H A D | KeyboardLayoutManager.java | 185 final InputDevice inputDevice = getInputDevice(deviceId); in onInputDeviceChanged() 581 InputDevice inputDevice = getInputDevice(identifier); in getLayoutDescriptor() 735 final InputDevice device = getInputDevice(deviceId); in handleSwitchKeyboardLayout() 951 getInputDevice(mConfiguredKeyboards.keyAt(i))); in onCurrentImeInfoChanged() 967 InputDevice inputDevice = getInputDevice(identifier); in getKeyboardLayoutForInputDeviceInternal() 1142 final InputDevice device = getInputDevice(mConfiguredKeyboards.keyAt(0)); in showMissingKeyboardLayoutNotification() 1223 final InputDevice inputDevice = getInputDevice(mConfiguredKeyboards.keyAt(0)); in showConfiguredKeyboardLayoutNotification() 1313 private InputDevice getInputDevice(int deviceId) { in getInputDevice() method in KeyboardLayoutManager 1315 return inputManager != null ? inputManager.getInputDevice(deviceId) : null; in getInputDevice() 1319 private InputDevice getInputDevice(InputDeviceIdentifier identifier) { in getInputDevice() method in KeyboardLayoutManager
|
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/ |
H A D | KeyboardRepository.kt | 145 val device = inputManager.getInputDevice(deviceId) ?: return null 159 val device = inputManager.getInputDevice(deviceId) ?: return false
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/ |
H A D | InputManager.kt | 41 inputDeviceIds.asSequence().mapNotNull { getInputDevice(it) }
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
H A D | InputManagerMockHelper.java | 74 .when(mIInputManagerMock).getInputDevice(anyInt()); in InputManagerMockHelper()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerGlobal.java | 175 public InputDevice getInputDevice(int id) { in getInputDevice() method in InputManagerGlobal 187 inputDevice = mIm.getInputDevice(id); in getInputDevice() 436 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor() 466 final InputDevice device = getInputDevice(mInputDevices.keyAt(i)); in getHostUsiVersion()
|
H A D | InputManager.java | 289 public InputDevice getInputDevice(int id) { in getInputDevice() method in InputManager 290 return mGlobal.getInputDevice(id); in getInputDevice()
|
H A D | IInputManager.aidl | 51 InputDevice getInputDevice(int deviceId); in getInputDevice() method
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcuts.java | 368 mBackupKeyCharacterMap = inputManager.getInputDevice(-1).getKeyCharacterMap(); in retrieveKeyCharacterMap() 370 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap() 378 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap()
|