Home
last modified time | relevance | path

Searched refs:BackgroundFetchRunner (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceUpdatableDataTest.java75 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in testBuildUpdatableDataSuccess()
87 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccess()
102 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccess()
127 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled()
140 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled()
159 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled()
185 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled()
198 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled()
218 BackgroundFetchRunner.UpdateResultType.SUCCESS, in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled()
243 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in testBuildUpdatableDataSuccessWithAuctionServerFlagsDisabled()
[all …]
DBackgroundFetchRunnerTest.java111 private BackgroundFetchRunner mBackgroundFetchRunnerSpy;
135 new BackgroundFetchRunner( in setup()
206 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
216 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
226 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
236 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
246 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
256 new BackgroundFetchRunner( in testBackgroundFetchRunnerNullInputsCauseFailure()
416 BackgroundFetchRunner runner = in testFetchAndValidateSuccessfulFullCustomAudienceUpdatableDataWithAuctionServerRequestFlagsEnabled()
417 new BackgroundFetchRunner( in testFetchAndValidateSuccessfulFullCustomAudienceUpdatableDataWithAuctionServerRequestFlagsEnabled()
[all …]
DBackgroundFetchWorkerTest.java64 import com.android.adservices.service.customaudience.BackgroundFetchRunner.UpdateResultType;
124 private BackgroundFetchRunner mBackgroundFetchRunnerSpy;
153 new BackgroundFetchRunner( in setup()
231 class BackgroundFetchRunnerWithSleep extends BackgroundFetchRunner { in testRunBackgroundFetchThrowsTimeoutDuringUpdates()
268 BackgroundFetchRunner backgroundFetchRunnerWithSleep = in testRunBackgroundFetchThrowsTimeoutDuringUpdates()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceRefreshCommandTest.java38 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
73 @Mock private BackgroundFetchRunner mBackgroundFetchRunnerMock;
93 BackgroundFetchRunner.UpdateResultType.SUCCESS))); in testRun_withValidCustomAudience_returnsSuccess()
116 BackgroundFetchRunner.UpdateResultType.SUCCESS))); in testRun_withInvalidCustomAudienceBackgroundFetchData_returnsGenericFailure()
143 BackgroundFetchRunner.UpdateResultType in testRun_withFailedBackgroundFetch_returnsTimeoutFailure()
173 BackgroundFetchRunner.UpdateResultType.UNKNOWN))); in testRun_withFailedBackgroundFetch_returnsUnknownFailure()
203 BackgroundFetchRunner.UpdateResultType in testRun_withTimedOutBackgroundFetch_returnsTimeoutFailure()
DCustomAudienceShellCommandFactoryTest.java21 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
36 @Mock private BackgroundFetchRunner mBackgroundFetchRunner;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/
DCustomAudienceRefreshCommand.java30 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
31 import com.android.adservices.service.customaudience.BackgroundFetchRunner.UpdateResultType;
76 private final BackgroundFetchRunner mBackgroundFetchRunner;
84 BackgroundFetchRunner backgroundFetchRunner, in CustomAudienceRefreshCommand()
97 BackgroundFetchRunner backgroundFetchRunner, in CustomAudienceRefreshCommand()
DCustomAudienceShellCommandFactory.java33 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
58 BackgroundFetchRunner backgroundFetchRunner, in CustomAudienceShellCommandFactory()
85 new BackgroundFetchRunner( in getInstance()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBCustomAudienceBackgroundFetchDataTest.java34 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
247 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in testCopyWithFailedUpdatableDataUpdatesValidationFailureCount()
279 BackgroundFetchRunner.UpdateResultType.RESPONSE_VALIDATION_FAILURE) in testCopyWithResponseValidationFailureUpdatesValidationFailureCount()
311 BackgroundFetchRunner.UpdateResultType.NETWORK_FAILURE) in testCopyWithNetworkConnectTimeoutFailureUpdatesTimeoutFailureCount()
342 BackgroundFetchRunner.UpdateResultType.NETWORK_READ_TIMEOUT_FAILURE) in testCopyWithNetworkReadTimeoutFailureUpdatesTimeoutFailureCount()
372 BackgroundFetchRunner.UpdateResultType.K_ANON_FAILURE) in testCopyWithKAnonFailureDesNotUpdate()
400 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.UNKNOWN) in testCopyWithUnknownFailureDesNotUpdate()
DCustomAudienceDaoTest.java62 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
249 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DTestShellCommandFactorySupplier.java24 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
43 private final BackgroundFetchRunner mBackgroundFetchRunner;
53 BackgroundFetchRunner backgroundFetchRunner, in TestShellCommandFactorySupplier()
DShellCommandServiceImplTest.java56 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
117 BackgroundFetchRunner backgroundFetchRunner = in setup()
118 new BackgroundFetchRunner( in setup()
DAdServicesShellCommandHandlerTest.java46 import com.android.adservices.service.customaudience.BackgroundFetchRunner;
87 @Mock private BackgroundFetchRunner mBackgroundFetchRunner;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceUpdatableData.java97 public abstract BackgroundFetchRunner.UpdateResultType getInitialUpdateResult(); in getInitialUpdateResult()
148 BackgroundFetchRunner.UpdateResultType initialUpdateResult, in createFromResponseString()
168 if (initialUpdateResult != BackgroundFetchRunner.UpdateResultType.SUCCESS) { in createFromResponseString()
397 BackgroundFetchRunner.UpdateResultType value); in setInitialUpdateResult()
DBackgroundFetchWorker.java67 private final BackgroundFetchRunner mBackgroundFetchRunner;
77 @NonNull BackgroundFetchRunner backgroundFetchRunner, in BackgroundFetchWorker()
115 new BackgroundFetchRunner( in getInstance()
DBackgroundFetchRunner.java52 public class BackgroundFetchRunner { class
62 public BackgroundFetchRunner( in BackgroundFetchRunner() method in BackgroundFetchRunner
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DCustomAudienceUpdatableDataFixture.java356 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderFullSuccessfulResponse()
366 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderEmptySuccessfulResponse()
376 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderEmptyFailedResponse()