Searched refs:isVPN (Results 1 – 4 of 4) sorted by relevance
1242 return !isVPN() && numForegroundNetworkRequests() == 0 && mNumBackgroundNetworkRequests > 0 in isBackgroundNetwork()1259 public boolean isVPN() { in isVPN() method in NetworkAgentInfo1273 return isVPN(); in propagateUnderlyingCapabilities()
110 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
2290 if (nai.isVPN() && nai.everConnected()5317 return nai.isVPN() || shouldCreateNetworksImmediately();5559 if (nai.isVPN()) {5762 if (!nai.everConnected() || nai.isVPN() || nai.isInactive()6986 if (nai.isVPN()) {9382 if (!agent.isVPN() || agent.isDestroyed()) {9444 if (oldPermission != newPermission && nai.isCreated() && !nai.isVPN()) {9535 && !nai.isVPN()9878 if (nai.isVPN()9901 return mDeps.isAtLeastT() && nai.isVPN() && lp != null && lp.getInterfaceName() != null;[all …]
186 doReturn(true).when(mVpnNai).isVPN(); in setUp()