Searched refs:getVibrator (Results 1 – 4 of 4) sorted by relevance
88 mVibratorManager.getVibrator(vibratorId).addVibratorStateListener(listener); in setUp()158 Vibrator vibrator = mVibratorManager.getVibrator(vibratorId); in testVibrateSingleVibrator()167 assertFalse(mVibratorManager.getVibrator(otherVibratorId).isVibrating()); in testVibrateSingleVibrator()186 Vibrator vibrator = mVibratorManager.getVibrator(missingId); in testGetNonExistentVibratorId()202 Vibrator vibrator = mVibratorManager.getVibrator(vibratorId); in testVibrator()
88 private Vibrator getVibrator(int vid, int pid) { in getVibrator() method in InputDeviceVibratorTest92 Vibrator vibrator = inputDevice.getVibrator(); in getVibrator()116 mVibrator = getVibrator(mParser.readVendorId(resourceId), in setup()
216 final Vibrator vibrator = mVibratorManager.getVibrator(ids[i]); in testGetVibrators()
163 private Vibrator getVibrator() { in getVibrator() method in InputHidTestCase164 InputDevice inputDevice = getInputDevice((d) -> d.getVibrator().hasVibrator()); in getVibrator()168 return inputDevice.getVibrator(); in getVibrator()272 final Vibrator vibrator = getVibrator(); in testInputVibratorEvents()349 final Vibrator vibrator = getVibrator(); in testInputVibratorManagerEvents()