Home
last modified time | relevance | path

Searched defs:conditionId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java74 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testIsValidConditionId() local
91 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_noAlarmExit_InSchedule() local
115 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local
146 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_noAlarmExit_beforeSchedule() local
169 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_noAlarmExit_endSchedule() local
185 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_alarmSetBeforeInSchedule() local
213 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_alarmSetInSchedule() local
242 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_earlierAlarmSet() local
271 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_laterAlarmSet() local
300 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testEvaluateSubscription_alarmCanceled() local
DZenModeConfigTest.java138 Uri conditionId = ZenModeConfig.toEventConditionId(oldEvent); in testParseOldEvent() local
150 Uri conditionId = ZenModeConfig.toEventConditionId(event); in testParseNewEvent() local
DZenModeHelperTest.java1222 Uri conditionId = ZenModeConfig.toCountdownConditionId(9000000, false); in testCountdownConditionSubscription() local
/frameworks/base/core/java/android/service/notification/
DIConditionProvider.aidl25 void onSubscribe(in Uri conditionId); in onSubscribe()
26 void onUnsubscribe(in Uri conditionId); in onUnsubscribe()
DConditionProviderService.java137 abstract public void onSubscribe(Uri conditionId); in onSubscribe()
143 abstract public void onUnsubscribe(Uri conditionId); in onUnsubscribe()
251 public void onSubscribe(Uri conditionId) { in onSubscribe()
256 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe()
DZenModeConfig.java1133 public static ScheduleCalendar toScheduleCalendar(Uri conditionId) { in toScheduleCalendar()
1292 public static long tryParseCountdownConditionId(Uri conditionId) { in tryParseCountdownConditionId()
1307 public static boolean isValidCountdownConditionId(Uri conditionId) { in isValidCountdownConditionId()
1314 public static boolean isValidCountdownToAlarmConditionId(Uri conditionId) { in isValidCountdownToAlarmConditionId()
1345 public static boolean isValidScheduleConditionId(Uri conditionId) { in isValidScheduleConditionId()
1363 public static boolean isValidScheduleConditionId(Uri conditionId, boolean allowNever) { in isValidScheduleConditionId()
1378 public static ScheduleInfo tryParseScheduleConditionId(Uri conditionId) { in tryParseScheduleConditionId()
1482 public static boolean isValidEventConditionId(Uri conditionId) { in isValidEventConditionId()
1486 public static EventInfo tryParseEventConditionId(Uri conditionId) { in tryParseEventConditionId()
1644 public Uri conditionId; // required for automatic field in ZenModeConfig.ZenRule
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java129 public void onSubscribe(Uri conditionId) { in onSubscribe()
142 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe()
186 Condition evaluateSubscriptionLocked(Uri conditionId, ScheduleCalendar cal, in evaluateSubscriptionLocked()
273 private boolean conditionSnoozed(Uri conditionId) { in conditionSnoozed()
280 void addSnoozed(Uri conditionId) { in addSnoozed()
287 private void removeSnoozed(Uri conditionId) { in removeSnoozed()
DCountdownConditionProvider.java111 public void onSubscribe(Uri conditionId) { in onSubscribe()
142 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe()
150 final Uri conditionId = intent.getParcelableExtra(EXTRA_CONDITION_ID); in onReceive() local
DConditionProviders.java277 public Condition findCondition(ComponentName component, Uri conditionId) { in findCondition()
285 public void ensureRecordExists(ComponentName component, Uri conditionId, in ensureRecordExists()
297 public boolean subscribeIfNecessary(ComponentName component, Uri conditionId) { in subscribeIfNecessary()
310 public void unsubscribeIfNecessary(ComponentName component, Uri conditionId) { in unsubscribeIfNecessary()
DEventConditionProvider.java145 public void onSubscribe(Uri conditionId) { in onSubscribe()
159 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe()
DZenModeHelper.java579 public void setManualZenMode(int zenMode, Uri conditionId, String caller, String reason) { in setManualZenMode()
585 private void setManualZenMode(int zenMode, Uri conditionId, String reason, String caller, in setManualZenMode()
/frameworks/base/core/java/android/app/
DAutomaticZenRule.java42 private Uri conditionId; field in AutomaticZenRule
62 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule()
93 @Nullable ComponentName configurationActivity, @NonNull Uri conditionId, in AutomaticZenRule()
108 Uri conditionId, ZenPolicy policy, int interruptionFilter, boolean enabled, in AutomaticZenRule()
196 public void setConditionId(Uri conditionId) { in setConditionId()
DNotificationManager.java855 public void setZenMode(int mode, Uri conditionId, String reason) { in setZenMode()
DINotificationManager.aidl177 oneway void setZenMode(int mode, in Uri conditionId, String reason); in setZenMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeZenModeController.java33 public void setZen(int zen, Uri conditionId, String reason) { in setZen()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java198 final Uri conditionId = getConditionId(tag.condition); in bind() local
328 boolean enabled, int rowId, Uri conditionId) { in updateUi()
425 final Uri conditionId = getConditionId(tag.condition); in onClickTimeButton() local
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.h32 int64_t conditionId; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeController.java29 void setZen(int zen, Uri conditionId, String reason); in setZen()
DZenModeControllerImpl.java146 public void setZen(int zen, Uri conditionId, String reason) { in setZen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java420 private Condition createCondition(Uri conditionId) { in createCondition()
654 final Uri conditionId = getConditionId(tag.condition); in bind() local
774 final Uri conditionId = getConditionId(tag.condition); in onClickTimeButton() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java185 Uri conditionId = ZenModeConfig.toTimeCondition(mContext, zenDuration, in showDetail() local