Searched refs:numAttempts (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 220 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/ |
D | ProvisioningActivityTest.java | 515 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/ |
D | WakeupPolicy.java | 176 WakeupInterval(int wakeupTime, int numAttempts) { in WakeupInterval() argument 178 mNumAttempts = numAttempts; in WakeupInterval()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 1177 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 …]
|
D | HalDeviceManagerTest.java | 2756 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/ |
D | PermissionControllerServiceImpl.java | 605 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()
|