Searched refs:SOURCE_USER_ACTION (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ConditionProvidersTest.java | 19 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()
|
D | ZenModeConfigTest.java | 23 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()
|
D | ZenModeHelperTest.java | 55 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()
|
D | NotificationManagerServiceTest.java | 96 import static android.service.notification.Condition.SOURCE_USER_ACTION; 9955 SOURCE_USER_ACTION); in setAutomaticZenRuleState_conditionFromUser_mappedToOriginUser()
|
/frameworks/base/core/java/android/service/notification/ |
D | Condition.java | 100 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/ |
D | ConditionTest.java | 176 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/ |
D | ZenModeHelper.java | 28 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()
|
D | NotificationManagerService.java | 5661 boolean fromUser = (condition.source == Condition.SOURCE_USER_ACTION);
|
/frameworks/base/core/api/ |
D | current.txt | 41117 … field @FlaggedApi("android.app.modes_api") public static final int SOURCE_USER_ACTION = 1; // 0x1
|