Searched refs:BackgroundFetchWorker (Results 1 – 7 of 7) sorted by relevance
91 @SpyStatic(BackgroundFetchWorker.class)109 @Mock private BackgroundFetchWorker mBgFWorkerMock;194 verifyNoMoreInteractions(staticMockMarker(BackgroundFetchWorker.class)); in testOnStartJobConsentRevokedGaUxDisabled()247 verifyNoMoreInteractions(staticMockMarker(BackgroundFetchWorker.class)); in testOnStartJobCustomAudienceKillSwitchOn()334 doReturn(mBgFWorkerMock).when(() -> BackgroundFetchWorker.getInstance(any())); in testOnStartJobUpdateInterruptedHandled()351 verify(() -> BackgroundFetchWorker.getInstance(mBgFJobServiceSpy)); in testOnStartJobUpdateInterruptedHandled()354 verifyNoMoreInteractions(staticMockMarker(BackgroundFetchWorker.class)); in testOnStartJobUpdateInterruptedHandled()366 doReturn(mBgFWorkerMock).when(() -> BackgroundFetchWorker.getInstance(any())); in testOnStartJobUpdateExecutionExceptionHandled()384 verify(() -> BackgroundFetchWorker.getInstance(mBgFJobServiceSpy)); in testOnStartJobUpdateExecutionExceptionHandled()387 verifyNoMoreInteractions(staticMockMarker(BackgroundFetchWorker.class)); in testOnStartJobUpdateExecutionExceptionHandled()[all …]
125 private BackgroundFetchWorker mBackgroundFetchWorker;162 new BackgroundFetchWorker( in setup()175 new BackgroundFetchWorker( in testBackgroundFetchWorkerNullInputsCauseFailure()185 new BackgroundFetchWorker( in testBackgroundFetchWorkerNullInputsCauseFailure()195 new BackgroundFetchWorker( in testBackgroundFetchWorkerNullInputsCauseFailure()205 new BackgroundFetchWorker( in testBackgroundFetchWorkerNullInputsCauseFailure()214 new BackgroundFetchWorker( in testBackgroundFetchWorkerNullInputsCauseFailure()270 BackgroundFetchWorker backgroundFetchWorkerThatTimesOut = in testRunBackgroundFetchThrowsTimeoutDuringUpdates()271 new BackgroundFetchWorker( in testRunBackgroundFetchThrowsTimeoutDuringUpdates()347 new BackgroundFetchWorker(
70 @MockStatic(BackgroundFetchWorker.class)76 @Mock private BackgroundFetchWorker mMockBackgroundFetchWorker;93 doReturn(mMockBackgroundFetchWorker).when(() -> BackgroundFetchWorker.getInstance(any())); in setup()
59 public class BackgroundFetchWorker { class63 private static volatile BackgroundFetchWorker sBackgroundFetchWorker;74 protected BackgroundFetchWorker( in BackgroundFetchWorker() method in BackgroundFetchWorker98 public static BackgroundFetchWorker getInstance(@NonNull Context context) { in getInstance()112 new BackgroundFetchWorker( in getInstance()
116 BackgroundFetchWorker.getInstance(this) in onStartJob()206 BackgroundFetchWorker.getInstance(this).stopWork(); in onStopJob()
61 return BackgroundFetchWorker.getInstance(context) in getExecutionFuture()
22 import com.android.adservices.service.customaudience.BackgroundFetchWorker;