Home
last modified time | relevance | path

Searched refs:ScheduleInfo (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/SchedulesProvider/src/com/android/settingslib/schedulesprovider/
DScheduleInfo.java33 public class ScheduleInfo implements Parcelable { class
39 public ScheduleInfo(Builder builder) { in ScheduleInfo() method in ScheduleInfo
45 private ScheduleInfo(Parcel in) { in ScheduleInfo() method in ScheduleInfo
95 public static final Creator<ScheduleInfo> CREATOR = new Creator<ScheduleInfo>() {
97 public ScheduleInfo createFromParcel(Parcel in) {
98 return new ScheduleInfo(in);
102 public ScheduleInfo[] newArray(int size) {
103 return new ScheduleInfo[size];
161 public ScheduleInfo build() { in build()
162 return new ScheduleInfo(this); in build()
DSchedulesProvider.java77 public abstract ArrayList<ScheduleInfo> getScheduleInfoList(); in getScheduleInfoList()
95 final ArrayList<ScheduleInfo> scheduleInfoList = filterInvalidData( in call()
111 private ArrayList<ScheduleInfo> filterInvalidData( in filterInvalidData()
112 @Nullable ArrayList<ScheduleInfo> scheduleInfoList) { in filterInvalidData()
123 .filter(ScheduleInfo::isValid) in filterInvalidData()
127 private void dumpInvalidData(ArrayList<ScheduleInfo> scheduleInfoList) { in dumpInvalidData()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java70 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testIsValidConditionId()
87 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InSchedule()
111 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
142 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_beforeSchedule()
165 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_endSchedule()
188 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetBeforeInSchedule()
216 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetInSchedule()
245 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_earlierAlarmSet()
274 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_laterAlarmSet()
303 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmCanceled()
[all …]
DSystemZenRulesTest.java33 import android.service.notification.ZenModeConfig.ScheduleInfo;
50 private static final ScheduleInfo SCHEDULE_INFO;
54 SCHEDULE_INFO = new ScheduleInfo();
132 ScheduleInfo scheduleInfo = new ScheduleInfo(); in getTriggerDescriptionForScheduleTime_noOrSingleDays()
158 ScheduleInfo scheduleInfo = new ScheduleInfo(); in getTriggerDescriptionForScheduleTime_oneGroup()
190 ScheduleInfo scheduleInfo = new ScheduleInfo(); in getTriggerDescriptionForScheduleTime_mixedDays()
DZenModeHelperTest.java150 import android.service.notification.ZenModeConfig.ScheduleInfo;
441 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in createCustomAutomaticRule()
1483 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testWriteXmlWithZenPolicy()
1534 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlRestoreWithZenPolicy_forSystemUser()
1578 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlRulesNotOverridden()
1760 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlAllDisabledRulesResetDefaultRules()
1797 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlOnlyOneDefaultRuleExists()
1810 final ScheduleInfo defaultScheduleRuleInfo = new ScheduleInfo(); in testReadXmlOnlyOneDefaultRuleExists()
1849 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlDefaultRulesExist()
1862 final ScheduleInfo defaultScheduleRuleInfo = new ScheduleInfo(); in testReadXmlDefaultRulesExist()
[all …]
DScheduleCalendarTest.java46 private ZenModeConfig.ScheduleInfo mScheduleInfo;
51 mScheduleInfo = new ZenModeConfig.ScheduleInfo(); in setUp()
/frameworks/base/core/java/android/service/notification/
DSystemZenRules.java26 import android.service.notification.ZenModeConfig.ScheduleInfo;
73 ScheduleInfo scheduleInfo = ZenModeConfig.tryParseScheduleConditionId(rule.conditionId); in upgradeSystemProviderRule()
95 ScheduleInfo scheduleInfo = ZenModeConfig.tryParseScheduleConditionId(rule.conditionId); in updateTriggerDescription()
123 @NonNull ScheduleInfo schedule) { in getTriggerDescriptionForScheduleTime()
145 private static String getShortDaysSummary(Context context, @NonNull ScheduleInfo schedule) { in getShortDaysSummary()
DScheduleCalendar.java19 import android.service.notification.ZenModeConfig.ScheduleInfo;
38 private ScheduleInfo mSchedule;
55 public void setSchedule(ScheduleInfo schedule) { in setSchedule()
DZenModeConfig.java414 ScheduleInfo scheduleInfo = new ScheduleInfo(); in getDefaultConfig()
1952 final ScheduleInfo schedule = ZenModeConfig.tryParseScheduleConditionId(conditionId); in toScheduleCalendar()
2185 public static Uri toScheduleConditionId(ScheduleInfo schedule) { in toScheduleConditionId()
2197 ScheduleInfo info; in isValidScheduleConditionId()
2215 ScheduleInfo info; in isValidScheduleConditionId()
2234 public static ScheduleInfo tryParseScheduleConditionId(Uri conditionId) { in tryParseScheduleConditionId()
2244 final ScheduleInfo rt = new ScheduleInfo(); in tryParseScheduleConditionId()
2258 public static class ScheduleInfo { class in ZenModeConfig
2279 if (!(o instanceof ScheduleInfo)) return false; in equals()
2280 final ScheduleInfo other = (ScheduleInfo) o; in equals()
[all …]
/frameworks/base/boot/
Dpreloaded-classes7101 android.service.notification.ZenModeConfig$ScheduleInfo
Dboot-image-profile.txt29505 Landroid/service/notification/ZenModeConfig$ScheduleInfo;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49204 …notification/ScheduleCalendar;->mSchedule:Landroid/service/notification/ZenModeConfig$ScheduleInfo;
49205 …fication/ScheduleCalendar;->setSchedule(Landroid/service/notification/ZenModeConfig$ScheduleInfo;)V
49238 Landroid/service/notification/ZenModeConfig$ScheduleInfo;-><init>()V
49239 …id/service/notification/ZenModeConfig$ScheduleInfo;->copy()Landroid/service/notification/ZenModeCo…
49240 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->exitAtAlarm:Z
49241 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->nextAlarm:J
49242 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->ts(J)Ljava/lang/String;
49385 …g;->toScheduleConditionId(Landroid/service/notification/ZenModeConfig$ScheduleInfo;)Landroid/net/U…
/frameworks/base/config/
Dpreloaded-classes7105 android.service.notification.ZenModeConfig$ScheduleInfo
Dboot-image-profile.txt39639 Landroid/service/notification/ZenModeConfig$ScheduleInfo;