Home
last modified time | relevance | path

Searched refs:shouldVibrate (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVibrationPreferenceControllerTest.java171 when(channel.shouldVibrate()).thenReturn(true); in testUpdateState_vibrateOn()
183 when(channel.shouldVibrate()).thenReturn(false); in testUpdateState_vibrateOff()
204 assertTrue(channel.shouldVibrate()); in testOnPreferenceChange_on()
222 assertFalse(channel.shouldVibrate()); in testOnPreferenceChange_off()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java490 boolean shouldVibrate; in isVibratorEnabled()
492 shouldVibrate = ringerMode != AudioManager.RINGER_MODE_SILENT; in isVibratorEnabled()
494 shouldVibrate = ringerMode == AudioManager.RINGER_MODE_VIBRATE; in isVibratorEnabled()
499 if (shouldVibrate) { in isVibratorEnabled()
511 return shouldVibrate; in isVibratorEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVibrationPreferenceController.java60 pref.setChecked(mChannel.shouldVibrate()); in updateState()
/packages/apps/Settings/src/com/android/settings/notification/
DVibrationPreferenceController.java60 pref.setChecked(mChannel.shouldVibrate()); in updateState()
/packages/apps/Dialer/java/com/android/incallui/ringtone/
DDialerRingtoneManager.java77 public boolean shouldVibrate(ContentResolver resolver) { in shouldVibrate() method in DialerRingtoneManager
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java285 if (BugleNotifications.shouldVibrate(new SecondaryUserNotificationState())) { in postNewMessageSecondaryUserNotification()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java318 public static boolean shouldVibrate(final NotificationState state) { in shouldVibrate() method in BugleNotifications
664 if (shouldVibrate(state)) { in updateBuilderAudioVibrate()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java417 if (dialerRingtoneManager.shouldVibrate(context.getContentResolver())) { in buildAndSendNotification()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1615 if (pattern != null && channel.shouldVibrate()) { in notifyUserIfNecessary()