Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractAppIdleTestCase.java88 assertAppIdle(false); // Sanity check - not idle anymore, since activity was launched... in testBackgroundNetworkAccess_enabled()
97 assertAppIdle(true); in testBackgroundNetworkAccess_enabled()
108 assertAppIdle(false); // Sanity check - not idle anymore, since whitelisted in testBackgroundNetworkAccess_whitelisted()
112 assertAppIdle(true); // Sanity check - idle again, once whitelisted was removed in testBackgroundNetworkAccess_whitelisted()
116 assertAppIdle(false); // Sanity check - not idle anymore, since whitelisted in testBackgroundNetworkAccess_whitelisted()
120 assertAppIdle(true); // Sanity check - idle again, once whitelisted was removed in testBackgroundNetworkAccess_whitelisted()
187 assertAppIdle(true); in testAppIdleNetworkAccess_idleWhitelisted()
206 assertAppIdle(true); in testAppIdle_toast()
208 assertAppIdle(true); in testAppIdle_toast()
211 assertAppIdle(true); in testAppIdle_toast()
DAbstractRestrictBackgroundNetworkTestCase.java955 assertAppIdle(enabled); // Sanity check in setAppIdle()
978 protected void assertAppIdle(boolean enabled) throws Exception { in assertAppIdle() method in AbstractRestrictBackgroundNetworkTestCase