Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java651 Vibrator vib = context.getSystemService(Vibrator.class); in testVibratorState() local
652 if (vib.hasVibrator()) { in testVibratorState()
653 vib.vibrate(VibrationEffect.createOneShot( in testVibratorState()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4489 Vibrator vib = (Vibrator) mActivity.getSystemService(Context.VIBRATOR_SERVICE); in testHapticFeedback() local
4501 assertPerformHapticFeedbackTrueIfHasVibrator(vib, in testHapticFeedback()
4507 assertPerformHapticFeedbackTrueIfHasVibrator(vib, in testHapticFeedback()
4516 private void assertPerformHapticFeedbackTrueIfHasVibrator(Vibrator vib, boolean result) { in assertPerformHapticFeedbackTrueIfHasVibrator() argument
4517 if (vib.hasVibrator()) { in assertPerformHapticFeedbackTrueIfHasVibrator()