Home
last modified time | relevance | path

Searched refs:retryCount (Results 1 – 25 of 76) sorted by relevance

1234

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiter.java65 int retryCount) throws ExecutionException, InterruptedException { in waitForSync() argument
66 for (; retryCount > 0; retryCount--) { in waitForSync()
69 return retryCount; in waitForSync()
74 + " Retry count: " + retryCount); in waitForSync()
79 return retryCount; in waitForSync()
84 if (retryCount == 0) { in waitForSync()
87 return retryCount; in waitForSync()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/job/
DJobManager.java83 private JobInfo.Builder newJobInfoBuilder(int jobId, int retryCount) { in newJobInfoBuilder() argument
85 putSubIdAndRetryExtra(builder, retryCount); in newJobInfoBuilder()
108 private void putSubIdAndRetryExtra(JobInfo.Builder builder, int retryCount) { in putSubIdAndRetryExtra() argument
112 bundle.putInt(EXTRA_RETRY_COUNT, retryCount); in putSubIdAndRetryExtra()
122 public void queryEntitlementStatusOnceNetworkReady(int retryCount) { in queryEntitlementStatusOnceNetworkReady() argument
123 queryEntitlementStatusOnceNetworkReady(retryCount, Duration.ofSeconds(0)); in queryEntitlementStatusOnceNetworkReady()
127 public void queryEntitlementStatusOnceNetworkReady(int retryCount, Duration delay) { in queryEntitlementStatusOnceNetworkReady() argument
132 + retryCount in queryEntitlementStatusOnceNetworkReady()
136 newJobInfoBuilder(QUERY_ENTITLEMENT_STATUS_JOB_ID, retryCount) in queryEntitlementStatusOnceNetworkReady()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DRetryPolicy.java40 private int retryCount; field in RetryPolicy
51 return retryCount < retryLimit; in hasMoreRetries()
66 retryCount = extras.getInt(EXTRA_RETRY_COUNT, 0); in onCreate()
67 if (retryCount > 0) { in onCreate()
71 + retryCount in onCreate()
105 intent.putExtra(EXTRA_RETRY_COUNT, retryCount + 1); in onCompleted()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceConfigRule.kt69 var retryCount = if (SdkLevel.isAtLeastS()) 1 else retryCountBeforeSIfConfigChanged + 1 in <lambda>() variable
70 while (retryCount > 0) { in <lambda>()
71 retryCount-- in <lambda>()
76 retryCount = 0 in <lambda>()
78 if (retryCount == 0) throw e in <lambda>()
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
DFetchVoicemailReceiver.java73 private int retryCount = NETWORK_RETRY_COUNT; field in FetchVoicemailReceiver
209 while (retryCount > 0) { in fetchVoicemail()
210 VvmLog.i(TAG, "fetching voicemail, retry count=" + retryCount); in fetchVoicemail()
216 if (!success && retryCount > 0) { in fetchVoicemail()
218 retryCount--; in fetchVoicemail()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java57 final String rawChecksum, final String checksum, final int retryCount, in WordListMetadata() argument
68 mRetryCount = retryCount; in WordListMetadata()
90 final int retryCount = values.getAsInteger(MetadataDbHelper.RETRY_COUNT_COLUMN); in createFromContentValues() local
112 checksum, retryCount, localFilename, remoteFilename, version, formatVersion, in createFromContentValues()
/packages/services/Car/cpp/security/vehicle_binding_util/src/
Dmain.cpp53 size_t retryCount = 0; in setBinding() local
54 while (service == nullptr && retryCount < TIMEOUT_MILLISECONDS / SLEEP_TIME_MILLISECONDS) { in setBinding()
57 retryCount++; in setBinding()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWellbeingModel.java264 private void updateActionsWithRetry(int retryCount, @Nullable String packageName) { in updateActionsWithRetry() argument
267 "updateActionsWithRetry(); retryCount: " + retryCount + ", package: " in updateActionsWithRetry()
281 if (retryCount >= RETRY_TIMES_MS.length) { in updateActionsWithRetry()
287 if (DEBUG || mIsInTest) Log.i(TAG, "Retrying; attempt " + (retryCount + 1)); in updateActionsWithRetry()
288 updateActionsWithRetry(retryCount + 1, packageName); in updateActionsWithRetry()
290 packageName, RETRY_TIMES_MS[retryCount]); in updateActionsWithRetry()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java388 private int retryCount = 5; field in TestUtils.RetryTestRule
394 public RetryTestRule(int retryCount) { in RetryTestRule() argument
395 this.retryCount = retryCount; in RetryTestRule()
405 for (int i = 0; i < retryCount; i++) { in apply()
421 + retryCount in apply()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSStatsInfo.java89 public ONSStatsInfo setRetryCount(int retryCount) { in setRetryCount() argument
90 mRetryCount = retryCount; in setRetryCount()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncFetchStatus.java126 public void setRetryCount(int retryCount) { in setRetryCount() argument
127 mRetryCount = retryCount; in setRetryCount()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java440 for (int retryCount = 0; in mRetrieveCallback_transientFailureConnectionError_scheduleRetry()
441 retryCount < (RETRY_INTERVALS_FOR_CONNECTION_ERROR.length * 2); in mRetrieveCallback_transientFailureConnectionError_scheduleRetry()
442 retryCount++) { in mRetrieveCallback_transientFailureConnectionError_scheduleRetry()
471 for (int retryCount = 0; in mRetrieveCallback_transientFailureServerError_scheduleRetry()
472 retryCount < (RETRY_INTERVALS_FOR_SERVER_ERROR.length * 2); in mRetrieveCallback_transientFailureServerError_scheduleRetry()
473 retryCount++) { in mRetrieveCallback_transientFailureServerError_scheduleRetry()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementReportsStats.java159 public @NonNull MeasurementReportsStats.Builder setRetryCount(int retryCount) { in setRetryCount() argument
160 mBuilding.mRetryCount = retryCount; in setRetryCount()
DMeasurementRegistrationResponseStats.java205 int retryCount, in Builder() argument
217 mRetryCount = retryCount; in Builder()
/packages/services/Car/car-lib/src/android/car/
DCar.java2019 int retryCount = 0; in createCar() local
2040 retryCount++; in createCar()
2041 if (retryCount > CAR_SERVICE_BINDER_POLLING_MAX_RETRY) { in createCar()
2062 + CAR_SERVICE_BINDER_POLLING_INTERVAL_MS * retryCount, in createCar()
2082 int retryCount = 0; in createCar() local
2115 retryCount++; in createCar()
2116 if (waitTimeoutMs < 0 && retryCount >= CAR_SERVICE_BINDER_POLLING_MAX_RETRY in createCar()
2117 && retryCount % CAR_SERVICE_BINDER_POLLING_MAX_RETRY == 0) { in createCar()
2120 + retryCount * CAR_SERVICE_BINDER_POLLING_INTERVAL_MS, in createCar()
2122 } else if (waitTimeoutMs >= 0 && retryCount > maxRetryCount) { in createCar()
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DPerformanceTestingViewModel.kt135 retryCount: Int, in insertBlocking()
140 if (retryCount != 0) { in insertBlocking()
141 insertBlocking(seedDataClass, numberOfRecordsToInsert, retryCount - 1) in insertBlocking()
/packages/services/Telecomm/src/com/android/server/telecom/
DAudioRoute.java66 AudioManager audioManager, int retryCount) { in createRetry() argument
68 if (retryCount == 0) { in createRetry()
74 DEVICE_TYPE_STRINGS.get(type), bluetoothAddress, retryCount); in createRetry()
98 () -> createRetry(type, bluetoothAddress, audioManager, retryCount - 1), in createRetry()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java163 private static void backoff(int retryCount) { in backoff() argument
164 VvmLog.i(TAG, "backoff, count: " + retryCount); in backoff()
165 long millis = (1L << retryCount) * 1000; in backoff()
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java379 private void connectToDaemon(int retryCount) { in connectToDaemon() argument
380 if (retryCount <= 0) { in connectToDaemon()
392 final int nextRetry = retryCount - 1; in connectToDaemon()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBackgroundWorkerService.java81 final int retryCount) { in startServiceWithAction() argument
84 intent.putExtra(EXTRA_ATTEMPT, retryCount); in startServiceWithAction()
/packages/modules/Profiling/service/java/com/android/os/profiling/
DTracingSession.java135 public void setRetryCount(int retryCount) { in setRetryCount() argument
136 mRetryCount = retryCount; in setRetryCount()
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DMtsEthernetTetheringTest.java171 for (int retryCount = 0; retryCount < DUMP_POLLING_MAX_RETRY; retryCount++) { in pollRawMapFromDump()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java630 int retryCount) { in sendMessage() argument
634 if (retryCount != 0) { in sendMessage()
643 if (retryCount < 0 || retryCount > DiscoverySession.getMaxSendRetryCount()) { in sendMessage()
654 + ", retryCount=" + retryCount); in sendMessage()
657 mStateManager.sendMessage(uid, clientId, sessionId, peerId, message, messageId, retryCount); in sendMessage()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectDailyLogsStatsTests.java286 private List<StatsLog.EventMetricData> getEventMetricDataList(String testName, int retryCount) in getEventMetricDataList() argument
288 if (retryCount == 0) { in getEventMetricDataList()
299 return getEventMetricDataList(testName, retryCount - 1); in getEventMetricDataList()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java389 int retryCount = 0; in connectSocket() local
415 if (++retryCount >= SOCKET_CONNECTION_MAX_RETRY) { in connectSocket()
417 + " after " + retryCount + " retries", e); in connectSocket()

1234