Home
last modified time | relevance | path

Searched refs:BackgroundKeyFetchWorker (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchJobServiceTest.java75 @SpyStatic(BackgroundKeyFetchWorker.class)
97 @Mock private BackgroundKeyFetchWorker mBgFWorkerMock;
139 verifyNoMoreInteractions(staticMockMarker(BackgroundKeyFetchWorker.class)); in testOnStartJobConsentRevokedGaUxDisabled()
163 verifyNoMoreInteractions(staticMockMarker(BackgroundKeyFetchWorker.class)); in testOnStartJobAdSelectionDataKillSwitchOn()
173 doReturn(mBgFWorkerMock).when(BackgroundKeyFetchWorker::getInstance); in testOnStartJobAdSelectionDataKillSwitchOff()
190 ExtendedMockito.verify(BackgroundKeyFetchWorker::getInstance); in testOnStartJobAdSelectionDataKillSwitchOff()
193 verifyNoMoreInteractions(staticMockMarker(BackgroundKeyFetchWorker.class)); in testOnStartJobAdSelectionDataKillSwitchOff()
206 doReturn(mBgFWorkerMock).when(BackgroundKeyFetchWorker::getInstance); in testOnStartJobUpdateSuccessdd()
221 ExtendedMockito.verify(BackgroundKeyFetchWorker::getInstance); in testOnStartJobUpdateSuccessdd()
224 verifyNoMoreInteractions(staticMockMarker(BackgroundKeyFetchWorker.class)); in testOnStartJobUpdateSuccessdd()
[all …]
DBackgroundKeyFetchWorkerTest.java130 private BackgroundKeyFetchWorker mBackgroundKeyFetchWorker;
156 new BackgroundKeyFetchWorker( in testBackgroundKeyFetchWorker_nullInputs_causeFailure()
166 new BackgroundKeyFetchWorker( in testBackgroundKeyFetchWorker_nullInputs_causeFailure()
176 new BackgroundKeyFetchWorker( in testBackgroundKeyFetchWorker_nullInputs_causeFailure()
186 new BackgroundKeyFetchWorker( in testBackgroundKeyFetchWorker_nullInputs_causeFailure()
196 new BackgroundKeyFetchWorker( in testBackgroundKeyFetchWorker_nullInputs_causeFailure()
453 new BackgroundKeyFetchWorker( in createBackgroundKeyFetchWorker()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchWorker.java65 public final class BackgroundKeyFetchWorker { class
71 private static volatile BackgroundKeyFetchWorker sBackgroundKeyFetchWorker;
82 protected BackgroundKeyFetchWorker( in BackgroundKeyFetchWorker() method in BackgroundKeyFetchWorker
105 public static BackgroundKeyFetchWorker getInstance() { in getInstance()
130 new BackgroundKeyFetchWorker( in getInstance()
DBackgroundKeyFetchJobService.java117 BackgroundKeyFetchWorker.getInstance() in onStartJob()
181 BackgroundKeyFetchWorker.getInstance().stopWork(); in onStopJob()