Searched refs:maxTries (Results 1 – 5 of 5) sorted by relevance
319 final int maxTries = 30; in assertBackgroundState() local321 for (int i = 1; i <= maxTries; i++) { in assertBackgroundState()332 fail("App2 is not on background state after " + maxTries + " attempts: " + state ); in assertBackgroundState()336 final int maxTries = 30; in assertForegroundState() local338 for (int i = 1; i <= maxTries; i++) { in assertForegroundState()350 fail("App2 is not on foreground state after " + maxTries + " attempts: " + state ); in assertForegroundState()354 final int maxTries = 30; in assertForegroundServiceState() local356 for (int i = 1; i <= maxTries; i++) { in assertForegroundServiceState()367 fail("App2 is not on foreground service state after " + maxTries + " attempts: " + state ); in assertForegroundServiceState()382 final int maxTries = 5; in assertNetworkAccess() local[all …]
60 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath, const int maxTries) { in removeDirAndFiles() argument85 if (maxTries > 0) { in removeDirAndFiles()88 removeDirAndFiles(dirPath, maxTries - 1); in removeDirAndFiles()
57 static bool removeDirAndFiles(const char *const dirPath, const int maxTries);
379 final int maxTries = 5; in assertDelayedCommand() local380 for (int i = 1; i <= maxTries; i++) { in assertDelayedCommand()387 fail("Command '" + command + "' did not return '" + expectedResult + "' after " + maxTries in assertDelayedCommand()
189 final int maxTries = 1000; in assertStatsEventually() local191 for (int i = 1; i <= maxTries; i++) { in assertStatsEventually()