Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java278 final int maxTries = 30; in assertBackgroundState() local
280 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() local
297 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() local
315 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 …]
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideRestrictBackgroundNetworkTests.java348 final int maxTries = 5; in assertDelayedCommand() local
349 for (int i = 1; i <= maxTries; i++) { in assertDelayedCommand()
356 fail("Command '" + command + "' did not return '" + expectedResult + "' after " + maxTries in assertDelayedCommand()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityViewTest.java133 final int maxTries = 5; in checkDisplaySize() local
139 for (int i = 0; i < maxTries; i++) { in checkDisplaySize()