Searched refs:getVibrator (Results 1 – 4 of 4) sorted by relevance
67 val vibrator = getVibrator(context) in start()85 private fun getVibrator(context: Context): Vibrator { in getVibrator() method
64 val vibrator: Vibrator = getVibrator(context) in start()83 private fun getVibrator(context: Context): Vibrator { in getVibrator() method
82 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(true); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable()92 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(false); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled()
74 if (device != null && !device.isVirtual() && device.getVibrator().hasVibrator()) { in getAvailabilityStatus()