Searched refs:runSingleInstance (Results 1 – 8 of 8) sorted by relevance
45 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 …]
80 return mSingletonRunner.runSingleInstance(); in updateCustomAudience()
139 return mSingletonRunner.runSingleInstance(); in runBackgroundFetch()
73 public FluentFuture<T> runSingleInstance() { in runSingleInstance() method in SingletonRunner
85 return mSingletonRunner.runSingleInstance(); in runSignJoinBackgroundProcess()
119 return mSingletonRunner.runSingleInstance(); in runDebugReportSender()
298 return mSingletonRunner.runSingleInstance(); in runBackgroundKeyFetch()
181 return mSingletonRunner.runSingleInstance(); in encodeProtectedSignals()