Searched refs:maxTries (Results 1 – 3 of 3) sorted by relevance
339 final int maxTries = 30; in assertBackgroundState() local341 for (int i = 1; i <= maxTries; i++) { in assertBackgroundState()352 fail("App2 is not on background state after " + maxTries + " attempts: " + state ); in assertBackgroundState()356 final int maxTries = 30; in assertForegroundState() local358 for (int i = 1; i <= maxTries; i++) { in assertForegroundState()370 fail("App2 is not on foreground state after " + maxTries + " attempts: " + state ); in assertForegroundState()374 final int maxTries = 30; in assertForegroundServiceState() local376 for (int i = 1; i <= maxTries; i++) { in assertForegroundServiceState()387 fail("App2 is not on foreground service state after " + maxTries + " attempts: " + state ); in assertForegroundServiceState()419 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()