Searched refs:assertBackgroundNetworkAccess (Results 1 – 7 of 7) sorted by relevance
82 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()84 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()89 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()91 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()97 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()99 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()105 assertBackgroundNetworkAccess(true); in testDataAndBatterySaverModes_meteredNetwork()107 assertBackgroundNetworkAccess(true); in testDataAndBatterySaverModes_meteredNetwork()109 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()115 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()[all …]
60 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()64 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()71 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_enabled()73 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()80 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()86 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()90 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()94 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()98 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()102 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()[all …]
53 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()56 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()66 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()72 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()80 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()86 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()89 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()92 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()95 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()98 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()[all …]
56 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()59 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()68 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()74 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()77 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()80 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()83 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()86 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()89 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()94 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_disabled()[all …]
225 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_dataSaver()230 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_dataSaver()235 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_dataSaver()246 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_dataSaver()251 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_dataSaver()263 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_powerSaver()268 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_powerSaver()281 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_powerSaver()286 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_powerSaver()
114 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()120 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()128 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()205 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
242 protected void assertBackgroundNetworkAccess(boolean expectAllowed) throws Exception { in assertBackgroundNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase