Home
last modified time | relevance | path

Searched refs:getFutureForTesting (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java166 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff_unlockingCheck()
175 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff_unlockingCheck()
227 mSpyService.getFutureForTesting().get(); in testRescheduling_threadInterruptedWhileProcessingRecords_dontRescheduleManually()
261 mSpyService.getFutureForTesting().get(); in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
299 mSpyService.getFutureForTesting().get(); in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately()
568 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
573 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
607 mSpyService.getFutureForTesting().get(); in cancelDeprecatedAsyncRegistrationJob_withPendingJob_cancelsSuccessfully()
642 mSpyService.getFutureForTesting().get(); in cancelDeprecatedAsyncRegistrationJob_withoutPendingJob_doesntCancel()
697 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff()
DAsyncRegistrationFallbackJobServiceTest.java370 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
376 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
437 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/attribution/
DAttributionJobServiceTest.java154 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff_unlockingCheck()
166 mSpyService.getFutureForTesting().get(); in onStartJob_killSwitchOff_unlockingCheck()
215 mSpyService.getFutureForTesting().get(); in testRescheduling_failureWhileProcessingRecords_dontRescheduleManually()
269 mSpyService.getFutureForTesting().get(); in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
318 mSpyService.getFutureForTesting().get(); in testRescheduling_hasMoreRecordsToProcess_rescheduleImmediately()
628 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
634 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DAttributionFallbackJobServiceTest.java376 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
382 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/
DReportingJobServiceTest.java456 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
461 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
548 mSpyService.getFutureForTesting().get(); in onStartJob_featureEnabled()
DDebugReportingJobServiceTest.java373 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
379 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DImmediateAggregateReportingJobServiceTest.java362 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
368 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DDebugReportingFallbackJobServiceTest.java344 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
350 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DVerboseDebugReportingJobServiceTest.java385 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
391 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DVerboseDebugReportingFallbackJobServiceTest.java357 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
363 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DAggregateReportingJobServiceTest.java364 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
370 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DEventReportingJobServiceTest.java361 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
367 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DEventFallbackReportingJobServiceTest.java386 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
392 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
DAggregateFallbackReportingJobServiceTest.java378 assertNotNull(mSpyService.getFutureForTesting()); in testOnStopJob_stopsExecutingThread()
384 assertTrue(mSpyService.getFutureForTesting().isCancelled()); in testOnStopJob_stopsExecutingThread()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobServiceTest.java272 assertThat(mSpyService.getFutureForTesting()).isNotNull(); in testOnStopJob_stopsExecutingThread()
277 assertThat(mSpyService.getFutureForTesting().isCancelled()).isTrue(); in testOnStopJob_stopsExecutingThread()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobService.java185 public Future getFutureForTesting() { in getFutureForTesting() method in EncryptionKeyJobService
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DVerboseDebugReportingJobService.java185 Future getFutureForTesting() { in getFutureForTesting() method in VerboseDebugReportingJobService
DEventFallbackReportingJobService.java217 Future getFutureForTesting() { in getFutureForTesting() method in EventFallbackReportingJobService
DEventReportingJobService.java209 Future getFutureForTesting() { in getFutureForTesting() method in EventReportingJobService
DVerboseDebugReportingFallbackJobService.java214 Future getFutureForTesting() { in getFutureForTesting() method in VerboseDebugReportingFallbackJobService
DDebugReportingJobService.java201 Future getFutureForTesting() { in getFutureForTesting() method in DebugReportingJobService
DAggregateFallbackReportingJobService.java225 Future getFutureForTesting() { in getFutureForTesting() method in AggregateFallbackReportingJobService
DDebugReportingFallbackJobService.java227 Future getFutureForTesting() { in getFutureForTesting() method in DebugReportingFallbackJobService
DAggregateReportingJobService.java218 Future getFutureForTesting() { in getFutureForTesting() method in AggregateReportingJobService
DImmediateAggregateReportingJobService.java222 Future getFutureForTesting() { in getFutureForTesting() method in ImmediateAggregateReportingJobService

12