Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestResultPrinter.java60 public void printStatus(int numAttempts, int iteration, String cameraId) throws Exception { in printStatus() argument
62 numAttempts, iteration, cameraId)); in printStatus()
64 sendInstrumentationStatus(numAttempts, iteration, cameraId); in printStatus()
67 writeToFile(numAttempts, iteration, cameraId); in printStatus()
74 public void printStatus(int numAttempts, int iteration) throws Exception { in printStatus() argument
75 printStatus(numAttempts, iteration, ""); in printStatus()
81 private void sendInstrumentationStatus(int numAttempts, int iteration, String cameraId) in sendInstrumentationStatus() argument
84 output.putString(KEY_NUM_ATTEMPTS, String.valueOf(numAttempts)); in sendInstrumentationStatus()
92 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile() argument
95 String results = String.format("%s=%d|%s=%d", KEY_NUM_ATTEMPTS, numAttempts, in writeToFile()
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A 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()
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
H A 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()
/aosp12/packages/services/Car/service/src/com/android/car/garagemode/
H A DWakeupPolicy.java176 WakeupInterval(int wakeupTime, int numAttempts) { in WakeupInterval() argument
178 mNumAttempts = numAttempts; in WakeupInterval()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthCredentialView.java346 private boolean updateErrorMessage(int numAttempts) { in updateErrorMessage() argument
350 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
358 numAttempts, in updateErrorMessage()
364 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/aosp12/frameworks/multidex/library/src/androidx/multidex/
H A DMultiDexExtractor.java270 int numAttempts = 0; in performExtractions() local
272 while (numAttempts < MAX_EXTRACT_ATTEMPTS && !isExtractionSuccessful) { in performExtractions()
273 numAttempts++; in performExtractions()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConnectivityManagerTest.java1177 int numAttempts = 0; in connectionAttemptRateLimitedWhenScreenOff() local
1191 numAttempts++; in connectionAttemptRateLimitedWhenScreenOff()
1218 int numAttempts = 0; in connectionAttemptNotRateLimitedWhenScreenOff() local
1232 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1242 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOff()
1275 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
1287 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
1320 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection()
1332 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection()
1365 numAttempts++; in connectionAttemptNotRateLimitedWhenScreenOffAfterWifiToggle()
[all …]
H A DHalDeviceManagerTest.java2756 private void executeAndValidateStartupSequence(int numAttempts, boolean success) in executeAndValidateStartupSequence() argument
2763 mInOrder.verify(mWifiMock, times(numAttempts)).start(); in executeAndValidateStartupSequence()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
H A 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()