Home
last modified time | relevance | path

Searched refs:getVibrator (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DVibratorManagerTest.java88 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()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorTest.java88 private Vibrator getVibrator(int vid, int pid) { in getVibrator() method in InputDeviceVibratorTest
92 Vibrator vibrator = inputDevice.getVibrator(); in getVibrator()
116 mVibrator = getVibrator(mParser.readVendorId(resourceId), in setup()
DInputDeviceVibratorManagerTest.java216 final Vibrator vibrator = mVibratorManager.getVibrator(ids[i]); in testGetVibrators()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java163 private Vibrator getVibrator() { in getVibrator() method in InputHidTestCase
164 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()