Searched refs:maxAttempts (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/ |
D | NetdUtils.java | 159 int maxAttempts, int pollingIntervalMs) in tetherInterface() argument 162 networkAddInterface(netd, iface, maxAttempts, pollingIntervalMs); in tetherInterface() 178 int maxAttempts, int pollingIntervalMs) in networkAddInterface() argument 180 for (int i = 1; i <= maxAttempts; i++) { in networkAddInterface() 185 if (e.errorCode == EBUSY && i < maxAttempts) { in networkAddInterface()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | GetTranscriptReceiver.java | 71 int maxAttempts = configProvider.getMaxGetTranscriptPolls(); in beginPolling() local 73 ExponentialBaseCalculator.findBase(initialDelayMillis, maxBackoffMillis, maxAttempts); in beginPolling() 81 maxAttempts, in beginPolling()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 336 final int maxAttempts = in updateErrorMessage() local 338 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage() 345 R.string.lock_failed_attempts_before_wipe, numAttempts, maxAttempts); in updateErrorMessage() 350 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
|
/packages/modules/ExtServices/java/src/android/ext/services/common/ |
D | AdServicesAppsearchDeleteJob.java | 191 SharedPreferences sharedPreferences, int maxAttempts) { in deleteAppsearchData() argument 208 if (attemptedDeletes >= maxAttempts) { in deleteAppsearchData()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 278 final int maxAttempts = 5; in assertRestrictBackgroundChangedReceived() local 291 if (attempts <= maxAttempts) { in assertRestrictBackgroundChangedReceived() 294 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived() 296 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EpochManager.java | 660 int maxAttempts = 5; in getTopicIdForLogging() local 662 while (randomTopicId == topicId && maxAttempts-- > 0) { in getTopicIdForLogging()
|