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.java1242 return !isVPN() && numForegroundNetworkRequests() == 0 && mNumBackgroundNetworkRequests > 0 in isBackgroundNetwork()
1259 public boolean isVPN() { in isVPN() method in NetworkAgentInfo
1273 return isVPN(); in propagateUnderlyingCapabilities()
DNetworkNotificationManager.java110 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2290 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 …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java186 doReturn(true).when(mVpnNai).isVPN(); in setUp()