/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 45 import android.service.notification.ZenModeConfig; 46 import android.service.notification.ZenModeConfig.EventInfo; 47 import android.service.notification.ZenModeConfig.ScheduleInfo; 48 import android.service.notification.ZenModeConfig.ZenRule; 79 private final ZenModeConfig mDefaultConfig; 84 private final SparseArray<ZenModeConfig> mConfigs = new SparseArray<>(); 89 private ZenModeConfig mConfig; 158 ZenModeConfig config = mConfigs.get(user); in onUserSwitched() 210 final ZenModeConfig newConfig = mConfig.copy(); in setManualZenMode() 243 private static void dump(PrintWriter pw, String prefix, String var, ZenModeConfig config) { in dump() [all …]
|
D | ZenModeConditions.java | 24 import android.service.notification.ZenModeConfig; 25 import android.service.notification.ZenModeConfig.ZenRule; 46 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.COUNTDOWN_PATH)) { in ZenModeConditions() 49 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.SCHEDULE_PATH)) { in ZenModeConditions() 52 if (mConditionProviders.isSystemProviderEnabled(ZenModeConfig.EVENT_PATH)) { in ZenModeConditions() 66 public void evaluateConfig(ZenModeConfig config, boolean processSubscriptions) { in evaluateConfig() 114 ZenModeConfig config = mHelper.getConfig(); in onConditionChanged() 169 final ZenModeConfig config = mHelper.getConfig(); in isAutomaticActive()
|
D | CountdownConditionProvider.java | 29 import android.service.notification.ZenModeConfig; 67 return ZenModeConfig.isValidCountdownConditionId(id); in isValidConditionId() 117 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId); in onSubscribe() 153 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId); in onReceive() 163 return new Condition(ZenModeConfig.toCountdownConditionId(time), in newCondition() 168 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionUri); in tryParseDescription()
|
D | ZenModeFiltering.java | 28 import android.service.notification.ZenModeConfig; 78 public static boolean matchesCallFilter(Context context, int zen, ZenModeConfig config, in matchesCallFilter() 100 public boolean shouldIntercept(int zen, ZenModeConfig config, NotificationRecord record) { in shouldIntercept() 223 case ZenModeConfig.SOURCE_ANYONE: in audienceMatches() 225 case ZenModeConfig.SOURCE_CONTACT: in audienceMatches() 227 case ZenModeConfig.SOURCE_STAR: in audienceMatches()
|
D | ScheduleConditionProvider.java | 29 import android.service.notification.ZenModeConfig; 30 import android.service.notification.ZenModeConfig.ScheduleInfo; 73 return ZenModeConfig.isValidScheduleConditionId(id); in isValidConditionId() 118 if (!ZenModeConfig.isValidScheduleConditionId(conditionId)) { in onSubscribe() 190 final ScheduleInfo schedule = ZenModeConfig.tryParseScheduleConditionId(conditionId); in toScheduleCalendar()
|
D | ZenLog.java | 28 import android.service.notification.ZenModeConfig; 118 public static void traceConfig(String reason, ZenModeConfig oldConfig, in traceConfig() 119 ZenModeConfig newConfig) { in traceConfig() 122 + "," + ZenModeConfig.diff(oldConfig, newConfig)); in traceConfig()
|
D | EventConditionProvider.java | 34 import android.service.notification.ZenModeConfig; 35 import android.service.notification.ZenModeConfig.EventInfo; 84 return ZenModeConfig.isValidEventConditionId(id); in isValidConditionId() 145 if (!ZenModeConfig.isValidEventConditionId(conditionId)) { in onSubscribe() 208 final EventInfo event = ZenModeConfig.tryParseEventConditionId(conditionId); in evaluateSubscriptionsW()
|
D | ScheduleCalendar.java | 19 import android.service.notification.ZenModeConfig.ScheduleInfo;
|
D | CalendarTracker.java | 30 import android.service.notification.ZenModeConfig.EventInfo;
|
D | NotificationManagerService.java | 87 import android.service.notification.ZenModeConfig; 1574 public ZenModeConfig getZenModeConfig() { 1580 public boolean setZenModeConfig(ZenModeConfig config, String reason) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeController.java | 22 import android.service.notification.ZenModeConfig; 23 import android.service.notification.ZenModeConfig.ZenRule; 32 ZenModeConfig getConfig(); in getConfig() 48 public void onConfigChanged(ZenModeConfig config) {} in onConfigChanged()
|
D | ZenModeControllerImpl.java | 37 import android.service.notification.ZenModeConfig; 38 import android.service.notification.ZenModeConfig.ZenRule; 66 private ZenModeConfig mConfig; 138 public ZenModeConfig getConfig() { in getConfig() 169 .isSystemConditionProviderEnabled(ZenModeConfig.COUNTDOWN_PATH); in isCountdownConditionSupported() 213 private void fireConfigChanged(ZenModeConfig config) { in fireConfigChanged() 230 final ZenModeConfig config = mNoMan.getZenModeConfig(); in updateZenModeConfig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenFooter.java | 22 import android.service.notification.ZenModeConfig; 48 private ZenModeConfig mConfig; 79 public void onConfigChanged(ZenModeConfig config) { in init() 101 private void setConfig(ZenModeConfig config) { in setConfig() 136 : ZenModeConfig.getConditionSummary(mContext, mConfig, mController.getCurrentUser(), in update()
|
D | ZenModePanel.java | 35 import android.service.notification.ZenModeConfig; 36 import android.service.notification.ZenModeConfig.ZenRule; 73 : ZenModeConfig.MINUTE_BUCKETS; 303 mTimeCondition = ZenModeConfig.toTimeCondition(mContext, in setRequestingConditions() 472 final long time = ZenModeConfig.tryParseCountdownConditionId(mSessionExitCondition.id); in computeAlarmWarningText() 492 final long time = ZenModeConfig.tryParseCountdownConditionId(condition.id); 497 return ZenModeConfig.toTimeCondition(context, 610 mTimeCondition = ZenModeConfig.toTimeCondition(mContext, 619 return c != null && ZenModeConfig.isValidCountdownConditionId(c.id); 713 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId); [all …]
|
D | VolumeDialogController.java | 44 import android.service.notification.ZenModeConfig; 128 public ZenModeConfig getZenModeConfig() { in getZenModeConfig() 404 final ZenModeConfig zenModeConfig = getZenModeConfig(); 948 public ZenModeConfig zenModeConfig;
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 53 public class ZenModeConfig implements Parcelable { class 126 public ZenModeConfig() { } in ZenModeConfig() method in ZenModeConfig 128 public ZenModeConfig(Parcel source) { in ZenModeConfig() method in ZenModeConfig 179 return new StringBuilder(ZenModeConfig.class.getSimpleName()).append('[') in toString() 193 private Diff diff(ZenModeConfig to) { in diff() 236 public static Diff diff(ZenModeConfig from, ZenModeConfig to) { in diff() 309 if (!(o instanceof ZenModeConfig)) return false; in equals() 311 final ZenModeConfig other = (ZenModeConfig) o; in equals() 371 public static ZenModeConfig readXml(XmlPullParser parser, Migration migration) in readXml() 377 final ZenModeConfig rt = new ZenModeConfig(); in readXml() [all …]
|
D | ZenModeConfig.aidl | 19 parcelable ZenModeConfig;
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 33 import android.service.notification.ZenModeConfig; 84 ZenModeConfig getZenModeConfig(); in getZenModeConfig() 85 boolean setZenModeConfig(in ZenModeConfig config, String reason); in setZenModeConfig()
|
D | NotificationManager.java | 41 import android.service.notification.ZenModeConfig; 378 public boolean setZenModeConfig(ZenModeConfig config, String reason) { in setZenModeConfig() 413 public ZenModeConfig getZenModeConfig() { in getZenModeConfig()
|