Searched refs:setDozeMode (Results 1 – 3 of 3) sorted by relevance
41 setDozeMode(false); in setUp()50 setDozeMode(false); in tearDown()55 setDozeMode(true); in testBackgroundNetworkAccess_enabled()62 setDozeMode(false); in testBackgroundNetworkAccess_enabled()64 setDozeMode(true); in testBackgroundNetworkAccess_enabled()73 setDozeMode(true); in testBackgroundNetworkAccess_whitelisted()107 setDozeMode(true); in testBackgroundNetworkAccess_enabledButWhitelistedOnNotificationAction()
207 setDozeMode(true); in testDozeAndBatterySaverMode_powerSaveWhitelists()223 setDozeMode(false); in testDozeAndBatterySaverMode_powerSaveWhitelists()234 setDozeMode(true); in testDozeAndAppIdle_powerSaveWhitelists()251 setDozeMode(false); in testDozeAndAppIdle_powerSaveWhitelists()258 setDozeMode(true); in testAppIdleAndDoze_tempPowerSaveWhitelists()272 setDozeMode(false); in testAppIdleAndDoze_tempPowerSaveWhitelists()303 setDozeMode(true); in testDozeAndAppIdle_appIdleWhitelist()317 setDozeMode(false); in testDozeAndAppIdle_appIdleWhitelist()324 setDozeMode(true); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()341 setDozeMode(false); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()
648 protected void setDozeMode(boolean enabled) throws Exception { in setDozeMode() method in AbstractRestrictBackgroundNetworkTestCase