Searched refs:assertAppIdle (Results 1 – 2 of 2) sorted by relevance
88 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()169 assertAppIdle(true); in testAppIdle_toast()171 assertAppIdle(true); in testAppIdle_toast()174 assertAppIdle(true); in testAppIdle_toast()
814 assertAppIdle(enabled); // Sanity check in setAppIdle()843 protected void assertAppIdle(boolean enabled) throws Exception { in assertAppIdle() method in AbstractRestrictBackgroundNetworkTestCase