/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
H A D | NetdUtils.java | 58 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 D | RequestThrottle.java | 98 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 D | ConfirmDeviceCredentialBaseFragment.java | 221 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 D | AuthCredentialView.java | 348 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 D | KeyChainSnapshot.java | 186 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 D | HostUtils.kt | 62 maxAttempts: Int = 10, 68 while (attempt++ < maxAttempts) {
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
H A D | GetTranscriptReceiver.java | 71 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 D | KeySyncUtils.java | 321 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 D | KeySyncUtilsTest.java | 456 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 D | AbstractRestrictBackgroundNetworkTestCase.java | 207 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 D | BugreportReceiverTest.java | 909 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 D | AppLaunch.java | 797 int maxAttempts = 100; in startIorapd() local 810 } while (attempt < maxAttempts); in startIorapd() 812 if (attempt == maxAttempts) { in startIorapd()
|