Home
last modified time | relevance | path

Searched refs:maxTries (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java408 final int maxTries = 30; in assertProcessState() local
410 for (int i = 1; i <= maxTries; i++) { in assertProcessState()
422 if (i < maxTries) { in assertProcessState()
426 fail("App2 (" + mUid + ") is not in the desired process state after " + maxTries in assertProcessState()
461 final int maxTries = 5; in assertNetworkAccess() local
465 for (int i = 1; i <= maxTries; i++) { in assertNetworkAccess()
482 if (i < maxTries) { in assertNetworkAccess()
489 + maxTries + " attempts.\nLast error: " + error); in assertNetworkAccess()
600 protected void assertDelayedShellCommand(String command, int maxTries, int napTimeSeconds, in assertDelayedShellCommand() argument
602 assertDelayedShellCommand(command, maxTries, napTimeSeconds, new ExpectResultChecker() { in assertDelayedShellCommand()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp60 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath, const int maxTries) { in removeDirAndFiles() argument
85 if (maxTries > 0) { in removeDirAndFiles()
88 removeDirAndFiles(dirPath, maxTries - 1); in removeDirAndFiles()
Dfile_utils.h57 static bool removeDirAndFiles(const char *const dirPath, const int maxTries);
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/
DHostsideRestrictBackgroundNetworkTests.java437 final int maxTries = 5; in assertDelayedCommand() local
438 for (int i = 1; i <= maxTries; i++) { in assertDelayedCommand()
445 fail("Command '" + command + "' did not return '" + expectedResult + "' after " + maxTries in assertDelayedCommand()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DBatteryStatsManagerTest.java245 final int maxTries = 1000; in assertStatsEventually() local
247 for (int i = 1; i <= maxTries; i++) { in assertStatsEventually()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java529 final byte maxTries = 5;
534 for (tryNum = 0; tryNum < maxTries; tryNum++) {
549 if (tryNum == maxTries) {
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...