Searched refs:isVPN (Results 1 – 4 of 4) sorted by relevance
880 return !isVPN() && numForegroundNetworkRequests() == 0 && mNumBackgroundNetworkRequests > 0 in isBackgroundNetwork()897 public boolean isVPN() { in isVPN() method in NetworkAgentInfo906 return isVPN(); in propagateUnderlyingCapabilities()
107 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
1651 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 …]
164 doReturn(true).when(mVpnNai).isVPN(); in setUp()