Home
last modified time | relevance | path

Searched refs:runWithMocks (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java170 runWithMocks(Api.REGISTER_SOURCE, new AccessDenier(), this::registerSourceAndAssertSuccess); in testRegisterSource_success()
177 runWithMocks( in testRegisterSource_sessionStableEnabledAndKillSwitchFlipOn_success()
191 runWithMocks( in testRegisterSource_sessionStableDisabledAndKillSwitchFlipOn_failureByKillSwitch()
205 runWithMocks( in testRegisterSource_sessionStableEnabledAndKillSwitchFlipOff_failureByKillSwitch()
219 runWithMocks( in testRegisterSource_sessionStableDisabledAndKillSwitchFlipOff_success()
286 runWithMocks( in testRegisterSource_failureByDevContextAccessResolver()
297 runWithMocks( in testRegisterSource_failureByDevContextAccessResolver_logFailureReason()
307 runWithMocks( in testRegisterSource_failureByAppPackageMsmtApiAccessResolver()
318 runWithMocks( in testRegisterSource_failureByAppPackageMsmtApiAccessResolver_logFailureReason()
329 runWithMocks( in testRegisterSource_failureByAttributionPermissionResolver()
[all …]
DDeleteUninstalledJobServiceTest.java99 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
111 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
124 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
136 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
151 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
164 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
179 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
207 runWithMocks( in scheduleIfNeeded_sameJobInfo_dontSchedule() method
242 runWithMocks( in scheduleIfNeeded_diffJobInfo_doesSchedule() method
279 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() method
[all …]
DDeleteExpiredJobServiceTest.java116 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
128 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
141 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
153 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
168 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
181 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
196 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
224 runWithMocks( in scheduleIfNeeded_sameJobInfoNoForceSchedule_dontSchedule() method
260 runWithMocks( in scheduleIfNeeded_diffJobInfoNoForceSchedule_dontSchedule() method
296 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() method
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DImmediateAggregateReportingJobServiceTest.java121 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
133 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
146 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
158 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
173 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
203 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
217 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
232 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
262 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
301 runWithMocks( in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() method
[all …]
DEventFallbackReportingJobServiceTest.java130 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
142 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
155 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
167 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
182 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
218 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
231 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
246 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
275 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
313 runWithMocks( in scheduleIfNeeded_diffJobInfo_doesSchedule() method
[all …]
DAggregateReportingJobServiceTest.java128 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
140 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
153 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
165 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
180 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
210 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
224 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
239 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
268 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
306 runWithMocks( in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() method
[all …]
DEventReportingJobServiceTest.java121 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
133 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
146 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
158 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
173 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
208 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
221 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
236 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
265 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
303 runWithMocks( in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() method
[all …]
DDebugReportingFallbackJobServiceTest.java121 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
133 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
146 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
158 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
173 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
207 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
220 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
235 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
264 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
301 runWithMocks( in scheduleIfNeeded_diffJobInfo_doesSchedule() method
[all …]
DAggregateFallbackReportingJobServiceTest.java132 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
144 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
157 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
169 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
184 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
214 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
227 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
242 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
272 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
312 runWithMocks( in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() method
[all …]
DVerboseDebugReportingFallbackJobServiceTest.java123 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
135 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
148 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
160 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
175 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
218 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
231 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
246 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
275 runWithMocks( in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() method
313 runWithMocks( in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule() method
[all …]
DVerboseDebugReportingJobServiceTest.java107 runWithMocks( in onStartJob_killSwitchOn() method
131 runWithMocks( in onStartJob_killSwitchOff() method
164 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
209 runWithMocks( in onStartJob_shouldDisableJobTrue() method
239 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
267 runWithMocks( in scheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() method
302 runWithMocks( in scheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_doesSchedule() method
338 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() method
366 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() method
392 runWithMocks( in testOnStopJob_stopsExecutingThread() method
[all …]
DDebugReportingJobServiceTest.java110 runWithMocks( in onStartJob_killSwitchOn() method
133 runWithMocks( in onStartJob_killSwitchOff() method
167 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
208 runWithMocks( in onStartJob_shouldDisableJobTrue() method
234 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
262 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() method
295 runWithMocks( in scheduleIfNeeded_withDifferentJobInfo_doesSchedule() method
329 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() method
357 runWithMocks( in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() method
383 runWithMocks( in testOnStopJob_stopsExecutingThread() method
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java129 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
141 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
154 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
166 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
183 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
220 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
233 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
249 runWithMocks( in testRescheduling_threadInterruptedWhileProcessingRecords_dontRescheduleManually() method
281 runWithMocks( in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually() method
315 runWithMocks( in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately() method
[all …]
DAsyncRegistrationFallbackJobServiceTest.java120 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
132 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
145 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
157 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
172 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
207 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
220 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
250 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
279 runWithMocks( in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() method
318 runWithMocks( in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule() method
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobServiceTest.java120 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
132 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
145 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
157 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
172 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
217 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
230 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
246 runWithMocks( in testRescheduling_failureWhileProcessingRecords_dontRescheduleManually() method
284 runWithMocks( in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually() method
337 runWithMocks( in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately() method
[all …]
DAttributionFallbackJobServiceTest.java128 runWithMocks( in onStartJob_killSwitchOn_withoutLogging() method
141 runWithMocks( in onStartJob_killSwitchOn_withLogging() method
155 runWithMocks( in onStartJob_killSwitchOff_withoutLogging() method
168 runWithMocks( in onStartJob_killSwitchOff_withLogging() method
184 runWithMocks( in onStartJob_killSwitchOff_unlockingCheck() method
220 runWithMocks( in onStartJob_shouldDisableJobTrue_withoutLogging() method
233 runWithMocks( in onStartJob_shouldDisableJobTrue_withLoggingEnabled() method
249 runWithMocks( in scheduleIfNeeded_killSwitchOn_dontSchedule() method
277 runWithMocks( in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() method
317 runWithMocks( in scheduleIfNeeded_sameJobInfoDontForceSchedule_doesSchedule() method
[all …]
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/
DMeasurementServiceTest.java121 runWithMocks( in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentGiven()
144 runWithMocks( in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentRevoked()
164 runWithMocks( in testBindableMeasurementService_killSwitchOn_gaUxEnabled()
190 private void runWithMocks( in runWithMocks() method in MeasurementServiceTest