Searched refs:BackgroundFetchRunner (Results 1 – 16 of 16) sorted by relevance
75 .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 …]
111 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 …]
64 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()
38 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()
21 import com.android.adservices.service.customaudience.BackgroundFetchRunner;36 @Mock private BackgroundFetchRunner mBackgroundFetchRunner;
30 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()
33 import com.android.adservices.service.customaudience.BackgroundFetchRunner;58 BackgroundFetchRunner backgroundFetchRunner, in CustomAudienceShellCommandFactory()85 new BackgroundFetchRunner( in getInstance()
34 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()
62 import com.android.adservices.service.customaudience.BackgroundFetchRunner;249 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS)
24 import com.android.adservices.service.customaudience.BackgroundFetchRunner;43 private final BackgroundFetchRunner mBackgroundFetchRunner;53 BackgroundFetchRunner backgroundFetchRunner, in TestShellCommandFactorySupplier()
56 import com.android.adservices.service.customaudience.BackgroundFetchRunner;117 BackgroundFetchRunner backgroundFetchRunner = in setup()118 new BackgroundFetchRunner( in setup()
46 import com.android.adservices.service.customaudience.BackgroundFetchRunner;87 @Mock private BackgroundFetchRunner mBackgroundFetchRunner;
97 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()
67 private final BackgroundFetchRunner mBackgroundFetchRunner;77 @NonNull BackgroundFetchRunner backgroundFetchRunner, in BackgroundFetchWorker()115 new BackgroundFetchRunner( in getInstance()
52 public class BackgroundFetchRunner { class62 public BackgroundFetchRunner( in BackgroundFetchRunner() method in BackgroundFetchRunner
356 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderFullSuccessfulResponse()366 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderEmptySuccessfulResponse()376 .setInitialUpdateResult(BackgroundFetchRunner.UpdateResultType.SUCCESS) in getValidBuilderEmptyFailedResponse()