Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DDefaultDeviceEffectsApplierTest.java22 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_USER;
85 ORIGIN_USER(ZenModeConfig.UPDATE_ORIGIN_USER),
126 mApplier.apply(effects, UPDATE_ORIGIN_USER); in apply_appliesEffects()
144 mApplier.apply(previousEffects, UPDATE_ORIGIN_USER); in apply_removesEffects()
151 mApplier.apply(noEffects, UPDATE_ORIGIN_USER); in apply_removesEffects()
166 mApplier.apply(previousEffects, UPDATE_ORIGIN_USER); in apply_removesOnlyPreviouslyAppliedEffects()
170 mApplier.apply(noEffects, UPDATE_ORIGIN_USER); in apply_removesOnlyPreviouslyAppliedEffects()
189 mApplier.apply(effects, UPDATE_ORIGIN_USER); in apply_missingSomeServices_okay()
210 mApplier.apply(effects, UPDATE_ORIGIN_USER); in apply_disabledWallpaperService_dimWallpaperNotApplied()
223 mApplier.apply(effects, UPDATE_ORIGIN_USER); in apply_someEffects_onlyThoseEffectsApplied()
[all …]
DZenModeHelperTest.java63 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_USER;
346 ORIGIN_USER(ZenModeConfig.UPDATE_ORIGIN_USER),
1119 Flags.modesApi() ? UPDATE_ORIGIN_USER : UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI, in testProto()
2678 UPDATE_ORIGIN_USER, in addAutomaticZenRule_fromUser_respectsHiddenEffects()
2772 UPDATE_ORIGIN_USER, "reasons", 0); in updateAutomaticZenRule_fromUser_updatesHiddenEffects()
3031 Flags.modesApi() ? UPDATE_ORIGIN_USER: UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI, "", null, in testZenModeEventLog_setManualZenMode()
3112 Flags.modesApi() ? UPDATE_ORIGIN_USER: UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI, "", in testZenModeEventLog_automaticRules()
3122 Flags.modesApi() ? UPDATE_ORIGIN_USER: UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI, "test", in testZenModeEventLog_automaticRules()
3132 Flags.modesApi() ? UPDATE_ORIGIN_USER: UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI, "", in testZenModeEventLog_automaticRules()
3212 UPDATE_ORIGIN_USER, CUSTOM_PKG_UID); in testZenModeEventLog_automaticRuleActivatedFromAppByAppAndUser()
[all …]
DNotificationManagerServiceTest.java9867 eq(ZenModeConfig.UPDATE_ORIGIN_USER), anyString(), anyInt()); in addAutomaticZenRule_fromUser_mappedToOriginUser()
9913 eq(ZenModeConfig.UPDATE_ORIGIN_USER), anyString(), anyInt()); in updateAutomaticZenRule_fromUserFromSystem_allowed()
9935 eq(ZenModeConfig.UPDATE_ORIGIN_USER), anyString(), anyInt()); in removeAutomaticZenRule_fromUserFromSystem_allowed()
9959 eq(ZenModeConfig.UPDATE_ORIGIN_USER), anyInt()); in setAutomaticZenRuleState_conditionFromUser_mappedToOriginUser()
/frameworks/base/services/core/java/com/android/server/notification/
DDefaultDeviceEffectsApplier.java131 || origin == ZenModeConfig.UPDATE_ORIGIN_USER in updateOrScheduleNightMode()
DConditionProviders.java20 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_USER;
329 if (r.condition != null && r.condition.source == UPDATE_ORIGIN_USER) { in notifyConditions()
DZenModeHelper.java37 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_USER;
938 origin = UPDATE_ORIGIN_USER; // Although coming from app, it's actually a user action. in setAutomaticZenRuleStateLocked()
1142 && !isNew && origin == UPDATE_ORIGIN_USER in populateZenRule()
1207 boolean updateBitmask = (origin == UPDATE_ORIGIN_USER); in populateZenRule()
1273 return origin == UPDATE_ORIGIN_USER || origin == UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI; in doesOriginAlwaysUpdateValues()
1539 origin == UPDATE_ORIGIN_USER ? SOURCE_USER_ACTION : SOURCE_UNKNOWN); in setManualZenMode()
1540 if (zenMode == Global.ZEN_MODE_OFF && origin != UPDATE_ORIGIN_USER) { in setManualZenMode()
2689 || origin == UPDATE_ORIGIN_USER, in requirePublicOrigin()
DZenModeEventLogger.java470 return mOrigin == ZenModeConfig.UPDATE_ORIGIN_USER; in getIsUserAction()
DNotificationManagerService.java5672 return ZenModeConfig.UPDATE_ORIGIN_USER;
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java137 public static final int UPDATE_ORIGIN_USER = 3; field in ZenModeConfig
165 UPDATE_ORIGIN_USER,