Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java41 import android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo;
339 ScheduleInfo.Builder builder = new ScheduleInfo.Builder(TEST_SCHEDULE_ID, TEST_TASK_TYPE, in testScheduleInfoBuilder()
342 ScheduleInfo scheduleInfo = builder.setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC) in testScheduleInfoBuilder()
361 ScheduleInfo.Builder builder = new ScheduleInfo.Builder(TEST_SCHEDULE_ID, in testScheduleInfoBuilder_enterGarageMode()
363 ScheduleInfo scheduleInfo = builder.setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC) in testScheduleInfoBuilder_enterGarageMode()
382 assertThrows(IllegalArgumentException.class, () -> new ScheduleInfo.Builder( in testScheduleInfoBuilder_invalidTaskType()
388 ScheduleInfo.Builder builder = new ScheduleInfo.Builder(TEST_SCHEDULE_ID, TEST_TASK_TYPE, in testScheduleInfoBuilder_buildTwiceNotAllowed()
398 assertThrows(IllegalArgumentException.class, () -> new ScheduleInfo.Builder( in testScheduleInfoBuilder_nullScheduleId()
404 ScheduleInfo.Builder builder = new ScheduleInfo.Builder(TEST_SCHEDULE_ID, TEST_TASK_TYPE, in testScheduleInfoBuilder_nullTaskData()
412 ScheduleInfo.Builder builder = new ScheduleInfo.Builder(TEST_SCHEDULE_ID, in testScheduleInfoBuilder_negativeCount()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeExitAtAlarmPreferenceControllerTest.java62 ZenModeConfig.ScheduleInfo scheduleInfo = new ZenModeConfig.ScheduleInfo(); in testUpdateState()
91 ZenModeConfig.ScheduleInfo scheduleInfo = new ZenModeConfig.ScheduleInfo(); in testOnPreferenceChange()
107 ZenModeConfig.ScheduleInfo newSchedule = ZenModeConfig.tryParseScheduleConditionId( in testOnPreferenceChange()
DZenModeSetSchedulePreferenceControllerTest.java87 ZenModeConfig.ScheduleInfo scheduleInfo = new ZenModeConfig.ScheduleInfo(); in updateScheduleRule_updatesConditionAndTriggerDescription()
102 ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in testUpdateScheduleDays()
129 ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in testSetupDayToggles_daysOfWeekOrder()
DZenModeSetTriggerLinkPreferenceControllerTest.java176 ZenModeConfig.ScheduleInfo scheduleInfo = new ZenModeConfig.ScheduleInfo(); in testRuleLink_schedule()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java39 import android.hardware.automotive.remoteaccess.ScheduleInfo;
235 ScheduleInfo scheduleInfo = mock(ScheduleInfo.class); in testScheduleTask()
246 ScheduleInfo scheduleInfo = mock(ScheduleInfo.class); in testScheduleTask_remoteException()
255 ScheduleInfo scheduleInfo = mock(ScheduleInfo.class); in testScheduleTask_serviceSpecificException()
345 ScheduleInfo mockScheduleInfo = mock(ScheduleInfo.class); in testGetAllPendingScheduledTasks()
346 List<ScheduleInfo> scheduleInfo = new ArrayList<>(); in testGetAllPendingScheduledTasks()
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DCarRemoteAccessManager.java616 public static final class ScheduleInfo { class in CarRemoteAccessManager
742 public ScheduleInfo build() { in build()
752 return new ScheduleInfo(this); in build()
796 private ScheduleInfo(Builder builder) { in ScheduleInfo() method in CarRemoteAccessManager.ScheduleInfo
951 public void scheduleTask(@NonNull ScheduleInfo scheduleInfo) in scheduleTask()
1049 public List<ScheduleInfo> getAllPendingScheduledTasks() in getAllPendingScheduledTasks()
1051 List<ScheduleInfo> scheduleInfoList = new ArrayList<>(); in getAllPendingScheduledTasks()
1066 private static ScheduleInfo fromTaskScheduleInfo(TaskScheduleInfo taskScheduleInfo) { in fromTaskScheduleInfo()
1067 return new ScheduleInfo.Builder(taskScheduleInfo.scheduleId, in fromTaskScheduleInfo()
1073 private static TaskScheduleInfo toTaskScheduleInfo(ScheduleInfo scheduleInfo) { in toTaskScheduleInfo()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRuleScheduleHelper.java20 import android.service.notification.ZenModeConfig.ScheduleInfo;
52 public String getDaysDescription(Context context, ScheduleInfo schedule) { in getDaysDescription()
84 public String getShortDaysSummary(Context context, ScheduleInfo schedule) { in getShortDaysSummary()
176 public String getDaysAndTimeSummary(Context context, ScheduleInfo schedule) { in getDaysAndTimeSummary()
DZenRulePreference.java28 import android.service.notification.ZenModeConfig.ScheduleInfo;
152 ScheduleInfo schedule = in computeRuleSummary()
DZenModeScheduleRuleSettings.java29 import android.service.notification.ZenModeConfig.ScheduleInfo;
67 private ScheduleInfo mSchedule;
DZenRuleSelectionDialog.java175 final ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in defaultNewSchedule()
DZenModeRuleSettingsBase.java166 protected void updateScheduleRule(ZenModeConfig.ScheduleInfo schedule) { in updateScheduleRule()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetSchedulePreferenceController.java56 private ZenModeConfig.ScheduleInfo mSchedule;
97 private String getScheduleDurationDescription(ZenModeConfig.ScheduleInfo schedule) { in getScheduleDurationDescription()
117 protected Function<ZenMode, ZenMode> updateScheduleMode(ZenModeConfig.ScheduleInfo schedule) { in updateScheduleMode()
173 protected void setupDayToggles(ViewGroup dayContainer, ZenModeConfig.ScheduleInfo schedule,
224 protected static boolean updateScheduleDays(ZenModeConfig.ScheduleInfo schedule, int day,
DZenModeExitAtAlarmPreferenceController.java31 private ZenModeConfig.ScheduleInfo mSchedule;
DZenModesBackend.java256 ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in addCustomMode()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DRemoteAccessTestFragment.java26 import android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo;
210 ScheduleInfo.Builder scheduleInfoBuilder; in scheduleTask()
213 scheduleInfoBuilder = new ScheduleInfo.Builder( in scheduleTask()
219 scheduleInfoBuilder = new ScheduleInfo.Builder( in scheduleTask()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenRuleScheduleHelperTest.java30 import android.service.notification.ZenModeConfig.ScheduleInfo;
47 private ScheduleInfo mScheduleInfo;
61 mScheduleInfo = new ScheduleInfo(); in setup()
/packages/services/Car/service/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapper.java27 import android.hardware.automotive.remoteaccess.ScheduleInfo;
191 public void scheduleTask(ScheduleInfo scheduleInfo) in scheduleTask()
265 public List<ScheduleInfo> getAllPendingScheduledTasks(String clientId) in getAllPendingScheduledTasks()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettingsTest.java116 ZenModeConfig.ScheduleInfo scheduleInfo = new ZenModeConfig.ScheduleInfo(); in updateScheduleRule_updatesConditionAndTriggerDescription()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java69 import android.hardware.automotive.remoteaccess.ScheduleInfo;
221 @Captor private ArgumentCaptor<ScheduleInfo> mHalScheduleInfoCaptor;
1408 ScheduleInfo halScheduleInfo = mHalScheduleInfoCaptor.getValue(); in testScheduleTask()
1435 ScheduleInfo halScheduleInfo = mHalScheduleInfoCaptor.getValue(); in testScheduleTask_enterGarageMode()
1622 ScheduleInfo scheduleInfo = new ScheduleInfo(); in testGetAllPendingScheduledTasks()
1642 ScheduleInfo scheduleInfo = new ScheduleInfo(); in testGetAllPendingScheduledTasks_convertUnknownTaskType()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java58 import android.hardware.automotive.remoteaccess.ScheduleInfo;
866 ScheduleInfo halScheduleInfo = new ScheduleInfo(); in scheduleTask()
953 List<ScheduleInfo> halScheduleInfoList = in getAllPendingScheduledTasks()
956 ScheduleInfo halScheduleInfo = halScheduleInfoList.get(i); in getAllPendingScheduledTasks()
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2239 …public java.util.List<android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingS…
2242 …scheduleTask(@NonNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android…
2250 ….feature.serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo {
2261 ….serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo.Builder {
2262 ….car.feature.serverless_remote_access") public CarRemoteAccessManager.ScheduleInfo.Builder(@NonNul…
2263 …mote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo build();
2264 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setCoun…
2265 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setPeri…
2266 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setTask…
/packages/services/Car/car-lib/api/
Dsystem-current.txt2239 …public java.util.List<android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingS…
2242 …scheduleTask(@NonNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android…
2250 ….feature.serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo {
2261 ….serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo.Builder {
2262 ….car.feature.serverless_remote_access") public CarRemoteAccessManager.ScheduleInfo.Builder(@NonNul…
2263 …mote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo build();
2264 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setCoun…
2265 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setPeri…
2266 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setTask…
Dtest-current.txt2320 …public java.util.List<android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingS…
2323 …scheduleTask(@NonNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android…
2331 ….feature.serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo {
2342 ….serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo.Builder {
2343 ….car.feature.serverless_remote_access") public CarRemoteAccessManager.ScheduleInfo.Builder(@NonNul…
2344 …mote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo build();
2345 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setCoun…
2346 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setPeri…
2347 …ess") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setTask…
Dsystem-lint-baseline.txt4042 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo#PERIODIC_DAILY:
4043 …with @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.PERIODIC_DAILY
4044 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo#PERIODIC_WEEKLY:
4045 …ith @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.PERIODIC_WEEKLY