Searched refs:setRestrictBackground (Results 1 – 4 of 4) sorted by relevance
42 setRestrictBackground(false); in setUp()59 setRestrictBackground(false); in tearDown()94 setRestrictBackground(true); in testGetRestrictBackgroundStatus_whitelisted()113 setRestrictBackground(true); in testGetRestrictBackgroundStatus_enabled()121 setRestrictBackground(false); in testGetRestrictBackgroundStatus_enabled()123 setRestrictBackground(true); in testGetRestrictBackgroundStatus_enabled()137 setRestrictBackground(false); in testGetRestrictBackgroundStatus_enabled()139 setRestrictBackground(true); in testGetRestrictBackgroundStatus_enabled()158 setRestrictBackground(true); in testGetRestrictBackgroundStatus_blacklisted()177 setRestrictBackground(false); in testGetRestrictBackgroundStatus_blacklisted()[all …]
148 setRestrictBackground(false); in setUp()163 setRestrictBackground(false); in tearDown()179 setRestrictBackground(true); in testOnBlockedStatusChanged_data_saver()199 setRestrictBackground(false); in testOnBlockedStatusChanged_data_saver()
54 setRestrictBackground(false); in tearDown()89 setRestrictBackground(true); in testDataAndBatterySaverModes_meteredNetwork()162 setRestrictBackground(true); in testDataAndBatterySaverModes_nonMeteredNetwork()
400 setRestrictBackground(true); in isDataSaverSupported()403 setRestrictBackground(false); in isDataSaverSupported()739 protected void setRestrictBackground(boolean enabled) throws Exception { in setRestrictBackground() method in AbstractRestrictBackgroundNetworkTestCase