Home
last modified time | relevance | path

Searched refs:retryCount (Results 1 – 25 of 80) 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/Bluetooth/android/app/tests/instrumentation/com/android/bluetooth/
DTestUtils.java142 private int retryCount = 5; field in TestUtils.RetryTestRule
148 public RetryTestRule(int retryCount) { in RetryTestRule() argument
149 this.retryCount = retryCount; in RetryTestRule()
159 for (int i = 0; i < retryCount; i++) { in apply()
175 + retryCount in apply()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceConfigRule.kt70 var retryCount = if (SdkLevel.isAtLeastS()) 1 else retryCountBeforeSIfConfigChanged + 1 in <lambda>() variable
71 while (retryCount > 0) { in <lambda>()
72 retryCount-- in <lambda>()
77 retryCount = 0 in <lambda>()
79 if (retryCount == 0) throw e in <lambda>()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSStatsInfo.java33 int primarySimSubId, int oppSimCarrierId, int retryCount, in ONSStatsInfo() argument
70 mRetryCount = other.retryCount; in ONSStatsInfo()
138 public Builder setRetryCount(int retryCount) { in ONSStatsInfo() argument
139 mRetryCount = retryCount; in ONSStatsInfo()
DONSStats.java117 info.retryCount(), in logEvent()
135 .putInt(KEY_RETRY_COUNT, info.retryCount()) in updateSharedPreferences()
164 boolean retryCountUpdated = sharedPref.getInt(KEY_RETRY_COUNT, -1) != info.retryCount(); in ignoreEvent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java291 private int retryCount = 5; field in TestUtils.RetryTestRule
297 public RetryTestRule(int retryCount) { in RetryTestRule() argument
298 this.retryCount = retryCount; in RetryTestRule()
308 for (int i = 0; i < retryCount; i++) { in apply()
324 + retryCount in apply()
/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.java278 private void updateActionsWithRetry(int retryCount, @Nullable String packageName) { in updateActionsWithRetry() argument
281 "updateActionsWithRetry(); retryCount: " + retryCount + ", package: " in updateActionsWithRetry()
295 if (retryCount >= RETRY_TIMES_MS.length) { in updateActionsWithRetry()
301 if (DEBUG || mIsInTest) Log.i(TAG, "Retrying; attempt " + (retryCount + 1)); in updateActionsWithRetry()
302 updateActionsWithRetry(retryCount + 1, packageName); in updateActionsWithRetry()
304 packageName, RETRY_TIMES_MS[retryCount]); in updateActionsWithRetry()
/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/measurement/registration/
DAsyncFetchStatus.java135 public void setRetryCount(int retryCount) { in setRetryCount() argument
136 mRetryCount = retryCount; in setRetryCount()
/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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementReportsStats.java166 public @NonNull MeasurementReportsStats.Builder setRetryCount(int retryCount) { in setRetryCount() argument
167 mBuilding.mRetryCount = retryCount; in setRetryCount()
DMeasurementRegistrationResponseStats.java262 int retryCount, in Builder() argument
279 mRetryCount = retryCount; in Builder()
/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/libs/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java362 private void connectToDaemon(int retryCount) { in connectToDaemon() argument
363 if (retryCount <= 0) { in connectToDaemon()
375 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/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/services/Car/car-lib/src/android/car/
DCar.java2296 long retryCount = 0; in createCarInternalLegacy() local
2319 retryCount++; in createCarInternalLegacy()
2320 if (retryCount > maxRetryCount) { in createCarInternalLegacy()
2340 + CAR_SERVICE_BINDER_POLLING_INTERVAL_MS * retryCount, in createCarInternalLegacy()
2355 int retryCount = 0; in createCarInternalLegacy() local
2388 retryCount++; in createCarInternalLegacy()
2389 if (waitTimeoutMs < 0 && retryCount >= maxRetryCount in createCarInternalLegacy()
2390 && retryCount % maxRetryCount == 0) { in createCarInternalLegacy()
2393 + retryCount * CAR_SERVICE_BINDER_POLLING_INTERVAL_MS, in createCarInternalLegacy()
2395 } else if (waitTimeoutMs >= 0 && retryCount > maxRetryCount) { in createCarInternalLegacy()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DAudioRoute.java68 AudioManager audioManager, int retryCount) { in createRetry() argument
70 if (retryCount == 0) { in createRetry()
76 DEVICE_TYPE_STRINGS.get(type), bluetoothAddress, retryCount); in createRetry()
100 () -> createRetry(type, bluetoothAddress, audioManager, retryCount - 1), in createRetry()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java382 int retryCount = 0; in connectSocket() local
408 if (++retryCount >= SOCKET_CONNECTION_MAX_RETRY) { in connectSocket()
410 + " after " + retryCount + " retries", e); in connectSocket()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java934 private boolean connectBtAudio(String address, int retryCount, boolean switchingBtDevices) { in connectBtAudio() argument
945 boolean shouldRetry = retryCount < MAX_CONNECTION_RETRIES; in connectBtAudio()
952 args.argi1 = retryCount + 1; in connectBtAudio()
977 private String connectBtAudioLegacy(String address, int retryCount,
1025 boolean shouldRetry = retryCount < MAX_CONNECTION_RETRIES;
1032 args.argi1 = retryCount + 1;

1234