Searched refs:vib (Results 1 – 2 of 2) sorted by relevance
651 Vibrator vib = context.getSystemService(Vibrator.class); in testVibratorState() local652 if (vib.hasVibrator()) { in testVibratorState()653 vib.vibrate(VibrationEffect.createOneShot( in testVibratorState()
4489 Vibrator vib = (Vibrator) mActivity.getSystemService(Context.VIBRATOR_SERVICE); in testHapticFeedback() local4501 assertPerformHapticFeedbackTrueIfHasVibrator(vib, in testHapticFeedback()4507 assertPerformHapticFeedbackTrueIfHasVibrator(vib, in testHapticFeedback()4516 private void assertPerformHapticFeedbackTrueIfHasVibrator(Vibrator vib, boolean result) { in assertPerformHapticFeedbackTrueIfHasVibrator() argument4517 if (vib.hasVibrator()) { in assertPerformHapticFeedbackTrueIfHasVibrator()