Home
last modified time | relevance | path

Searched refs:JobServiceLoggingCallback (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java42 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
105 AdServicesJobServiceLogger logger, JobServiceLoggingCallback callback) in verifyBackgroundJobsSkipLogged()
115 JobServiceLoggingCallback onStartJobCallback, in verifyJobFinishedLogged()
116 JobServiceLoggingCallback onJobDoneCallback) in verifyJobFinishedLogged()
127 AdServicesJobServiceLogger logger, JobServiceLoggingCallback callback) in verifyOnStopJobLogged()
181 public static JobServiceLoggingCallback syncPersistJobExecutionData( in syncPersistJobExecutionData()
183 JobServiceLoggingCallback callback = new JobServiceLoggingCallback(); in syncPersistJobExecutionData()
208 public static JobServiceLoggingCallback syncLogExecutionStats( in syncLogExecutionStats()
210 JobServiceLoggingCallback callback = new JobServiceLoggingCallback(); in syncLogExecutionStats()
243 AdServicesJobServiceLogger logger, JobServiceLoggingCallback callback) in verifyOnStartJobLogged()
[all …]
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/
DSharedMockitoMocker.java29 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
46 public JobServiceLoggingCallback syncRecordOnStopJob(JobServiceLogger logger) { in syncRecordOnStopJob()
47 JobServiceLoggingCallback callback = new JobServiceLoggingCallback(); in syncRecordOnStopJob()
DSharedMocker.java22 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
37 JobServiceLoggingCallback syncRecordOnStopJob(JobServiceLogger logger); in syncRecordOnStopJob()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DJobServiceLoggingCallback.java33 public final class JobServiceLoggingCallback extends DeviceSideSyncCallback { class
35 public JobServiceLoggingCallback() { in JobServiceLoggingCallback() method in JobServiceLoggingCallback
39 public JobServiceLoggingCallback(SyncCallbackSettings settings) { in JobServiceLoggingCallback() method in JobServiceLoggingCallback
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DJobServiceLoggingCallbackTest.java20 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
31 JobServiceLoggingCallback callback = in testCustomMethods()
32 new JobServiceLoggingCallback( in testCustomMethods()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochJobServiceTest.java58 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
139 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(mSpyLogger); in testOnStartJob_killSwitchOff_withLogging()
140 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in testOnStartJob_killSwitchOff_withLogging()
166 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in testOnStartJob_killSwitchOn_withLogging()
207 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(mSpyLogger); in testOnStartJob_speEnabled()
208 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in testOnStartJob_speEnabled()
228 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in testOnStopJob_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobServiceTest.java58 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
137 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobFlagDisabled_withLogging()
182 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobConsentRevokedGaUxEnabled_withLogging()
236 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateSuccess_withLogging()
237 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateSuccess_withLogging()
260 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
261 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
332 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStopJob_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DBackgroundFetchJobServiceTest.java64 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
159 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobFlagDisabled_withLogging()
160 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobFlagDisabled_withLogging()
217 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobConsentRevokedGaUxEnabled_withLogging()
287 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateSuccess_withLogging()
288 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateSuccess_withLogging()
317 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
318 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
408 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStopJob_withLogging()
DScheduleCustomAudienceUpdateJobServiceTest.java59 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
193 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobFlagDisabled_withLogging()
288 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobConsentRevokedGaUxEnabled_withLogging()
410 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateSuccess_withLogging()
411 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateSuccess_withLogging()
478 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
479 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateTimeoutHandled_withLogging()
618 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStopJob_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DDebugReportSenderJobServiceTest.java64 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
156 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStartJobFlagDisabledWithLogging()
383 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateTimeoutHandledWithLogging()
384 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateTimeoutHandledWithLogging()
492 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in testOnStopJobWithLogging()
516 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobConsentRevokedGaUxEnabledWithLogging()
517 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobConsentRevokedGaUxEnabledWithLogging()
546 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(logger); in testOnStartJobUpdateSuccessWithLogging()
547 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in testOnStartJobUpdateSuccessWithLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltJobServiceTest.java52 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
124 JobServiceLoggingCallback callback = syncLogExecutionStats(mLogger); in testOnStartJob_featureDisabled_withLogging()
134 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(mLogger); in testOnStartJob_featureEnabled_withLogging()
135 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mLogger); in testOnStartJob_featureEnabled_withLogging()
154 JobServiceLoggingCallback callback = syncLogExecutionStats(mLogger); in testOnStopJob_withLogging()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/
DSharedMockitoTestCase.java23 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
53 public JobServiceLoggingCallback syncRecordOnStopJob(JobServiceLogger logger) { in syncRecordOnStopJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonSignJoinBackgroundJobServiceTest.java54 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
136 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(logger); in onStartJob_jobStartsAndJobFinishedLogged()
153 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in onStartJob_withDisabledExtServicesJobOnTPlus_skipsAndCancelsBackgroundJob()
181 JobServiceLoggingCallback callback = syncLogExecutionStats(logger); in onStartJob_withBackgroundProcessFlagDisabled_skipsAndCancelsBackgroundJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddJobServiceTest.java65 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
180 JobServiceLoggingCallback onStartJobCallback = syncPersistJobExecutionData(mLogger); in testOnStartJob_killswitchIsOff_withLogging()
181 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mLogger); in testOnStartJob_killswitchIsOff_withLogging()
204 JobServiceLoggingCallback callback = syncLogExecutionStats(mLogger); in testOnStartJob_killSwitchOn_withLogging()
250 JobServiceLoggingCallback callback = syncLogExecutionStats(mLogger); in testOnStopJob_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DDeleteUninstalledJobServiceTest.java56 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
114 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
139 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
141 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DDeleteExpiredJobServiceTest.java58 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
131 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
156 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
158 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesExtendedMockitoTestCase.java35 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
206 public JobServiceLoggingCallback syncRecordOnStopJob(JobServiceLogger logger) { in syncRecordOnStopJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportingFallbackJobServiceTest.java62 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
136 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
161 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
163 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DImmediateAggregateReportingJobServiceTest.java61 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
136 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
161 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
163 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DEventFallbackReportingJobServiceTest.java63 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
145 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
170 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
172 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DAggregateReportingJobServiceTest.java61 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
143 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
168 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
170 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DVerboseDebugReportingFallbackJobServiceTest.java64 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
138 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
163 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
165 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
DEventReportingJobServiceTest.java59 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
136 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
161 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
163 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationFallbackJobServiceTest.java62 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
135 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
160 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
162 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionFallbackJobServiceTest.java65 import com.android.adservices.shared.testing.JobServiceLoggingCallback;
144 JobServiceLoggingCallback callback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOn_withLogging()
171 JobServiceLoggingCallback onStartJobCallback = in onStartJob_killSwitchOff_withLogging()
173 JobServiceLoggingCallback onJobDoneCallback = syncLogExecutionStats(mSpyLogger); in onStartJob_killSwitchOff_withLogging()

12