Searched refs:shouldVibrate (Results 1 – 8 of 8) sorted by relevance
172 when(channel.shouldVibrate()).thenReturn(true); in testUpdateState_vibrateOn()184 when(channel.shouldVibrate()).thenReturn(false); in testUpdateState_vibrateOff()205 assertTrue(channel.shouldVibrate()); in testOnPreferenceChange_on()223 assertFalse(channel.shouldVibrate()); in testOnPreferenceChange_off()
489 boolean shouldVibrate; in isVibratorEnabled()491 shouldVibrate = ringerMode != AudioManager.RINGER_MODE_SILENT; in isVibratorEnabled()493 shouldVibrate = ringerMode == AudioManager.RINGER_MODE_VIBRATE; in isVibratorEnabled()498 if (shouldVibrate) { in isVibratorEnabled()510 return shouldVibrate; in isVibratorEnabled()
60 pref.setChecked(mChannel.shouldVibrate()); in updateState()
62 pref.setChecked(mChannel.shouldVibrate()); in updateState()
77 public boolean shouldVibrate(ContentResolver resolver) { in shouldVibrate() method in DialerRingtoneManager
286 if (BugleNotifications.shouldVibrate(new SecondaryUserNotificationState())) { in postNewMessageSecondaryUserNotification()
318 public static boolean shouldVibrate(final NotificationState state) { in shouldVibrate() method in BugleNotifications664 if (shouldVibrate(state)) { in updateBuilderAudioVibrate()
417 if (dialerRingtoneManager.shouldVibrate(context.getContentResolver())) { in buildAndSendNotification()