Home
last modified time | relevance | path

Searched refs:retryLimit (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DRetryPolicy.java35 private final int retryLimit; field in RetryPolicy
45 public RetryPolicy(int retryLimit, int retryDelayMillis) { in RetryPolicy() argument
46 this.retryLimit = retryLimit; in RetryPolicy()
51 return retryCount < retryLimit; in hasMoreRetries()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/
DAwaitUtils.java32 public static void waitFor(Condition exitCondition, String failMessage, int retryLimit) in waitFor() argument
34 waitFor(exitCondition, failMessage, retryLimit, DEFAULT_RETRY_INTERVAL_IN_MILLIS); in waitFor()
38 Condition exitCondition, String failMessage, int retryLimit, long retryIntervalMs) in waitFor() argument
41 while (attempt++ < retryLimit) { in waitFor()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClient.java88 int retryLimit = mFlags.getHttpRequestRetryLimit(); in performRequestWithRetry() local
89 while (count < retryLimit) { in performRequestWithRetry()
98 if (count >= retryLimit - 1) { in performRequestWithRetry()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDeleteExpiredIntegrationTest.java61 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in runActionToTest() local
66 dao -> dao.deleteExpiredRecords(earliestValidInsertion, retryLimit, null)); in runActionToTest()
DDeleteExpiredDynamicIntegrationTest.java108 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in runActionToTest() local
110 dao -> dao.deleteExpiredRecords(earliestValidInsertion, retryLimit, null)); in runActionToTest()
DMeasurementDaoTest.java5308 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in testDeleteExpiredRecordsForAsyncRegistrations() local
5320 .setRetryCount(retryLimit - 1L) in testDeleteExpiredRecordsForAsyncRegistrations()
5334 .setRetryCount(retryLimit) in testDeleteExpiredRecordsForAsyncRegistrations()
5348 .setRetryCount(retryLimit - 1L) in testDeleteExpiredRecordsForAsyncRegistrations()
5362 .setRetryCount(retryLimit) in testDeleteExpiredRecordsForAsyncRegistrations()
5407 earliestValidInsertion, retryLimit, null))); in testDeleteExpiredRecordsForAsyncRegistrations()
5472 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in deleteExpiredRecords_registrationRedirectCount() local
5477 earliestValidInsertion, retryLimit, null))); in deleteExpiredRecords_registrationRedirectCount()
5613 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in deleteExpiredRecords_skipDeliveredEventReportsOutsideWindow() local
5617 earliestValidInsertion, retryLimit, null)); in deleteExpiredRecords_skipDeliveredEventReportsOutsideWindow()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java179 int retryLimit = mFlags.getMeasurementMaxRetriesPerRegistrationRequest(); in runAsyncRegistrationQueueWorker() local
194 AsyncRegistration asyncRegistration = fetchNext(retryLimit, failedOrigins); in runAsyncRegistrationQueueWorker()
204 return hasPendingRecords(retryLimit, failedOrigins); in runAsyncRegistrationQueueWorker()
207 private AsyncRegistration fetchNext(int retryLimit, Set<Uri> failedOrigins) { in fetchNext() argument
210 (dao) -> dao.fetchNextQueuedAsyncRegistration(retryLimit, failedOrigins)) in fetchNext()
226 private ProcessingResult hasPendingRecords(int retryLimit, Set<Uri> failedOrigins) { in hasPendingRecords() argument
227 AsyncRegistration asyncRegistration = fetchNext(retryLimit, failedOrigins); in hasPendingRecords()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DDeleteExpiredJobService.java79 int retryLimit = in onStartJob() local
87 retryLimit, in onStartJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java555 AsyncRegistration fetchNextQueuedAsyncRegistration(int retryLimit, Set<Uri> failedOrigins) in fetchNextQueuedAsyncRegistration() argument
DMeasurementDao.java3159 int retryLimit, Set<Uri> failedOrigins) throws DatastoreException {
3184 new String[] {String.valueOf(retryLimit)},
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EMockTest.java727 int retryLimit = Flags.MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST; in runDeleteExpiredRecordsJob() local
729 dao -> dao.deleteExpiredRecords(earliestValidInsertion, retryLimit, null)); in runDeleteExpiredRecordsJob()