Home
last modified time | relevance | path

Searched refs:maxAttempts (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetdUtils.java58 int maxAttempts, int pollingIntervalMs) in tetherInterface() argument
61 networkAddInterface(netd, iface, maxAttempts, pollingIntervalMs); in tetherInterface()
75 int maxAttempts, int pollingIntervalMs) in networkAddInterface() argument
77 for (int i = 1; i <= maxAttempts; i++) { in networkAddInterface()
82 if (e.errorCode == EBUSY && i < maxAttempts) { in networkAddInterface()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseFragment.java231 final int maxAttempts = in updateErrorMessage() local
233 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
240 R.string.lock_failed_attempts_before_wipe, numAttempts, maxAttempts); in updateErrorMessage()
245 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java231 final int maxAttempts = in updateErrorMessage() local
233 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
240 R.string.lock_failed_attempts_before_wipe, numAttempts, maxAttempts); in updateErrorMessage()
245 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DGetTranscriptReceiver.java71 int maxAttempts = configProvider.getMaxGetTranscriptPolls(); in beginPolling() local
73 ExponentialBaseCalculator.findBase(initialDelayMillis, maxBackoffMillis, maxAttempts); in beginPolling()
81 maxAttempts, in beginPolling()