Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/SchedulesProvider/src/com/android/settingslib/schedulesprovider/
H A 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()
H A 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()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A 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 …]
H A DZenModeHelperTest.java282 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in createCustomAutomaticRule()
1134 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testWriteXmlWithZenPolicy()
1179 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlRestoreWithZenPolicy_forSystemUser()
1216 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlRulesNotOverriden()
1384 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlAllDisabledRulesResetDefaultRules()
1420 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlOnlyOneDefaultRuleExists()
1471 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlDefaultRulesExist()
1659 ScheduleInfo si = new ScheduleInfo(); in testAddAutomaticZenRule_beyondSystemLimit()
1693 ScheduleInfo si = new ScheduleInfo(); in testAddAutomaticZenRule_beyondSystemLimit_differentComponents()
1725 ScheduleInfo si = new ScheduleInfo(); in testAddAutomaticZenRule_claimedSystemOwner()
[all …]
H A DScheduleCalendarTest.java46 private ZenModeConfig.ScheduleInfo mScheduleInfo;
51 mScheduleInfo = new ZenModeConfig.ScheduleInfo(); in setUp()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DScheduleCalendar.java19 import android.service.notification.ZenModeConfig.ScheduleInfo;
38 private ScheduleInfo mSchedule;
55 public void setSchedule(ScheduleInfo schedule) { in setSchedule()
H A DZenModeConfig.java1175 final ScheduleInfo schedule = ZenModeConfig.tryParseScheduleConditionId(conditionId); in toScheduleCalendar()
1407 public static Uri toScheduleConditionId(ScheduleInfo schedule) { in toScheduleConditionId()
1419 ScheduleInfo info; in isValidScheduleConditionId()
1437 ScheduleInfo info; in isValidScheduleConditionId()
1451 public static ScheduleInfo tryParseScheduleConditionId(Uri conditionId) { in tryParseScheduleConditionId()
1461 final ScheduleInfo rt = new ScheduleInfo(); in tryParseScheduleConditionId()
1475 public static class ScheduleInfo { class in ZenModeConfig
1496 if (!(o instanceof ScheduleInfo)) return false; in equals()
1497 final ScheduleInfo other = (ScheduleInfo) o; in equals()
1506 public ScheduleInfo copy() { in copy()
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes6961 android.service.notification.ZenModeConfig$ScheduleInfo
H A Dboot-image-profile.txt29754 Landroid/service/notification/ZenModeConfig$ScheduleInfo;
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt49847 …notification/ScheduleCalendar;->mSchedule:Landroid/service/notification/ZenModeConfig$ScheduleInfo;
49848 …fication/ScheduleCalendar;->setSchedule(Landroid/service/notification/ZenModeConfig$ScheduleInfo;)V
49881 Landroid/service/notification/ZenModeConfig$ScheduleInfo;-><init>()V
49882 …id/service/notification/ZenModeConfig$ScheduleInfo;->copy()Landroid/service/notification/ZenModeCo…
49883 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->exitAtAlarm:Z
49884 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->nextAlarm:J
49885 Landroid/service/notification/ZenModeConfig$ScheduleInfo;->ts(J)Ljava/lang/String;
50028 …g;->toScheduleConditionId(Landroid/service/notification/ZenModeConfig$ScheduleInfo;)Landroid/net/U…
/aosp14/frameworks/base/config/
H A Dpreloaded-classes6965 android.service.notification.ZenModeConfig$ScheduleInfo
H A Dboot-image-profile.txt39861 Landroid/service/notification/ZenModeConfig$ScheduleInfo;