Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java116 assertTrue(mZenModeFiltering.isAlarm(r)); in testIsAlarm()
120 assertTrue(mZenModeFiltering.isAlarm(r)); in testIsAlarm()
127 assertFalse(mZenModeFiltering.isAlarm(r)); in testIsAlarm_wrongCategory()
137 assertFalse(mZenModeFiltering.isAlarm(r)); in testIsAlarm_wrongUsage()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java235 if (isAlarm(usageHint)) { in getDefaultIntensity()
266 } else if (isAlarm(usageHint)) { in getCurrentIntensity()
327 return !mLowPowerMode || isRingtone(usageHint) || isAlarm(usageHint) in shouldVibrateForPowerMode()
353 private static boolean isAlarm(int usageHint) { in isAlarm() method in VibrationSettings
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java140 if (isAlarm(record)) { in shouldIntercept()
153 if (isAlarm(record)) { in shouldIntercept()
251 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/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java125 } else if (isAlarm(tag.condition)) { in createDialog()
238 if (isAlarm(c)) { in bindConditions()
269 protected boolean isAlarm(Condition c) { in isAlarm() method in EnableZenModeDialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java536 if (isAlarm(c)) {
635 private static boolean isAlarm(Condition c) { in isAlarm() method in ZenModePanel
830 } else if ((isAlarm(condition) || isCountdown(condition)) && mBucketIndex != -1) { in select()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4425 private boolean isAlarm(int streamType) { in isAlarm() method in AudioService
5650 return muteAlarms && isAlarm(streamType) in shouldZenMuteStream()
/frameworks/base/services/
Dart-profile11282 PLcom/android/server/audio/AudioService;->isAlarm(I)Z
27690 HPLcom/android/server/notification/ZenModeFiltering;->isAlarm(Lcom/android/server/notification/Noti…
42586 HSPLcom/android/server/vibrator/VibrationSettings;->isAlarm(I)Z