Home
last modified time | relevance | path

Searched refs:getInputDevice (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DStylusDeviceUpdaterTest.java89 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/
DGameControllerPreferenceControllerTest.java80 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/
DBluetoothDeviceDetailsFragmentTest.java138 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/
DStylusDeviceUpdater.java102 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in onInputDeviceAdded()
126 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in onInputDeviceChanged()
195 InputDevice device = mInputManager.getInputDevice(deviceId); in hasConnectedBluetoothStylusDevice()
DStylusUsiDetailsFragment.java49 mInputDevice = im.getInputDevice(inputDeviceId); in onAttach()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerController.java71 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart()
75 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
DNewKeyboardLayoutEnabledLocalesFragment.java121 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onActivityCreated()
135 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onStart()
158 if (NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in updateCheckedState()
DNewKeyboardLayoutPickerController.java96 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart()
100 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
DKeyboardLayoutPickerFragment.java49 if (NewKeyboardSettingsUtils.getInputDevice(im, inputDeviceIdentifier) == null) { in onAttach()
DNewKeyboardLayoutPickerContent.java53 || NewKeyboardSettingsUtils.getInputDevice(im, identifier) == null) { in onAttach()
DGameControllerPreferenceController.java73 InputDevice device = mIm.getInputDevice(deviceId); in getAvailabilityStatus()
DNewKeyboardSettingsUtils.java146 static InputDevice getInputDevice(InputManager im, InputDeviceIdentifier identifier) { in getInputDevice() method in NewKeyboardSettingsUtils
DKeyboardLayoutDialogFragment.java311 if (mInputDeviceIdentifier == null || NewKeyboardSettingsUtils.getInputDevice( in loadInBackground()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceDetailsFragment.java175 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/
DConnectedDeviceGroupControllerTest.java268 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/
DConnectedDeviceGroupController.java229 InputDevice device = mInputManager.getInputDevice(deviceId); in hasUsiStylusFeature()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java185 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java512 InputDevice inputDevice = mInputManager.getInputDevice(deviceId);
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1608 InputDevice device = inputManager.getInputDevice(inputDeviceId);