Home
last modified time | relevance | path

Searched refs:isVPN (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java880 return !isVPN() && numForegroundNetworkRequests() == 0 && mNumBackgroundNetworkRequests > 0 in isBackgroundNetwork()
897 public boolean isVPN() { in isVPN() method in NetworkAgentInfo
906 return isVPN(); in propagateUnderlyingCapabilities()
DNetworkNotificationManager.java107 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1651 if (nai.isVPN() && nai.everConnected && nai.networkCapabilities.appliesToUid(uid)) { in getVpnForUid()
3941 if (nai.isVPN()) { in createNativeNetwork()
4075 if (!nai.everConnected || nai.isVPN() || nai.isInactive() in unneeded()
5136 if (nai.isVPN()) { in queryUserAccess()
7199 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateNetworkPermissions()
7306 !nai.isVPN() && in mixInCapabilities()
7468 return nai.isVPN() in requiresVpnIsolation()
7496 if (nai.isVPN() && !nai.networkAgentConfig.allowBypass) { in maybeCloseSockets()
7548 if (nai.isVPN() && nai.everConnected && !NetworkCapabilities.hasSameUids(prevNc, newNc) in maybeSendProxyBroadcast()
8413 if (nai.isVPN()) { in addNetworkToLegacyTypeTracker()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java164 doReturn(true).when(mVpnNai).isVPN(); in setUp()