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.java339 final int maxTries = 30; in assertBackgroundState() local
341 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() local
358 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() local
376 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 …]
/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()