/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/ |
D | StylusDeviceUpdaterTest.java | 89 doReturn(mOtherDevice).when(mInputManager).getInputDevice(0); in setUp() 93 doReturn(mStylusDevice).when(mInputManager).getInputDevice(1); in setUp() 114 doReturn(null).when(mInputManager).getInputDevice(0); in onInputDeviceAdded_null_doesNothing() 117 verify(mInputManager).getInputDevice(0); in onInputDeviceAdded_null_doesNothing() 139 doReturn(null).when(mInputManager).getInputDevice(0); in onInputDeviceChanged_null_doesNothing() 142 verify(mInputManager).getInputDevice(0); in onInputDeviceChanged_null_doesNothing() 260 doReturn(stylusDevice).when(mInputManager).getInputDevice(1); in detectsConnectedBluetoothStylus() 270 doReturn(stylusDevice).when(mInputManager).getInputDevice(1); in detectsDisconnectedBluetoothStylus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | GameControllerPreferenceControllerTest.java | 80 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable() 90 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled() 100 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice); in getAvailabilityStatus_hasNoPhysicalDevice_shouldReturnDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragmentTest.java | 138 doReturn(inputDevice).when(fragment).getInputDevice(any()); in verifyOnAttachResult_flagEnabledAndInputDeviceSet_returnsInputDevice() 156 doReturn(inputDevice).when(fragment).getInputDevice(any()); in verifyOnAttachResult_flagDisabled_returnsNullInputDevice() 182 doReturn(inputDevice).when(mFragment).getInputDevice(mContext); in getTitle_inputDeviceTitle() 195 doReturn(null).when(mFragment).getInputDevice(mContext); in getTitle_inputDeviceNull_doesNotSetTitle() 263 doReturn(device).when(mInputManager).getInputDevice(0); in createInputDeviceWithMatchingBluetoothAddress()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/ |
D | StylusDeviceUpdater.java | 102 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in onInputDeviceAdded() 126 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in onInputDeviceChanged() 195 InputDevice device = mInputManager.getInputDevice(deviceId); in hasConnectedBluetoothStylusDevice()
|
D | StylusUsiDetailsFragment.java | 49 mInputDevice = im.getInputDevice(inputDeviceId); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutPickerController.java | 71 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart() 75 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
|
D | NewKeyboardLayoutEnabledLocalesFragment.java | 121 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onActivityCreated() 135 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onStart() 158 if (NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in updateCheckedState()
|
D | NewKeyboardLayoutPickerController.java | 96 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart() 100 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
|
D | KeyboardLayoutPickerFragment.java | 49 if (NewKeyboardSettingsUtils.getInputDevice(im, inputDeviceIdentifier) == null) { in onAttach()
|
D | NewKeyboardLayoutPickerContent.java | 53 || NewKeyboardSettingsUtils.getInputDevice(im, identifier) == null) { in onAttach()
|
D | GameControllerPreferenceController.java | 73 InputDevice device = mIm.getInputDevice(deviceId); in getAvailabilityStatus()
|
D | NewKeyboardSettingsUtils.java | 146 static InputDevice getInputDevice(InputManager im, InputDeviceIdentifier identifier) { in getInputDevice() method in NewKeyboardSettingsUtils
|
D | KeyboardLayoutDialogFragment.java | 311 if (mInputDeviceIdentifier == null || NewKeyboardSettingsUtils.getInputDevice( in loadInBackground()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 175 InputDevice getInputDevice(Context context) { in getInputDevice() method in BluetoothDeviceDetailsFragment 182 return im.getInputDevice(deviceId); in getInputDevice() 206 mInputDevice = getInputDevice(context); in onAttach()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | ConnectedDeviceGroupControllerTest.java | 268 when(mInputManager.getInputDevice(0)).thenReturn(new InputDevice.Builder().setSources( in getAvailabilityStatus_noUsiStylusFeature_returnUnSupported() 284 when(mInputManager.getInputDevice(0)).thenReturn(new InputDevice.Builder().setSources( in getAvailabilityStatus_haveUsiStylusFeature_returnSupported()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | ConnectedDeviceGroupController.java | 229 InputDevice device = mInputManager.getInputDevice(deviceId); in hasUsiStylusFeature()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 185 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TouchInteractionService.java | 512 InputDevice inputDevice = mInputManager.getInputDevice(deviceId);
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 1608 InputDevice device = inputManager.getInputDevice(inputDeviceId);
|