Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java58 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_APP;
347 ORIGIN_APP(ZenModeConfig.UPDATE_ORIGIN_APP),
823 mZenModeHelper.setNotificationPolicy(totalSilence, UPDATE_ORIGIN_APP, 1); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
861 UPDATE_ORIGIN_APP, "test", "caller", 1); in testRingerAffectedStreamsPriorityOnly()
877 mZenModeHelper.setNotificationPolicy(new Policy(0,0,0), UPDATE_ORIGIN_APP, 1); in testRingerAffectedStreamsPriorityOnly()
879 UPDATE_ORIGIN_APP, "test", "caller", 1); in testRingerAffectedStreamsPriorityOnly()
987 UPDATE_ORIGIN_APP, "test", "caller", 1); in testSilentRingerSavedInZenOff_startsZenOff()
1012 UPDATE_ORIGIN_APP, "test", "caller", 1); in testSilentRingerSavedOnZenOff_startsZenOn()
1037 UPDATE_ORIGIN_APP, "test", "caller", 1); in testVibrateRingerSavedOnZenOff_startsZenOn()
1050 mZenModeHelper.setManualZenMode(ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, UPDATE_ORIGIN_APP, in testSetConfig_updatesAudioEventually()
[all …]
DDefaultDeviceEffectsApplierTest.java21 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_APP;
86 ORIGIN_APP(ZenModeConfig.UPDATE_ORIGIN_APP),
262 UPDATE_ORIGIN_APP); in apply_nightModeFromApp_appliedOnScreenOff()
DNotificationManagerServiceTest.java9752 eq("another.package"), eq(rule), eq(ZenModeConfig.UPDATE_ORIGIN_APP), in testAddAutomaticZenRule_nonSystemCallTakesPackageFromArg()
9891 eq(ZenModeConfig.UPDATE_ORIGIN_APP), anyString(), anyInt()); in addAutomaticZenRule_fromApp_mappedToOriginApp()
9974 eq(ZenModeConfig.UPDATE_ORIGIN_APP), anyInt()); in setAutomaticZenRuleState_fromAppWithConditionNotFromUser_mappedToOriginApp()
15073 eq(ZenModeConfig.UPDATE_ORIGIN_APP), anyString(), eq("package"), anyInt());
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java117 : ZenModeConfig.UPDATE_ORIGIN_APP, in onServiceAdded()
129 : ZenModeConfig.UPDATE_ORIGIN_APP, in onConditionChanged()
DZenModeHelper.java32 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_APP;
386 fromSystemOrSystemUi ? UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI : UPDATE_ORIGIN_APP, in requestFromListener()
519 if (origin != UPDATE_ORIGIN_APP) { in maybeRestoreRemovedRule()
623 deactivated, UPDATE_ORIGIN_APP, callingUid); in applyGlobalZenModeAsImplicitZenRule()
649 setConfigLocked(newConfig, /* triggeringComponent= */ null, UPDATE_ORIGIN_APP, in applyGlobalZenModeAsImplicitZenRule()
703 setConfigLocked(newConfig, /* triggeringComponent= */ null, UPDATE_ORIGIN_APP, in applyGlobalPolicyAsImplicitZenRule()
861 if (origin == UPDATE_ORIGIN_APP && !ruleToRemove.canBeUpdatedByApp() in maybePreserveRemovedRule()
1238 origin == UPDATE_ORIGIN_APP, updateBitmask); in populateZenRule()
2688 checkArgument(origin == UPDATE_ORIGIN_APP || origin == UPDATE_ORIGIN_SYSTEM_OR_SYSTEMUI in requirePublicOrigin()
DPreferencesHelper.java1934 : ZenModeConfig.UPDATE_ORIGIN_APP, in updateZenPolicy()
DNotificationManagerService.java5676 return ZenModeConfig.UPDATE_ORIGIN_APP;
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java144 public static final int UPDATE_ORIGIN_APP = 4; field in ZenModeConfig
166 UPDATE_ORIGIN_APP,