Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java283 assertNetworkAccess(expectAllowed /* expectAvailable */, false /* needScreenOn */); in assertBackgroundNetworkAccess()
292 assertNetworkAccess(true /* expectAvailable */, true /* needScreenOn */); in assertForegroundNetworkAccess()
297 assertNetworkAccess(true /* expectAvailable */, false /* needScreenOn */); in assertForegroundServiceNetworkAccess()
417 private void assertNetworkAccess(boolean expectAvailable, boolean needScreenOn) in assertNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase