Home
last modified time | relevance | path

Searched refs:mVibrator (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DVibratorTest.java42 private Vibrator mVibrator; field in VibratorTest
46 mVibrator = InstrumentationRegistry.getContext().getSystemService(Vibrator.class); in setUp()
51 mVibrator.vibrate(1000); in testVibratorCancel()
53 mVibrator.cancel(); in testVibratorCancel()
59 mVibrator.vibrate(pattern, 3); in testVibratePattern()
61 mVibrator.vibrate(pattern, 10); in testVibratePattern()
64 mVibrator.cancel(); in testVibratePattern()
72 mVibrator.vibrate(100); in testVibrateMultiThread()
84 mVibrator.vibrate(1000); in testVibrateMultiThread()
97 mVibrator.vibrate(oneShot); in testVibrateOneShot()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java166 private Vibrator mVibrator = null; field in ItsService
274 mVibrator = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE); in onCreate()
1298 if (mVibrator == null) {
1308 mVibrator.vibrate(pattern, -1);