Home
last modified time | relevance | path

Searched refs:SOURCE_USER_ACTION (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DConditionProvidersTest.java19 import static android.service.notification.Condition.SOURCE_USER_ACTION;
160 new Condition(Uri.parse("a"), "summary", STATE_TRUE, SOURCE_USER_ACTION) in notifyConditions_appCannotUndoUserEnablement()
181 new Condition(Uri.parse("a"), "summary", STATE_TRUE, SOURCE_USER_ACTION) in notifyConditions_appCanTakeoverUserEnablement()
DZenModeConfigTest.java23 import static android.service.notification.Condition.SOURCE_USER_ACTION;
892 config.manualRule.condition = new Condition(Uri.EMPTY, "", STATE_TRUE, SOURCE_USER_ACTION); in testisManualActive_stateTrue()
909 config.manualRule.condition = new Condition(Uri.EMPTY, "", STATE_FALSE, SOURCE_USER_ACTION); in testisManualActive_stateFalse()
DZenModeHelperTest.java55 import static android.service.notification.Condition.SOURCE_USER_ACTION;
3211 new Condition(zenRule.getConditionId(), "", STATE_TRUE, SOURCE_USER_ACTION), in testZenModeEventLog_automaticRuleActivatedFromAppByAppAndUser()
3226 new Condition(zenRule.getConditionId(), "", STATE_FALSE, SOURCE_USER_ACTION), in testZenModeEventLog_automaticRuleActivatedFromAppByAppAndUser()
DNotificationManagerServiceTest.java96 import static android.service.notification.Condition.SOURCE_USER_ACTION;
9955 SOURCE_USER_ACTION); in setAutomaticZenRuleState_conditionFromUser_mappedToOriginUser()
/frameworks/base/core/java/android/service/notification/
DCondition.java100 SOURCE_USER_ACTION,
112 public static final int SOURCE_USER_ACTION = 1; field in Condition
285 if (source == SOURCE_USER_ACTION) return "SOURCE_USER_ACTION"; in sourceToString()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DConditionTest.java176 Condition.STATE_TRUE, Condition.SOURCE_USER_ACTION); in testEquals()
192 Condition.STATE_TRUE, Condition.SOURCE_USER_ACTION); in testParcelConstructor()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java28 import static android.service.notification.Condition.SOURCE_USER_ACTION;
937 if (Flags.modesApi() && condition.source == SOURCE_USER_ACTION) { in setAutomaticZenRuleStateLocked()
1539 origin == UPDATE_ORIGIN_USER ? SOURCE_USER_ACTION : SOURCE_UNKNOWN); in setManualZenMode()
DNotificationManagerService.java5661 boolean fromUser = (condition.source == Condition.SOURCE_USER_ACTION);
/frameworks/base/core/api/
Dcurrent.txt41117 … field @FlaggedApi("android.app.modes_api") public static final int SOURCE_USER_ACTION = 1; // 0x1