Searched refs:isAlarm (Results 1 – 7 of 7) sorted by relevance
97 assertTrue(mZenModeFiltering.isAlarm(r)); in testIsAlarm()101 assertTrue(mZenModeFiltering.isAlarm(r)); in testIsAlarm()108 assertFalse(mZenModeFiltering.isAlarm(r)); in testIsAlarm_wrongCategory()118 assertFalse(mZenModeFiltering.isAlarm(r)); in testIsAlarm_wrongUsage()
139 if (isAlarm(record)) { in shouldIntercept()152 if (isAlarm(record)) { in shouldIntercept()234 protected static boolean isAlarm(NotificationRecord record) { in isAlarm() method in ZenModeFiltering
135 doReturn(true).when(mController).isAlarm(mAlarmCondition); in testAlarmChecked()148 doReturn(false).when(mController).isAlarm(mCountdownCondition); in testCountdownChecked()
284 public boolean isAlarm() { in isAlarm() method in VibratorService.Vibration285 return VibratorService.this.isAlarm(attrs.getUsage()); in isAlarm()690 && !vib.isNotification() && !vib.isRingtone() && !vib.isAlarm()) { in vibrate()726 } else if (vib.isAlarm()) { in addToPreviousVibrationsLocked()872 } else if (vib.isAlarm()) { in getCurrentIntensityLocked()898 } else if (vib.isAlarm()) { in applyVibrationIntensityScalingLocked()1302 private static boolean isAlarm(int usageHint) { in isAlarm() method in VibratorService1622 } else if (isAlarm(usage)) { in onExternalVibrationStart()
124 } else if (isAlarm(tag.condition)) { in createDialog()237 if (isAlarm(c)) { in bindConditions()268 protected boolean isAlarm(Condition c) { in isAlarm() method in EnableZenModeDialog
532 if (isAlarm(c)) {631 private static boolean isAlarm(Condition c) { in isAlarm() method in ZenModePanel824 } else if ((isAlarm(condition) || isCountdown(condition)) && mBucketIndex != -1) { in select()
3171 private boolean isAlarm(int streamType) { in isAlarm() method in AudioService3976 return muteAlarms && isAlarm(streamType) in shouldZenMuteStream()