Home
last modified time | relevance | path

Searched refs:assertBackgroundNetworkAccess (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMixedModesTest.java93 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
95 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
100 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
102 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
108 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
110 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
116 assertBackgroundNetworkAccess(true); in testDataAndBatterySaverModes_meteredNetwork()
118 assertBackgroundNetworkAccess(true); in testDataAndBatterySaverModes_meteredNetwork()
120 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
126 assertBackgroundNetworkAccess(false); in testDataAndBatterySaverModes_meteredNetwork()
[all …]
DAbstractAppIdleTestCase.java78 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
82 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
89 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_enabled()
91 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
98 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
105 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
109 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()
113 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
117 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()
121 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
[all …]
DAbstractBatterySaverModeTestCase.java91 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
94 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
104 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
110 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
118 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
125 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
128 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()
131 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
134 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()
137 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
[all …]
DAbstractDozeModeTestCase.java84 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
87 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
96 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_enabled()
103 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
106 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_whitelisted()
109 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
112 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
115 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
118 assertBackgroundNetworkAccess(false); in testBackgroundNetworkAccess_whitelisted()
124 assertBackgroundNetworkAccess(true); in testBackgroundNetworkAccess_disabled()
[all …]
DNetworkCallbackTest.java180 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_data_saver()
185 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_data_saver()
190 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_data_saver()
195 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_data_saver()
200 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_data_saver()
216 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_power_saver()
221 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_power_saver()
230 assertBackgroundNetworkAccess(false); in testOnBlockedStatusChanged_power_saver()
235 assertBackgroundNetworkAccess(true); in testOnBlockedStatusChanged_power_saver()
DDataSaverModeTest.java128 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()
134 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()
142 assertBackgroundNetworkAccess(false); in testGetRestrictBackgroundStatus_enabled()
221 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
DAbstractRestrictBackgroundNetworkTestCase.java281 protected void assertBackgroundNetworkAccess(boolean expectAllowed) throws Exception { in assertBackgroundNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase