Searched refs:maxTries (Results 1 – 3 of 3) sorted by relevance
278 final int maxTries = 30; in assertBackgroundState() local280 for (int i = 1; i <= maxTries; i++) { in assertBackgroundState()291 fail("App2 is not on background state after " + maxTries + " attempts: " + state ); in assertBackgroundState()295 final int maxTries = 30; in assertForegroundState() local297 for (int i = 1; i <= maxTries; i++) { in assertForegroundState()309 fail("App2 is not on foreground state after " + maxTries + " attempts: " + state ); in assertForegroundState()313 final int maxTries = 30; in assertForegroundServiceState() local315 for (int i = 1; i <= maxTries; i++) { in assertForegroundServiceState()326 fail("App2 is not on foreground service state after " + maxTries + " attempts: " + state ); in assertForegroundServiceState()341 final int maxTries = 5; in assertNetworkAccess() local[all …]
348 final int maxTries = 5; in assertDelayedCommand() local349 for (int i = 1; i <= maxTries; i++) { in assertDelayedCommand()356 fail("Command '" + command + "' did not return '" + expectedResult + "' after " + maxTries in assertDelayedCommand()
133 final int maxTries = 5; in checkDisplaySize() local139 for (int i = 0; i < maxTries; i++) { in checkDisplaySize()