Home
last modified time | relevance | path

Searched refs:underlyingNetworks (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java109 public Network[] underlyingNetworks; field in VpnConfig
175 out.writeTypedArray(underlyingNetworks, flags); in writeToParcel()
202 config.underlyingNetworks = in.createTypedArray(Network.CREATOR);
234 .append(", underlyingNetworks=").append(Arrays.toString(underlyingNetworks)) in toString()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java328 Network[] underlyingNetworks = mConfig.underlyingNetworks; in updateCapabilities() local
329 if (underlyingNetworks == null && defaultNetwork != null) { in updateCapabilities()
331 underlyingNetworks = new Network[] { defaultNetwork }; in updateCapabilities()
338 underlyingNetworks, in updateCapabilities() local
348 Network[] underlyingNetworks, in applyUnderlyingCapabilities() argument
360 if (null != underlyingNetworks) { in applyUnderlyingCapabilities()
361 for (Network underlying : underlyingNetworks) { in applyUnderlyingCapabilities()
1696 mConfig.underlyingNetworks = null;
1698 mConfig.underlyingNetworks = new Network[networks.length];
1701 mConfig.underlyingNetworks[i] = null;
[all …]
/frameworks/base/core/java/android/net/
DVpnService.java822 mConfig.underlyingNetworks = networks != null ? networks.clone() : null; in setUnderlyingNetworks()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4702 Network[] underlyingNetworks = vpn.getUnderlyingNetworks(); in createVpnInfo() local
4705 if (underlyingNetworks == null) { in createVpnInfo()
4708 underlyingNetworks = new Network[] { defaultNai.network }; in createVpnInfo()
4711 if (underlyingNetworks != null && underlyingNetworks.length > 0) { in createVpnInfo()
4713 for (Network network : underlyingNetworks) { in createVpnInfo()
8130 final Network[] underlyingNetworks; in checkConnectivityDiagnosticsPermissions() local
8133 underlyingNetworks = (vpn == null) ? null : vpn.getUnderlyingNetworks(); in checkConnectivityDiagnosticsPermissions()
8135 if (underlyingNetworks != null) { in checkConnectivityDiagnosticsPermissions()
8136 if (Arrays.asList(underlyingNetworks).contains(nai.network)) return true; in checkConnectivityDiagnosticsPermissions()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1132 private synchronized void overrideUnderlyingNetworks(Network[] underlyingNetworks) { in overrideUnderlyingNetworks() argument
1133 mUnderlyingNetworks = underlyingNetworks; in overrideUnderlyingNetworks()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt87644 Lcom/android/internal/net/VpnConfig;->underlyingNetworks:[Landroid/net/Network;