Searched refs:setAppIdle (Results 1 – 4 of 4) sorted by relevance
43 setAppIdle(false); in setUp()54 setAppIdle(false); in tearDown()59 setAppIdle(true); in testBackgroundNetworkAccess_enabled()63 setAppIdle(true); in testBackgroundNetworkAccess_enabled()67 setAppIdle(true); in testBackgroundNetworkAccess_enabled()72 setAppIdle(true); in testBackgroundNetworkAccess_enabled()76 setAppIdle(true); in testBackgroundNetworkAccess_enabled()84 setAppIdle(true); in testBackgroundNetworkAccess_enabled()96 setAppIdle(true); in testBackgroundNetworkAccess_whitelisted()109 setAppIdle(true); in testBackgroundNetworkAccess_whitelisted()[all …]
235 setAppIdle(true); in testDozeAndAppIdle_powerSaveWhitelists()250 setAppIdle(false); in testDozeAndAppIdle_powerSaveWhitelists()259 setAppIdle(true); in testAppIdleAndDoze_tempPowerSaveWhitelists()271 setAppIdle(false); in testAppIdleAndDoze_tempPowerSaveWhitelists()280 setAppIdle(true); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()292 setAppIdle(false); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()304 setAppIdle(true); in testDozeAndAppIdle_appIdleWhitelist()316 setAppIdle(false); in testDozeAndAppIdle_appIdleWhitelist()325 setAppIdle(true); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()340 setAppIdle(false); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()[all …]
47 setAppIdle(false); in resetDeviceState()80 setAppIdle(true); in testNetworkAccess_appIdleState()129 setAppIdle(true); in testNetworkAccess_allRestrictionsEnabled()
182 setAppIdle(false); in setUp()718 protected void setAppIdle(boolean enabled) throws Exception { in setAppIdle() method in AbstractRestrictBackgroundNetworkTestCase