Searched refs:createInputDeviceWithVibrator (Results 1 – 2 of 2) sorted by relevance
126 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice()155 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceAdded_withDeviceWithVibrator_addsNewDevice()166 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in onInputDeviceChanged_withSettingsDisabled_ignoresDevice()179 .thenReturn(createInputDeviceWithVibrator(1), createInputDeviceWithoutVibrator(1)); in onInputDeviceChanged_deviceLosesVibrator_removesDevice()194 .thenReturn(createInputDeviceWithVibrator(1), (InputDevice) null); in onInputDeviceChanged_deviceLost_removesDevice()209 .thenReturn(createInputDeviceWithoutVibrator(1), createInputDeviceWithVibrator(1)); in onInputDeviceChanged_deviceAddsVibrator_addsDevice()226 when(mIInputManagerMock.getInputDevice(eq(2))).thenReturn(createInputDeviceWithVibrator(2)); in onInputDeviceRemoved_removesDevice()239 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in updateInputDeviceVibrators_usesFlagToLoadDeviceList()241 when(mIInputManagerMock.getInputDevice(eq(2))).thenReturn(createInputDeviceWithVibrator(2)); in updateInputDeviceVibrators_usesFlagToLoadDeviceList()274 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in vibrateIfAvailable_withInputDevices_returnsTrueAndVibratesAllDevices()[all …]
1206 when(mIInputManagerMock.getInputDevice(eq(1))).thenReturn(createInputDeviceWithVibrator(1)); in vibrate_withInputDevices_vibratesInputDevices()2612 private InputDevice createInputDeviceWithVibrator(int id) { in createInputDeviceWithVibrator() method in VibratorManagerServiceTest