Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBlockedReasonsTest.kt21 import android.net.ConnectivityManager.BLOCKED_REASON_APP_BACKGROUND
120 doReturn(BLOCKED_REASON_APP_BACKGROUND or BLOCKED_METERED_REASON_DATA_SAVER) in cellNc()
136 blockedReason = BLOCKED_REASON_APP_BACKGROUND or BLOCKED_METERED_REASON_DATA_SAVER in cellNc()
141 blockedReason = BLOCKED_REASON_APP_BACKGROUND in cellNc()
145 doReturn(BLOCKED_REASON_APP_BACKGROUND) in cellNc()
148 cellCb.expectBlockedStatusChanged(cellAgent.network, BLOCKED_REASON_APP_BACKGROUND) in cellNc()
157 doReturn(BLOCKED_REASON_APP_BACKGROUND or BLOCKED_METERED_REASON_DATA_SAVER) in cellNc()
162 BLOCKED_REASON_APP_BACKGROUND or BLOCKED_METERED_REASON_DATA_SAVER in cellNc()
279 doReturn(BLOCKED_REASON_APP_BACKGROUND) in cellNc()
289 blockedReason = BLOCKED_REASON_APP_BACKGROUND in cellNc()
[all …]
DCSDestroySocketTest.kt22 import android.net.ConnectivityManager.BLOCKED_REASON_APP_BACKGROUND
94 doReturn(BLOCKED_REASON_APP_BACKGROUND) in doTestBackgroundRestrictionDestroySockets()
179 doReturn(BLOCKED_REASON_APP_BACKGROUND) in testReplaceFirewallChain()
190 doReturn(BLOCKED_REASON_APP_BACKGROUND) in testReplaceFirewallChain()
232 doReturn(BLOCKED_REASON_APP_BACKGROUND) in doTestDestroySockets()
/packages/modules/Connectivity/framework/src/android/net/
DBpfNetMapsUtils.java44 import static android.net.ConnectivityManager.BLOCKED_REASON_APP_BACKGROUND;
294 blockedReasons |= BLOCKED_REASON_APP_BACKGROUND; in getUidNetworkingBlockedReasons()
DConnectivityManager.java918 public static final int BLOCKED_REASON_APP_BACKGROUND = 1 << 6; field in ConnectivityManager
983 BLOCKED_REASON_APP_BACKGROUND,
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt48 …sic_background_restrictions_enabled") public static final int BLOCKED_REASON_APP_BACKGROUND = 64; …
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java41 import static android.net.ConnectivityManager.BLOCKED_REASON_APP_BACKGROUND;
3772 return BLOCKED_REASON_APP_BACKGROUND;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java39 import static android.net.ConnectivityManager.BLOCKED_REASON_APP_BACKGROUND;
14046 if ((blockedReasons & BLOCKED_REASON_APP_BACKGROUND) != BLOCKED_REASON_NONE) {