Home
last modified time | relevance | path

Searched refs:isAlarm (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java97 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()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java139 if (isAlarm(record)) { in shouldIntercept()
152 if (isAlarm(record)) { in shouldIntercept()
234 protected static boolean isAlarm(NotificationRecord record) { in isAlarm() method in ZenModeFiltering
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java135 doReturn(true).when(mController).isAlarm(mAlarmCondition); in testAlarmChecked()
148 doReturn(false).when(mController).isAlarm(mCountdownCondition); in testCountdownChecked()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java284 public boolean isAlarm() { in isAlarm() method in VibratorService.Vibration
285 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 VibratorService
1622 } else if (isAlarm(usage)) { in onExternalVibrationStart()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java124 } else if (isAlarm(tag.condition)) { in createDialog()
237 if (isAlarm(c)) { in bindConditions()
268 protected boolean isAlarm(Condition c) { in isAlarm() method in EnableZenModeDialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java532 if (isAlarm(c)) {
631 private static boolean isAlarm(Condition c) { in isAlarm() method in ZenModePanel
824 } else if ((isAlarm(condition) || isCountdown(condition)) && mBucketIndex != -1) { in select()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3171 private boolean isAlarm(int streamType) { in isAlarm() method in AudioService
3976 return muteAlarms && isAlarm(streamType) in shouldZenMuteStream()