Home
last modified time | relevance | path

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

/cts/tests/vibrator/src/android/os/cts/
DVibratorManagerTest.java93 mVibratorManager.getVibrator(vibratorId).addVibratorStateListener(listener); in setUp()
115 if (mVibratorManager.getVibrator(vibratorId).isVibrating()) { in cleanUp()
120 mVibratorManager.getVibrator(vibratorId).removeVibratorStateListener( in cleanUp()
136 Vibrator vibrator = mVibratorManager.getVibrator(missingId); in testGetNonExistentVibratorId()
213 .that(mVibratorManager.getVibrator(vibratorId).isVibrating()).isTrue(); in testCombinedVibrationWaveformRepeats()
268 Vibrator vibrator = mVibratorManager.getVibrator(vibratorId); in testCombinedVibrationTargetingSingleVibrator()
280 .that(mVibratorManager.getVibrator(otherVibratorId).isVibrating()) in testCombinedVibrationTargetingSingleVibrator()
DVibratorTest.java90 Vibrator getVibrator(); in getVibrator() method
117 .getSystemService(VibratorManager.class).getVibrator(vibratorId)); in data()
186 mVibrator = vibratorProvider.getVibrator(); in VibratorTest()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorTest.java92 private Vibrator getVibrator(int vid, int pid) { in getVibrator() method in InputDeviceVibratorTest
96 Vibrator vibrator = inputDevice.getVibrator(); in getVibrator()
116 mVibrator = getVibrator(mUinputDevice.getVendorId(), mUinputDevice.getProductId()); in setup()
DInputDeviceVibratorManagerTest.java223 final Vibrator vibrator = mVibratorManager.getVibrator(ids[i]); in testGetVibrators()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java187 private Vibrator getVibrator() { in getVibrator() method in InputHidTestCase
188 InputDevice inputDevice = getInputDevice((d) -> d.getVibrator().hasVibrator()); in getVibrator()
192 return inputDevice.getVibrator(); in getVibrator()
268 final Vibrator vibrator = getVibrator(); in testInputVibratorEvents()
345 final Vibrator vibrator = getVibrator(); in testInputVibratorManagerEvents()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DHapticsDeviceInfo.java52 collectVibratorInfo(store, ANONYMOUS_GROUP_NAME, manager.getVibrator(id)); in collectDeviceInfo()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34221 method @NonNull public abstract android.os.Vibrator getVibrator(int);
51022 method @Deprecated public android.os.Vibrator getVibrator();