Home
last modified time | relevance | path

Searched refs:runSingleInstance (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSingletonRunnerTest.java45 singletonRunner.runSingleInstance().get(); in testShouldRunTask()
54 assertThat(singletonRunner.runSingleInstance()) in testShouldReturnSameFutureIfTaskIsNotCompleted()
55 .isSameInstanceAs(singletonRunner.runSingleInstance()); in testShouldReturnSameFutureIfTaskIsNotCompleted()
63 FluentFuture<Integer> firstCall = singletonRunner.runSingleInstance(); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
68 assertThat(firstCall).isNotSameInstanceAs(singletonRunner.runSingleInstance()); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
76 FluentFuture<Integer> firstRunResult = singletonRunner.runSingleInstance(); in testShouldRunOnce()
77 singletonRunner.runSingleInstance(); in testShouldRunOnce()
89 FluentFuture<Integer> firstRunResult = singletonRunner.runSingleInstance(); in testShouldRunOnceMultipleStartStops()
90 FluentFuture<Integer> secondRunResult = singletonRunner.runSingleInstance(); in testShouldRunOnceMultipleStartStops()
92 FluentFuture<Integer> thirdRunResult = singletonRunner.runSingleInstance(); in testShouldRunOnceMultipleStartStops()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateWorker.java80 return mSingletonRunner.runSingleInstance(); in updateCustomAudience()
DBackgroundFetchWorker.java139 return mSingletonRunner.runSingleInstance(); in runBackgroundFetch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DSingletonRunner.java73 public FluentFuture<T> runSingleInstance() { in runSingleInstance() method in SingletonRunner
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonSignJoinBackgroundJobWorker.java85 return mSingletonRunner.runSingleInstance(); in runSignJoinBackgroundProcess()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDebugReportSenderWorker.java119 return mSingletonRunner.runSingleInstance(); in runDebugReportSender()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchWorker.java298 return mSingletonRunner.runSingleInstance(); in runBackgroundKeyFetch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DPeriodicEncodingJobWorker.java181 return mSingletonRunner.runSingleInstance(); in encodeProtectedSignals()