Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerKlaxon.kt67 val vibrator = getVibrator(context) in start()
85 private fun getVibrator(context: Context): Vibrator { in getVibrator() method
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.kt64 val vibrator: Vibrator = getVibrator(context) in start()
83 private fun getVibrator(context: Context): Vibrator { in getVibrator() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DGameControllerPreferenceControllerTest.java82 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(true); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable()
92 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(false); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DGameControllerPreferenceController.java74 if (device != null && !device.isVirtual() && device.getVibrator().hasVibrator()) { in getAvailabilityStatus()