Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/utils/
H A DRequestThrottle.java98 public RequestThrottle(@NonNull Handler handler, int maxAttempts, int firstDelay, in RequestThrottle() argument
102 mMaxAttempts = maxAttempts; in RequestThrottle()
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DConfirmDeviceCredentialBaseFragment.java221 final int maxAttempts = in updateErrorMessage() local
223 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
230 R.string.lock_failed_attempts_before_wipe, numAttempts, maxAttempts); in updateErrorMessage()
235 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthCredentialView.java348 final int maxAttempts = mLockPatternUtils.getMaximumFailedPasswordsForWipe( in updateErrorMessage() local
350 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
359 maxAttempts); in updateErrorMessage()
364 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/aosp12/frameworks/base/core/java/android/security/keystore/recovery/
H A DKeyChainSnapshot.java186 public @NonNull Builder setMaxAttempts(int maxAttempts) { in setMaxAttempts() argument
187 mInstance.mMaxAttempts = maxAttempts; in setMaxAttempts()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DHostUtils.kt62 maxAttempts: Int = 10,
68 while (attempt++ < maxAttempts) {
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
H A DGetTranscriptReceiver.java71 int maxAttempts = configProvider.getMaxGetTranscriptPolls(); in beginPolling() local
73 ExponentialBaseCalculator.findBase(initialDelayMillis, maxBackoffMillis, maxAttempts); in beginPolling()
81 maxAttempts, in beginPolling()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncUtils.java321 PublicKey thmPublicKey, long counterId, int maxAttempts, byte[] vaultHandle) { in packVaultParams() argument
331 .putInt(maxAttempts) in packVaultParams()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncUtilsTest.java456 int maxAttempts = 10; in packVaultParams_encodesMaxAttemptsAsThirdParam() local
461 maxAttempts, in packVaultParams_encodesMaxAttemptsAsThirdParam()
467 assertEquals(maxAttempts, byteBuffer.getInt()); in packVaultParams_encodesMaxAttemptsAsThirdParam()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DAbstractRestrictBackgroundNetworkTestCase.java207 final int maxAttempts = 5; in assertRestrictBackgroundChangedReceived() local
220 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived()
222 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()
/aosp12/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java909 int maxAttempts = SAFE_SCREENSHOT_DELAY; in waitForScreenshotButtonEnabled() local
920 } while (i <= maxAttempts); in waitForScreenshotButtonEnabled()
921 fail("screenshot.enable didn't change to " + expectedEnabled + " in " + maxAttempts + "s"); in waitForScreenshotButtonEnabled()
/aosp12/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java797 int maxAttempts = 100; in startIorapd() local
810 } while (attempt < maxAttempts); in startIorapd()
812 if (attempt == maxAttempts) { in startIorapd()