Home
last modified time | relevance | path

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

123

/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/job/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
H A 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()
/aosp12/system/netd/tests/
H A Dnetlink_listener_test.cpp165 int retryCount = 0; in TEST_F() local
168 if (needRetry) retryCount++; in TEST_F()
169 } while (needRetry && retryCount < 3); in TEST_F()
171 EXPECT_GT(3, retryCount); in TEST_F()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
H A DFetchVoicemailReceiver.java73 private int retryCount = NETWORK_RETRY_COUNT; field in FetchVoicemailReceiver
206 while (retryCount > 0) { in fetchVoicemail()
207 VvmLog.i(TAG, "fetching voicemail, retry count=" + retryCount); in fetchVoicemail()
213 if (!success && retryCount > 0) { in fetchVoicemail()
215 retryCount--; in fetchVoicemail()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A 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()
/aosp12/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
H A DphNxpEsePal_spi.cpp230 unsigned long int retryCount = 0; in phPalEse_spi_write() local
271 if (retryCount < maxRetryCount) { in phPalEse_spi_write()
272 retryCount++; in phPalEse_spi_write()
275 ALOGE("_spi_write() failed. Going to retry, counter:%ld !", retryCount); in phPalEse_spi_write()
/aosp12/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
H A DEseSpiTransport.cpp283 unsigned long int retryCount = 0; in Write() local
321 (retryCount < gsMaxSpiWriteRetryCnt)) { in Write()
324 if (retryCount > gsMaxSpiWriteRetryCnt) { in Write()
329 retryCount++; in Write()
332 ALOGE("_spi_write() failed. Going to retry, counter:%ld !", retryCount); in Write()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
H A DWellbeingModel.java321 private void updateActionsWithRetry(int retryCount, @Nullable String packageName) { in updateActionsWithRetry() argument
324 "updateActionsWithRetry(); retryCount: " + retryCount + ", package: " in updateActionsWithRetry()
338 if (retryCount >= RETRY_TIMES_MS.length) { in updateActionsWithRetry()
344 if (DEBUG || mIsInTest) Log.i(TAG, "Retrying; attempt " + (retryCount + 1)); in updateActionsWithRetry()
345 updateActionsWithRetry(retryCount + 1, packageName); in updateActionsWithRetry()
347 packageName, RETRY_TIMES_MS[retryCount]); in updateActionsWithRetry()
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DCar.java1239 int retryCount = 0; in createCar() local
1259 retryCount++; in createCar()
1260 if (retryCount > CAR_SERVICE_BINDER_POLLING_MAX_RETRY) { in createCar()
1281 + CAR_SERVICE_BINDER_POLLING_INTERVAL_MS * retryCount, in createCar()
1338 int retryCount = 0; in createCar() local
1370 retryCount++; in createCar()
1371 if (waitTimeoutMs < 0 && retryCount >= CAR_SERVICE_BINDER_POLLING_MAX_RETRY in createCar()
1372 && retryCount % CAR_SERVICE_BINDER_POLLING_MAX_RETRY == 0) { in createCar()
1375 + retryCount * CAR_SERVICE_BINDER_POLLING_INTERVAL_MS, in createCar()
1377 } else if (waitTimeoutMs >= 0 && retryCount > maxRetryCount) { in createCar()
[all …]
/aosp12/system/chre/host/common/
H A Dsocket_client.cc188 unsigned int retryCount = 0; in reconnect() local
190 while (retryCount++ < kRetryLimit) { in reconnect()
206 if (retryCount > kExponentialBackoffDelay) { in reconnect()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareServiceImpl.java411 int retryCount) { in sendMessage() argument
415 if (retryCount != 0) { in sendMessage()
424 if (retryCount < 0 || retryCount > DiscoverySession.getMaxSendRetryCount()) { in sendMessage()
435 + ", retryCount=" + retryCount); in sendMessage()
438 mStateManager.sendMessage(uid, clientId, sessionId, peerId, message, messageId, retryCount); in sendMessage()
/aosp12/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
H A DCarWatchdogDaemonHelper.java302 private void connectToDaemon(int retryCount) { in connectToDaemon() argument
303 if (retryCount <= 0) { in connectToDaemon()
316 CarWatchdogDaemonHelper.this, retryCount - 1), in connectToDaemon()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DBackgroundWorkerService.java81 final int retryCount) { in startServiceWithAction() argument
84 intent.putExtra(EXTRA_ATTEMPT, retryCount); in startServiceWithAction()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
H A 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()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/aware/
H A DDiscoverySession.java209 @Nullable byte[] message, int retryCount) { in sendMessage() argument
221 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage()
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java425 int retryCount) { in pollDevices() argument
431 runDevicePolling(sourceAddress, pollingCandidates, retryCount, callback, allocated); in pollDevices()
471 final List<Integer> candidates, final int retryCount, in runDevicePolling() argument
488 if (sendPollMessage(sourceAddress, candidate, retryCount)) { in runDevicePolling()
494 runDevicePolling(sourceAddress, candidates, retryCount, callback, in runDevicePolling()
503 private boolean sendPollMessage(int sourceAddress, int destinationAddress, int retryCount) { in sendPollMessage() argument
505 for (int i = 0; i < retryCount; ++i) { in sendPollMessage()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarBugreportManagerService.java376 int retryCount = 0; in connectSocket() local
402 if (++retryCount >= SOCKET_CONNECTION_MAX_RETRY) { in connectSocket()
404 + " after " + retryCount + " retries", e); in connectSocket()
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/1/android/net/
H A DResolverParamsParcel.aidl9 int retryCount;
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/2/android/net/
H A DResolverParamsParcel.aidl26 int retryCount;
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/3/android/net/
H A DResolverParamsParcel.aidl9 int retryCount;
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DSimPhonebookRecordCache.java388 int retryCount = msg.arg1; in handleMessage() local
389 logd("EVENT_GET_PHONEBOOK_RECORDS_RETRY cnt = " + retryCount); in handleMessage()
390 if (retryCount < MAX_RETRY_COUNT) { in handleMessage()
393 sendGettingPhonebookRecordsRetry(++retryCount); in handleMessage()
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
H A DResolverParamsParcel.aidl27 int retryCount;
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
H A DResolverParamsParcel.aidl27 int retryCount;
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
H A DResolverParamsParcel.aidl27 int retryCount;
/aosp12/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/
H A DResolverParamsParcel.aidl28 int retryCount;

123