Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java510 int numAttempts = 0; in waitForCancelSetupButtonAndClickIt() local
511 while (numAttempts < 40) { in waitForCancelSetupButtonAndClickIt()
519 numAttempts++; in waitForCancelSetupButtonAndClickIt()
554 int numAttempts = 0; in waitForFullyManagedDeviceHeader() local
555 while (numAttempts < 40) { in waitForFullyManagedDeviceHeader()
562 numAttempts++; in waitForFullyManagedDeviceHeader()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java335 protected void updateErrorMessage(int numAttempts) { in updateErrorMessage() argument
338 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
345 R.string.lock_failed_attempts_before_wipe, numAttempts, maxAttempts); in updateErrorMessage()
350 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java629 Runnable callback, int numAttempts) { in onUpdateUserSensistivePermissionFlagsWithRetry() argument
645 + ", attempt number " + (numAttempts + 1) + " of " + MAX_RETRY_ATTEMPTS, e); in onUpdateUserSensistivePermissionFlagsWithRetry()
646 if (numAttempts == MAX_RETRY_ATTEMPTS) { in onUpdateUserSensistivePermissionFlagsWithRetry()
649 int attempts = numAttempts + 1; in onUpdateUserSensistivePermissionFlagsWithRetry()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1796 int numAttempts = 0; in connectionAttemptRateLimitedWhenScreenOff() local
1811 numAttempts++; in connectionAttemptRateLimitedWhenScreenOff()
1822 verify(mPrimaryClientModeManager, times(numAttempts)).startConnectToNetwork( in connectionAttemptRateLimitedWhenScreenOff()
1838 int numAttempts = 0; in connectionAttemptNotRateLimitedWhenScreenOff() local
1853 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1864 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1867 verify(mPrimaryClientModeManager, times(numAttempts)).startConnectToNetwork( in connectionAttemptNotRateLimitedWhenScreenOff()
1883 int numAttempts = 0; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() local
1898 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
1911 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
[all …]
DHalDeviceManagerTest.java4003 private void executeAndValidateStartupSequence(int numAttempts, boolean success) in executeAndValidateStartupSequence() argument
4012 mInOrder.verify(mWifiMock, times(numAttempts)).start(); in executeAndValidateStartupSequence()