/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 89 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); in noRequest() local 91 assertEquals(30000, schedule.base_period_ms); in noRequest() 92 assertBuckets(schedule, 0); in noRequest() 103 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); in singleRequest() local 105 assertEquals(30000, schedule.base_period_ms); in singleRequest() 106 assertBuckets(schedule, 1); in singleRequest() 108 assertSettingsSatisfied(schedule, request, false, true); in singleRequest() 120 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); in singleRequestWithoutPredefinedBucket() local 122 assertEquals("base_period_ms", 10000, schedule.base_period_ms); in singleRequestWithoutPredefinedBucket() 123 assertBuckets(schedule, 1); in singleRequestWithoutPredefinedBucket() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | InputTaskScheduler.java | 165 ScheduledRecording schedule, in InputTaskScheduler() 173 schedule, in InputTaskScheduler() 185 public void addSchedule(ScheduledRecording schedule) { in addSchedule() argument 186 mHandler.sendMessage(mHandler.obtainMessage(MSG_ADD_SCHEDULED_RECORDING, schedule)); in addSchedule() 190 void handleAddSchedule(ScheduledRecording schedule) { in handleAddSchedule() argument 191 if (mPendingRecordings.get(schedule.getId()) != null in handleAddSchedule() 192 || mWaitingSchedules.containsKey(schedule.getId())) { in handleAddSchedule() 195 mWaitingSchedules.put(schedule.getId(), schedule); in handleAddSchedule() local 201 public void removeSchedule(ScheduledRecording schedule) { in removeSchedule() argument 202 mHandler.sendMessage(mHandler.obtainMessage(MSG_REMOVE_SCHEDULED_RECORDING, schedule)); in removeSchedule() [all …]
|
D | RecordingScheduler.java | 235 for (ScheduledRecording schedule : schedules) { in onScheduledRecordingRemoved() 236 InputTaskScheduler inputTaskScheduler = mInputSchedulerMap.get(schedule.getInputId()); in onScheduledRecordingRemoved() 238 inputTaskScheduler.removeSchedule(schedule); in onScheduledRecordingRemoved() 254 for (ScheduledRecording schedule : schedules) { in onScheduledRecordingStatusChanged() 255 InputTaskScheduler inputTaskScheduler = mInputSchedulerMap.get(schedule.getInputId()); in onScheduledRecordingStatusChanged() 257 inputTaskScheduler.updateSchedule(schedule); in onScheduledRecordingStatusChanged() 265 for (ScheduledRecording schedule : schedules) { in handleScheduleChange() 266 if (schedule.getState() == ScheduledRecording.STATE_RECORDING_NOT_STARTED) { in handleScheduleChange() 267 if (startsWithin(schedule, SOON_DURATION_IN_MS)) { in handleScheduleChange() 268 scheduleRecordingSoon(schedule); in handleScheduleChange() [all …]
|
D | RecordingTask.java | 394 private void handleUpdateSchedule(ScheduledRecording schedule) { in handleUpdateSchedule() argument 395 mScheduledRecording = schedule; in handleUpdateSchedule() 397 if (schedule.getEndTimeMs() != mScheduledRecording.getEndTimeMs()) { in handleUpdateSchedule() 399 mRecordingSession.setEndTimeMs(schedule.getEndTimeMs()); in handleUpdateSchedule() 403 if (!sendEmptyMessageAtAbsoluteTime(MSG_STOP_RECORDING, schedule.getEndTimeMs())) { in handleUpdateSchedule() 473 ScheduledRecording schedule = in updateRecordingState() 475 if (schedule == null) { in updateRecordingState() 483 ScheduledRecording.buildFrom(schedule).setState(state); in updateRecordingState() 514 ScheduledRecording schedule = in addRecordedProgramId() 516 if (schedule == null) { in addRecordedProgramId() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 124 for (ScheduledRecording schedule : scheduledRecordings) { in DvrScheduleManager() 125 if (!schedule.isNotStarted() && !schedule.isInProgress()) { in DvrScheduleManager() 129 Utils.getTvInputInfoForInputId(mContext, schedule.getInputId()); in DvrScheduleManager() 131 input != null, TAG, "Input was removed for : %s", schedule)) { in DvrScheduleManager() 133 mInputScheduleMap.remove(schedule.getInputId()); in DvrScheduleManager() 134 mInputConflictInfoMap.remove(schedule.getInputId()); in DvrScheduleManager() 143 schedules.add(schedule); in DvrScheduleManager() 155 for (ScheduledRecording schedule : scheduledRecordings) { in DvrScheduleManager() 157 Utils.getTvInputInfoForInputId(mContext, schedule.getInputId()); in DvrScheduleManager() 160 mInputScheduleMap.remove(schedule.getInputId()); in DvrScheduleManager() [all …]
|
D | DvrManager.java | 221 ScheduledRecording schedule; in addSchedule() local 223 schedule = in addSchedule() 233 mDataManager.addScheduledRecording(schedule); in addSchedule() 234 return schedule; in addSchedule() 259 public void addSchedule(ScheduledRecording schedule) { in addSchedule() argument 261 mDataManager.addScheduledRecording(schedule); in addSchedule() 395 for (ScheduledRecording schedule : schedules) { in updateSeriesRecording() 396 if (schedule.isNotStarted()) { in updateSeriesRecording() 397 schedulesToRemove.add(schedule); in updateSeriesRecording() 398 } else if (schedule.isInProgress() in updateSeriesRecording() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 127 for (ScheduledRecording schedule : schedules) { 128 addProgramIdToCheckIfNeeded(schedule); 135 for (ScheduledRecording schedule : schedules) { 136 mProgramIdQueue.remove(schedule.getProgramId()); 142 for (ScheduledRecording schedule : schedules) { 143 mProgramIdQueue.remove(schedule.getProgramId()); 144 addProgramIdToCheckIfNeeded(schedule); 248 for (ScheduledRecording schedule : mDataManager.getAvailableScheduledRecordings()) { in onProgramsUpdated() 249 addProgramIdToCheckIfNeeded(schedule); in onProgramsUpdated() 259 private void addProgramIdToCheckIfNeeded(ScheduledRecording schedule) { in addProgramIdToCheckIfNeeded() argument [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SeriesScheduleRowAdapter.java | 104 ScheduledRecording schedule = in setPrograms() local 106 if (schedule != null && !willBeKept(schedule)) { in setPrograms() 107 schedule = null; in setPrograms() 109 rows.add(new EpisodicProgramRow(mInputId, program, schedule, mHeaderRow)); in setPrograms() 151 public void onScheduledRecordingAdded(ScheduledRecording schedule) { in onScheduledRecordingAdded() argument 152 if (DEBUG) Log.d(TAG, "onScheduledRecordingAdded: " + schedule); in onScheduledRecordingAdded() 153 int index = findRowIndexByProgramId(schedule.getProgramId()); in onScheduledRecordingAdded() 157 setScheduleToRow(row, schedule); in onScheduledRecordingAdded() 164 public void onScheduledRecordingRemoved(ScheduledRecording schedule) { in onScheduledRecordingRemoved() argument 165 if (DEBUG) Log.d(TAG, "onScheduledRecordingRemoved: " + schedule); in onScheduledRecordingRemoved() [all …]
|
D | ScheduleRowAdapter.java | 172 private ScheduleRow findRowWithStartRequest(ScheduledRecording schedule) { in findRowWithStartRequest() argument 181 && row.matchSchedule(schedule)) { in findRowWithStartRequest() 269 public void onScheduledRecordingAdded(ScheduledRecording schedule) { in onScheduledRecordingAdded() argument 270 if (DEBUG) Log.d(TAG, "onScheduledRecordingAdded: " + schedule); in onScheduledRecordingAdded() 271 ScheduleRow row = findRowWithStartRequest(schedule); in onScheduledRecordingAdded() 278 addScheduleRow(schedule); in onScheduledRecordingAdded() 284 public void onScheduledRecordingRemoved(ScheduledRecording schedule) { in onScheduledRecordingRemoved() argument 285 if (DEBUG) Log.d(TAG, "onScheduledRecordingRemoved: " + schedule); in onScheduledRecordingRemoved() 286 ScheduleRow row = findRowByScheduledRecording(schedule); in onScheduledRecordingRemoved() 295 public void onScheduledRecordingUpdated(ScheduledRecording schedule, boolean conflictChange) { in onScheduledRecordingUpdated() argument [all …]
|
D | DvrHistoryRowAdapter.java | 162 public void onScheduledRecordingAdded(ScheduledRecording schedule) { in onScheduledRecordingAdded() argument 164 Log.d(TAG, "onScheduledRecordingAdded: " + schedule); in onScheduledRecordingAdded() 166 if (findRowByScheduledRecording(schedule) == null in onScheduledRecordingAdded() 167 && (schedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED in onScheduledRecordingAdded() 168 || schedule.getState() == ScheduledRecording.STATE_RECORDING_CLIPPED in onScheduledRecordingAdded() 169 || schedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED)) { in onScheduledRecordingAdded() 170 addScheduleRow(schedule); in onScheduledRecordingAdded() 181 ScheduledRecording schedule = in onScheduledRecordingAdded() local 183 if (schedule == null) { in onScheduledRecordingAdded() 186 addScheduleRow(schedule); in onScheduledRecordingAdded() [all …]
|
D | ScheduleRow.java | 71 public void setSchedule(@Nullable ScheduledRecording schedule) { in setSchedule() argument 72 mSchedule = schedule; in setSchedule() 168 public boolean matchSchedule(ScheduledRecording schedule) { in matchSchedule() argument 173 return mSchedule.getChannelId() == schedule.getChannelId() in matchSchedule() 174 && mSchedule.getStartTimeMs() == schedule.getStartTimeMs() in matchSchedule() 175 && mSchedule.getEndTimeMs() == schedule.getEndTimeMs(); in matchSchedule() 177 return mSchedule.getProgramId() == schedule.getProgramId(); in matchSchedule()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/ |
D | DvrDbSyncTest.java | 189 ScheduledRecording schedule = ScheduledRecording.buildFrom(baseSchedule) in testHandleUpdateProgram_addOffsetNotStarted() local 193 addSchedule(BASE_PROGRAM_ID, schedule); in testHandleUpdateProgram_addOffsetNotStarted() 196 ScheduledRecording.buildFrom(schedule) in testHandleUpdateProgram_addOffsetNotStarted() 206 ScheduledRecording schedule = in testHandleUpdateProgram_addOffsetInProgress() local 212 addSchedule(BASE_PROGRAM_ID, schedule); in testHandleUpdateProgram_addOffsetInProgress() 215 ScheduledRecording.buildFrom(schedule) in testHandleUpdateProgram_addOffsetInProgress() 224 ScheduledRecording schedule = in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() local 231 addSchedule(BASE_PROGRAM_ID, schedule); in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() 241 ScheduledRecording.buildFrom(schedule) in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() 251 ScheduledRecording schedule = in testHandleUpdateProgram_changeTimeInProgressWithScheduleOffsets() local [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModeSetSchedulePreferenceController.java | 97 private String getScheduleDurationDescription(ZenModeConfig.ScheduleInfo schedule) { in getScheduleDurationDescription() argument 98 final int startMin = 60 * schedule.startHour + schedule.startMinute; in getScheduleDurationDescription() 99 final int endMin = 60 * schedule.endHour + schedule.endMinute; in getScheduleDurationDescription() 117 protected Function<ZenMode, ZenMode> updateScheduleMode(ZenModeConfig.ScheduleInfo schedule) { in updateScheduleMode() argument 119 zenMode.getRule().setConditionId(ZenModeConfig.toScheduleConditionId(schedule)); in updateScheduleMode() 122 SystemZenRules.getTriggerDescriptionForScheduleTime(mContext, schedule)); in updateScheduleMode() 173 protected void setupDayToggles(ViewGroup dayContainer, ZenModeConfig.ScheduleInfo schedule, 191 if (schedule.days != null) { 192 for (int idx = 0; idx < schedule.days.length; idx++) { 193 if (schedule.days[idx] == day) { [all …]
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | DvrHistoryDialogFragment.java | 59 for (ScheduledRecording schedule : dataManager.getAllScheduledRecordings()) { in onCreateDialog() 60 if (!schedule.isInProgress() && !schedule.isNotStarted()) { in onCreateDialog() 61 mSchedules.add(schedule); in onCreateDialog() 75 ScheduledRecording schedule = mSchedules.get(position); in onCreateDialog() 76 setText(view, R.id.state, getStateString(schedule.getState())); in onCreateDialog() 77 setText(view, R.id.schedule_time, getRecordingTimeText(schedule)); in onCreateDialog() 82 getContext(), schedule, 0)); in onCreateDialog() 83 setText(view, R.id.channel_name, getChannelNameText(schedule)); in onCreateDialog() 110 private String getChannelNameText(ScheduledRecording schedule) { in onCreateDialog() 111 Channel channel = channelDataManager.getChannel(schedule.getChannelId()); in onCreateDialog() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeSetSchedulePreferenceControllerTest.java | 102 ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in testUpdateScheduleDays() local 105 assertThat(ZenModeSetSchedulePreferenceController.updateScheduleDays(schedule, in testUpdateScheduleDays() 111 assertThat(ZenModeSetSchedulePreferenceController.updateScheduleDays(schedule, in testUpdateScheduleDays() 113 assertThat(ZenModeSetSchedulePreferenceController.updateScheduleDays(schedule, in testUpdateScheduleDays() 115 assertThat(schedule.days).hasLength(2); in testUpdateScheduleDays() 116 assertThat(schedule.days).asList().containsExactly(Calendar.MONDAY, Calendar.FRIDAY); in testUpdateScheduleDays() 119 assertThat(ZenModeSetSchedulePreferenceController.updateScheduleDays(schedule, in testUpdateScheduleDays() 121 assertThat(schedule.days).hasLength(1); in testUpdateScheduleDays() 122 assertThat(schedule.days).asList().containsExactly(Calendar.FRIDAY); in testUpdateScheduleDays() 129 ZenModeConfig.ScheduleInfo schedule = new ZenModeConfig.ScheduleInfo(); in testSetupDayToggles_daysOfWeekOrder() local [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleScheduleHelper.java | 52 public String getDaysDescription(Context context, ScheduleInfo schedule) { in getDaysDescription() argument 54 final int[] days = schedule.days; in getDaysDescription() 84 public String getShortDaysSummary(Context context, ScheduleInfo schedule) { in getShortDaysSummary() argument 87 final int[] days = schedule.days; in getShortDaysSummary() 176 public String getDaysAndTimeSummary(Context context, ScheduleInfo schedule) { in getDaysAndTimeSummary() argument 178 String daysSummary = getShortDaysSummary(context, schedule); in getDaysAndTimeSummary() 186 timeString(context, schedule.startHour, schedule.startMinute), in getDaysAndTimeSummary() 187 timeString(context, schedule.endHour, schedule.endMinute))); in getDaysAndTimeSummary()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | BackgroundScanScheduler.java | 437 WifiNative.ScanSettings schedule = new WifiNative.ScanSettings(); in createSchedule() local 438 schedule.num_buckets = bucketList.size(); in createSchedule() 439 schedule.buckets = new WifiNative.BucketSettings[bucketList.size()]; in createSchedule() 441 schedule.max_ap_per_scan = 0; in createSchedule() 442 schedule.report_threshold_num_scans = getMaxBatch(); in createSchedule() 447 schedule.buckets[bucketId] = in createSchedule() 451 if (settings.numBssidsPerScan > schedule.max_ap_per_scan) { in createSchedule() 452 schedule.max_ap_per_scan = settings.numBssidsPerScan; in createSchedule() 456 && settings.maxScansToCache < schedule.report_threshold_num_scans) { in createSchedule() 457 schedule.report_threshold_num_scans = settings.maxScansToCache; in createSchedule() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/hideable/ |
D | AutoHideSchedulerTest.java | 59 public void schedule() { in schedule() method in AutoHideSchedulerTest 60 mAutoHideScheduler.schedule(10); in schedule() 68 mAutoHideScheduler.schedule(10); in setA11yEnabledThenSchedule() 75 mAutoHideScheduler.schedule(10); in scheduleThenCancel() 84 mAutoHideScheduler.schedule(10); in scheduleThenLoop() 97 mAutoHideScheduler.schedule(10); in scheduleSetA11yEnabledThenLoop()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectDailyJobsTest.java | 51 HealthConnectDailyJobs.schedule(mContext, 0); in testJobSchedule() 52 verify(mJobScheduler, times(1)).schedule(any()); in testJobSchedule() 53 HealthConnectDailyJobs.schedule(mContext, 1); in testJobSchedule() 54 verify(mJobScheduler, times(2)).schedule(any()); in testJobSchedule()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrConflictFragment.java | 114 for (ScheduledRecording schedule : getConflicts()) { in getConflictDescription() 115 String scheduleTitle = getScheduleTitle(schedule); in getConflictDescription() 156 private String getScheduleTitle(ScheduledRecording schedule) { in getScheduleTitle() argument 157 if (schedule.getType() == ScheduledRecording.TYPE_TIMED) { in getScheduleTitle() 161 .getChannel(schedule.getChannelId()); in getScheduleTitle() 168 return schedule.getProgramTitle(); in getScheduleTitle() 357 for (ScheduledRecording schedule : mConflicts) { in onTrackedGuidedActionClicked() 358 if (schedule.getState() == ScheduledRecording.STATE_RECORDING_IN_PROGRESS) { in onTrackedGuidedActionClicked() 359 getDvrManager().stopRecording(schedule); in onTrackedGuidedActionClicked() 361 getDvrManager().removeScheduledRecording(schedule); in onTrackedGuidedActionClicked()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | BackgroundKeyFetchJobServiceTest.java | 138 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobConsentRevokedGaUxDisabled() 162 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobAdSelectionDataKillSwitchOn() 323 ExtendedMockito.verify(() -> BackgroundKeyFetchJobService.schedule(any(), any()), never()); in testScheduleIfNeededFlagDisabled() 331 doNothing().when(() -> BackgroundKeyFetchJobService.schedule(any(), any())); in testScheduleIfNeededSuccess() 336 ExtendedMockito.verify(() -> BackgroundKeyFetchJobService.schedule(any(), any())); in testScheduleIfNeededSuccess() 348 JOB_SCHEDULER.schedule(existingJobInfo); in testScheduleIfNeededSkippedAlreadyScheduled() 357 ExtendedMockito.verify(() -> BackgroundKeyFetchJobService.schedule(any(), any()), never()); in testScheduleIfNeededSkippedAlreadyScheduled() 369 JOB_SCHEDULER.schedule(existingJobInfo); in testScheduleIfNeededForceSuccess() 374 doNothing().when(() -> BackgroundKeyFetchJobService.schedule(any(), any())); in testScheduleIfNeededForceSuccess() 379 ExtendedMockito.verify(() -> BackgroundKeyFetchJobService.schedule(any(), any())); in testScheduleIfNeededForceSuccess() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/ |
D | MddJobServiceTest.java | 100 doReturn(0).when(mMockJobScheduler).schedule(any()); in setup() 128 verify(mMockJobScheduler, times(1)).schedule(any()); in onStartJobTest() 148 mJobScheduler.schedule(jobInfo); in onStartJobTestKillSwitchEnabled() 157 verify(mMockJobScheduler, times(0)).schedule(any()); in onStartJobTestKillSwitchEnabled() 180 mJobScheduler.schedule(jobInfo); in onStartJobTestUserControlRevoked() 189 verify(mMockJobScheduler, times(0)).schedule(any()); in onStartJobTestUserControlRevoked() 202 verify(mMockJobScheduler, times(0)).schedule(any()); in onStartJobNoTaskTagTest() 223 verify(mMockJobScheduler, times(0)).schedule(any()); in onStartJobFailHandleTaskTest() 234 verify(mMockJobScheduler, times(0)).schedule(any()); in onStopJobTest()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | DebugReportSenderJobServiceTest.java | 178 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobAdSelectionKillSwitchFlagEnabled() 204 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobEnableDebugReportingFlagDisabled() 234 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobGaUxFlagDisabled() 264 JOB_SCHEDULER.schedule(existingJobInfo); in testOnStartJobConsentRevokedGaUxDisabled() 282 ExtendedMockito.verify(() -> DebugReportSenderJobService.schedule(any(), any()), never()); in testScheduleIfNeededFlagDisabled() 291 doNothing().when(() -> DebugReportSenderJobService.schedule(any(), any())); in testScheduleIfNeededSuccess() 295 ExtendedMockito.verify(() -> DebugReportSenderJobService.schedule(any(), any())); in testScheduleIfNeededSuccess() 308 JOB_SCHEDULER.schedule(existingJobInfo); in testScheduleIfNeededSkippedAlreadyScheduled() 316 ExtendedMockito.verify(() -> DebugReportSenderJobService.schedule(any(), any()), never()); in testScheduleIfNeededSkippedAlreadyScheduled() 329 JOB_SCHEDULER.schedule(existingJobInfo); in testScheduleIfNeededForceSuccess() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/ |
D | BackupRestoreTest.java | 230 BackupRestore.BackupRestoreJobService.schedule( in testSetDataDownloadState_downloadStarted_schedulesDownloadTimeoutJob() 251 BackupRestore.BackupRestoreJobService.schedule( in testSetDataDownloadState_downloadRetry_schedulesDownloadTimeoutJob() 271 BackupRestore.BackupRestoreJobService.schedule( in testSetInternalRestoreState_waitingForStaging_schedulesStagingTimeoutJob() 291 BackupRestore.BackupRestoreJobService.schedule( in testSetInternalRestoreState_stagingInProgress_schedulesStagingTimeoutJob() 312 BackupRestore.BackupRestoreJobService.schedule( in testSetInternalRestoreState_mergingInProgress_schedulesMergingTimeoutJob() 332 BackupRestore.BackupRestoreJobService.schedule( in testScheduleAllPendingJobs_downloadStarted_schedulesDownloadTimeoutJob() 350 BackupRestore.BackupRestoreJobService.schedule( in testScheduleAllPendingJobs_downloadRetry_schedulesDownloadTimeoutJob() 367 BackupRestore.BackupRestoreJobService.schedule( in testDownloadTimeoutJob_downloadLatencyNotElapsed_usesDefaultLatency() 393 BackupRestore.BackupRestoreJobService.schedule( in testDownloadTimeoutJob_downloadLatencyElapsed_usesMinimumLatency() 413 BackupRestore.BackupRestoreJobService.schedule( in testScheduleAllPendingJobs_waitingForStaging_schedulesStagingTimeoutJob() [all …]
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/ |
D | FederatedComputeManagerTest.java | 171 NullPointerException.class, () -> manager.schedule(request, null, null)); in testScheduleFederatedCompute() 174 manager.schedule(request, Executors.newSingleThreadExecutor(), null); in testScheduleFederatedCompute() 178 doThrow(new RemoteException()).when(mMockIService).schedule(any(), any(), any()); in testScheduleFederatedCompute() 181 manager.schedule(request, Runnable::run, spyCallback); in testScheduleFederatedCompute() 197 .schedule(any(), any(), any()); in testScheduleFederatedCompute() 200 manager.schedule(request, Runnable::run, spyCallback); in testScheduleFederatedCompute() 216 .schedule(any(), any(), any()); in testScheduleFederatedCompute() 219 manager.schedule(request, Runnable::run, spyCallback); in testScheduleFederatedCompute()
|