Home
last modified time | relevance | path

Searched refs:mConditionProviders (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java38 private final ConditionProviders mConditionProviders; field in ZenModeConditions
45 mConditionProviders = conditionProviders; in ZenModeConditions()
46 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.COUNTDOWN_PATH)) { in ZenModeConditions()
47 mConditionProviders.addSystemProvider(new CountdownConditionProvider()); in ZenModeConditions()
49 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.SCHEDULE_PATH)) { in ZenModeConditions()
50 mConditionProviders.addSystemProvider(new ScheduleConditionProvider()); in ZenModeConditions()
52 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.EVENT_PATH)) { in ZenModeConditions()
53 mConditionProviders.addSystemProvider(new EventConditionProvider()); in ZenModeConditions()
55 mConditionProviders.setCallback(this); in ZenModeConditions()
83 mConditionProviders.unsubscribeIfNecessary(component, id); in evaluateConfig()
[all …]
DNotificationManagerService.java345 private ConditionProviders mConditionProviders; field in NotificationManagerService
832 mConditionProviders.onPackagesChanged(removingPackage, pkgList);
901 mConditionProviders.onUserSwitched(user);
914 mConditionProviders.onUserUnlocked(user);
1092 mConditionProviders = new ConditionProviders(getContext(), mHandler, mUserProfiles); in init()
1093 mZenModeHelper = new ZenModeHelper(getContext(), mHandler.getLooper(), mConditionProviders); in init()
1281 mConditionProviders.onBootPhaseAppsCanStart(); in onBootPhase()
1822 mConditionProviders.onPackagesChanged(true, new String[] {packageName});
2413 final ManagedServiceInfo info = mConditionProviders.checkServiceToken(provider);
2418 mConditionProviders.notifyConditions(pkg, info, conditions);
[all …]