Home
last modified time | relevance | path

Searched refs:BLOCKED_REASON_NONE (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBlockedReasonsTest.kt24 import android.net.ConnectivityManager.BLOCKED_REASON_NONE
242 doReturn(BLOCKED_REASON_NONE) in cellNc()
252 blockedReason = BLOCKED_REASON_NONE in cellNc()
265 doReturn(BLOCKED_REASON_NONE) in cellNc()
270 BLOCKED_REASON_NONE in cellNc()
293 doReturn(BLOCKED_REASON_NONE) in cellNc()
298 BLOCKED_REASON_NONE in cellNc()
334 blockedReason = BLOCKED_REASON_NONE in cellNc()
352 blockedReason = BLOCKED_REASON_NONE in cellNc()
372 BLOCKED_REASON_NONE in cellNc()
[all …]
DCSDestroySocketTest.kt23 import android.net.ConnectivityManager.BLOCKED_REASON_NONE
171 doReturn(BLOCKED_REASON_NONE) in testReplaceFirewallChain()
192 doReturn(BLOCKED_REASON_NONE) in testReplaceFirewallChain()
259 doReturn(BLOCKED_REASON_NONE) in doTestDestroySockets()
/packages/modules/Connectivity/framework/src/android/net/
DBpfNetMapsUtils.java49 import static android.net.ConnectivityManager.BLOCKED_REASON_NONE;
277 int blockedReasons = BLOCKED_REASON_NONE; in getUidNetworkingBlockedReasons()
346 return blockedReasons != BLOCKED_REASON_NONE; in isUidNetworkingBlocked()
348 return (blockedReasons & ~BLOCKED_METERED_REASON_MASK) != BLOCKED_REASON_NONE; in isUidNetworkingBlocked()
DConnectivityManager.java852 public static final int BLOCKED_REASON_NONE = 0; field in ConnectivityManager
976 BLOCKED_REASON_NONE,
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConstantsShim.java42 public static final int BLOCKED_REASON_NONE = 0; field in ConstantsShim
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java112 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_NONE;
2489 BLOCKED_REASON_NONE, NETWORK_CALLBACK_TIMEOUT_MS);
2551 callback.eventuallyExpectBlockedStatusCallback(defaultNetwork, BLOCKED_REASON_NONE);
2578 myUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork, BLOCKED_REASON_NONE);
2579 otherUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork, BLOCKED_REASON_NONE);
3816 int blockedReasonsWithoutChain = BLOCKED_REASON_NONE;
3858 cb.eventuallyExpectBlockedStatusCallback(wifiNetwork, BLOCKED_REASON_NONE);
3909 cb.eventuallyExpectBlockedStatusCallback(network, BLOCKED_REASON_NONE);
3921 cb.eventuallyExpectBlockedStatusCallback(network, BLOCKED_REASON_NONE);
3954 cb.eventuallyExpectBlockedStatusCallback(network, BLOCKED_REASON_NONE);
[all …]
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java36 import static android.net.ConnectivityManager.BLOCKED_REASON_NONE;
914 return (blockedReasons & BLOCKED_METERED_REASON_MASK) != BLOCKED_REASON_NONE; in isUidRestrictedOnMeteredNetworks()
DConnectivityService.java41 import static android.net.ConnectivityManager.BLOCKED_REASON_NONE;
11377 final int blockedReasons = mUidBlockedReasons.get(nri.mAsUid, BLOCKED_REASON_NONE);
11400 : BLOCKED_REASON_NONE;
11412 if (blockedReasons == BLOCKED_REASON_NONE) {
11439 final int blockedReasons = mUidBlockedReasons.get(nri.mAsUid, BLOCKED_REASON_NONE);
11467 uid, mUidBlockedReasons.get(uid, BLOCKED_REASON_NONE), metered, vpnBlocked);
14046 if ((blockedReasons & BLOCKED_REASON_APP_BACKGROUND) != BLOCKED_REASON_NONE) {
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java47 import static android.net.ConnectivityManager.BLOCKED_REASON_NONE;
1200 BLOCKED_REASON_NONE in testGetUidNetworkingBlockedReasons()
1224 BLOCKED_REASON_NONE in testGetUidNetworkingBlockedReasons()
DConnectivityServiceTest.java57 import static android.net.ConnectivityManager.BLOCKED_REASON_NONE;
620 private int mBlockedReasons = BLOCKED_REASON_NONE;
1739 if (blockedOnAllNetworksReason != BLOCKED_REASON_NONE) { in isUidBlocked()
1743 return blockedReasons != BLOCKED_REASON_NONE; in isUidBlocked()
9776 detailedCallback.expectAvailableThenValidatedCallbacks(mCellAgent, BLOCKED_REASON_NONE);
9798 setBlockedReasonChanged(BLOCKED_REASON_NONE);
9801 cb -> cb.getReason() == BLOCKED_REASON_NONE);
9823 cb -> cb.getReason() == BLOCKED_REASON_NONE);
9842 setBlockedReasonChanged(BLOCKED_REASON_NONE);
9845 cb -> cb.getReason() == BLOCKED_REASON_NONE);
[all …]
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java50 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_NONE;
2111 BLOCKED_REASON_NONE, NETWORK_CALLBACK_TIMEOUT_MS); in expectAvailableCallbacksWithBlockedReasonNone()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt55 field public static final int BLOCKED_REASON_NONE = 0; // 0x0