Searched refs:maxTries (Results 1 – 3 of 3) sorted by relevance
284 final int maxTries = 30; in assertBackgroundState() local286 for (int i = 1; i <= maxTries; i++) { in assertBackgroundState()297 fail("App2 is not on background state after " + maxTries + " attempts: " + state ); in assertBackgroundState()301 final int maxTries = 30; in assertForegroundState() local303 for (int i = 1; i <= maxTries; i++) { in assertForegroundState()315 fail("App2 is not on foreground state after " + maxTries + " attempts: " + state ); in assertForegroundState()319 final int maxTries = 30; in assertForegroundServiceState() local321 for (int i = 1; i <= maxTries; i++) { in assertForegroundServiceState()332 fail("App2 is not on foreground service state after " + maxTries + " attempts: " + state ); in assertForegroundServiceState()346 final int maxTries = 5; in assertNetworkAccess() local[all …]
298 final int maxTries = 5; in assertDelayedCommand() local299 for (int i = 1; i <= maxTries; i++) { in assertDelayedCommand()306 fail("Command '" + command + "' did not return '" + expectedResult + "' after " + maxTries in assertDelayedCommand()
465 final int maxTries = 5; in waitForObject() local466 final long napTime = timeout / maxTries; in waitForObject()467 for (int i = 1; i <= maxTries; i++) { in waitForObject()495 final int maxTries = 5; in waitForObjects() local496 final long napTime = timeout / maxTries; in waitForObjects()497 for (int i = 1; i <= maxTries; i++) { in waitForObjects()