Home
last modified time | relevance | path

Searched refs:numAttempts (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java220 protected void updateErrorMessage(int numAttempts) { in updateErrorMessage() argument
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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java515 int numAttempts = 0; in waitForCancelSetupButtonAndClickIt() local
516 while (numAttempts < 40) { in waitForCancelSetupButtonAndClickIt()
524 numAttempts++; in waitForCancelSetupButtonAndClickIt()
558 int numAttempts = 0; in waitForFullyManagedDeviceHeader() local
559 while (numAttempts < 40) { in waitForFullyManagedDeviceHeader()
565 numAttempts++; in waitForFullyManagedDeviceHeader()
/packages/services/Car/service/src/com/android/car/garagemode/
DWakeupPolicy.java176 WakeupInterval(int wakeupTime, int numAttempts) { in WakeupInterval() argument
178 mNumAttempts = numAttempts; in WakeupInterval()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1177 int numAttempts = 0; in connectionAttemptRateLimitedWhenScreenOff() local
1191 numAttempts++; in connectionAttemptRateLimitedWhenScreenOff()
1202 verify(mPrimaryClientModeManager, times(numAttempts)).startConnectToNetwork( in connectionAttemptRateLimitedWhenScreenOff()
1218 int numAttempts = 0; in connectionAttemptNotRateLimitedWhenScreenOff() local
1232 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1242 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1245 verify(mPrimaryClientModeManager, times(numAttempts)).startConnectToNetwork( in connectionAttemptNotRateLimitedWhenScreenOff()
1261 int numAttempts = 0; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() local
1275 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
1287 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
[all …]
DHalDeviceManagerTest.java2756 private void executeAndValidateStartupSequence(int numAttempts, boolean success) in executeAndValidateStartupSequence() argument
2763 mInOrder.verify(mWifiMock, times(numAttempts)).start(); in executeAndValidateStartupSequence()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java605 Runnable callback, int numAttempts) { in onUpdateUserSensistivePermissionFlagsWithRetry() argument
621 + ", attempt number " + (numAttempts + 1) + " of " + MAX_RETRY_ATTEMPTS, e); in onUpdateUserSensistivePermissionFlagsWithRetry()
622 if (numAttempts == MAX_RETRY_ATTEMPTS) { in onUpdateUserSensistivePermissionFlagsWithRetry()
625 int attempts = numAttempts + 1; in onUpdateUserSensistivePermissionFlagsWithRetry()