Home
last modified time | relevance | path

Searched refs:recordJobFinished (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/logging/
DJobServiceLoggerTest.java327 doNothing().when(mLogger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in testRecordJobFinishedByExecutionResult_success()
329 mLogger.recordJobFinished(JOB_ID_1, SUCCESS); in testRecordJobFinishedByExecutionResult_success()
332 .recordJobFinished(JOB_ID_1, /* isSuccessful */ true, /* shouldRetry */ false); in testRecordJobFinishedByExecutionResult_success()
340 doNothing().when(mLogger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in testRecordJobFinishedByExecutionResult_failureWithoutRetry()
342 mLogger.recordJobFinished(JOB_ID_1, FAILURE_WITHOUT_RETRY); in testRecordJobFinishedByExecutionResult_failureWithoutRetry()
345 .recordJobFinished(JOB_ID_1, /* isSuccessful */ false, /* shouldRetry */ false); in testRecordJobFinishedByExecutionResult_failureWithoutRetry()
353 doNothing().when(mLogger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in testRecordJobFinishedByExecutionResult_failureWithRetry()
355 mLogger.recordJobFinished(JOB_ID_1, FAILURE_WITH_RETRY); in testRecordJobFinishedByExecutionResult_failureWithRetry()
358 .recordJobFinished(JOB_ID_1, /* isSuccessful */ false, /* shouldRetry */ true); in testRecordJobFinishedByExecutionResult_failureWithRetry()
366 doNothing().when(mLogger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in testRecordJobFinishedByExecutionResult_invalidResult()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/framework/
DAbstractJobServiceTest.java162 verify(mMockLogger).recordJobFinished(JOB_ID_1, SUCCESS); in testOnStartJob_success()
308 verify(mMockLogger, never()).recordJobFinished(anyInt(), any()); in testOnJobPostExecution_cancelled()
332 verify(mMockLogger).recordJobFinished(JOB_ID_1, FAILURE_WITH_RETRY); in testOnJobPostExecution_onException_WithRetry()
356 verify(mMockLogger).recordJobFinished(JOB_ID_1, FAILURE_WITHOUT_RETRY); in testOnJobPostExecution_onException_WithoutRetry()
394 .recordJobFinished( in testOnStartJob_failure()
488 verify(mMockLogger).recordJobFinished(JOB_ID_1, result); in testOnJobPostExecution_notOnException()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java234 .recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in syncLogExecutionStats()
259 verify(logger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in verifyOnJobFinishedLogged()
285 doCallRealMethod().when(logger).recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in callRealPublicMethodsForBackgroundJobLogging()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/reset/
DResetDataJobService.java98 .recordJobFinished( in onStartJob()
113 .recordJobFinished( in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DMddJobService.java92 .recordJobFinished(jobId, in onStartJob()
105 .recordJobFinished(jobId, in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectionJobService.java127 .recordJobFinished( in onStartJob()
139 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DCobaltJobService.java108 .recordJobFinished( in onStartJob()
123 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonSignJoinBackgroundJobService.java89 .recordJobFinished( in onStartJob()
100 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateJobService.java113 .recordJobFinished( in onStartJob()
127 .recordJobFinished( in onStartJob()
DBackgroundFetchJobService.java127 .recordJobFinished( in onStartJob()
162 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DPeriodicEncodingJobService.java117 .recordJobFinished( in onStartJob()
129 .recordJobFinished( in onStartJob()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobService.java112 .recordJobFinished( in onStartJob()
151 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobServiceTest.java188 .recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in onStartJob_killSwitchOff_unlockingCheck()
268 .recordJobFinished( in testRescheduling_failureWhileProcessingRecords_dontRescheduleManually()
303 .recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
312 .recordJobFinished( in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
357 .recordJobFinished( in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchJobService.java123 .recordJobFinished( in onStartJob()
158 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDebugReportSenderJobService.java131 .recordJobFinished( in onStartJob()
144 .recordJobFinished( in onStartJob()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobService.java148 .recordJobFinished( in onStartJob()
160 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/
DJobServiceLogger.java130 public void recordJobFinished(int jobId, boolean isSuccessful, boolean shouldRetry) { in recordJobFinished() method in JobServiceLogger
161 public void recordJobFinished(int jobId, ExecutionResult executionResult) { in recordJobFinished() method in JobServiceLogger
180 recordJobFinished(jobId, isSuccessful, shouldRetry); in recordJobFinished()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DMaintenanceJobService.java148 .recordJobFinished( in onStartJob()
159 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochJobService.java104 .recordJobFinished( in onStartJob()
123 .recordJobFinished( in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobService.java187 .recordJobFinished( in onStartJob()
202 .recordJobFinished( in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJobService.java182 .recordJobFinished( in onStartJob()
201 .recordJobFinished(jobId, /* isSuccessful= */ false, shouldRetry); in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java267 .recordJobFinished( in testRescheduling_threadInterruptedWhileProcessingRecords_dontRescheduleManually()
299 .recordJobFinished( in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
333 .recordJobFinished( in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DFederatedJobService.java98 .recordJobFinished( in callJobFinished()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DVerboseDebugReportingJobServiceTest.java143 .recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in onStartJob_killSwitchOff()
176 .recordJobFinished(anyInt(), anyBoolean(), anyBoolean()); in onStartJob_killSwitchOff_unlockingCheck()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DDeleteUninstalledJobService.java82 .recordJobFinished( in onStartJob()

12