Searched refs:mInputDeviceDelegate (Results 1 – 2 of 2) sorted by relevance
81 private InputDeviceDelegate mInputDeviceDelegate; field in InputDeviceDelegateTest96 mInputDeviceDelegate = new InputDeviceDelegate( in setUp()98 mInputDeviceDelegate.onSystemReady(); in setUp()128 assertFalse(mInputDeviceDelegate.isAvailable()); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice()132 mInputDeviceDelegate.onInputDeviceAdded(1); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice()134 assertFalse(mInputDeviceDelegate.isAvailable()); in onInputDeviceAdded_withSettingsDisabled_ignoresNewDevice()142 assertFalse(mInputDeviceDelegate.isAvailable()); in onInputDeviceAdded_withDeviceWithoutVibrator_ignoresNewDevice()163 assertTrue(mInputDeviceDelegate.isAvailable()); in onInputDeviceAdded_withDeviceWithVibrator_addsNewDevice()187 assertTrue(mInputDeviceDelegate.isAvailable()); in onInputDeviceChanged_deviceLosesVibrator_removesDevice()202 assertTrue(mInputDeviceDelegate.isAvailable()); in onInputDeviceChanged_deviceLost_removesDevice()[all …]
153 private final InputDeviceDelegate mInputDeviceDelegate; field in VibratorManagerService198 mInputDeviceDelegate = new InputDeviceDelegate(mContext, mHandler); in VibratorManagerService()263 mInputDeviceDelegate.onSystemReady(); in systemReady()619 boolean inputDevicesChanged = mInputDeviceDelegate.updateInputDeviceVibrators( in updateServiceState()679 boolean inputDevicesAvailable = mInputDeviceDelegate.vibrateIfAvailable( in startVibrationLocked()