Searched refs:underlyingNetworks (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | MyVpnService.java | 74 final ArrayList<Network> underlyingNetworks = in updateUnderlyingNetworks() local 77 (underlyingNetworks != null) ? underlyingNetworks.toArray(new Network[0]) : null); in updateUnderlyingNetworks() 168 ArrayList<Network> underlyingNetworks = in start() local 170 if (underlyingNetworks == null) { in start() 174 builder.setUnderlyingNetworks(underlyingNetworks.toArray(new Network[0])); in start()
|
D | VpnTest.java | 370 private void updateUnderlyingNetworks(@Nullable ArrayList<Network> underlyingNetworks) in updateUnderlyingNetworks() argument 375 mPackageName + ".underlyingNetworks", underlyingNetworks); in updateUnderlyingNetworks() 381 @Nullable ProxyInfo proxyInfo, @Nullable ArrayList<Network> underlyingNetworks, in establishVpn() argument 393 mPackageName + ".underlyingNetworks", underlyingNetworks) in establishVpn() 403 @Nullable ArrayList<Network> underlyingNetworks, boolean isAlwaysMetered) in startVpn() argument 406 disallowedApplications, proxyInfo, underlyingNetworks, isAlwaysMetered); in startVpn() 413 @Nullable ArrayList<Network> underlyingNetworks, boolean isAlwaysMetered) in startVpn() argument 416 proxyInfo, underlyingNetworks, isAlwaysMetered, false /* addRoutesByIpPrefix */); in startVpn() 423 @Nullable ArrayList<Network> underlyingNetworks, boolean isAlwaysMetered, in startVpn() argument 447 proxyInfo, underlyingNetworks, isAlwaysMetered, addRoutesByIpPrefix); in startVpn() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkAgent.java | 989 @SuppressLint("NullableCollection") @Nullable List<Network> underlyingNetworks) { in setUnderlyingNetworks() 990 final ArrayList<Network> underlyingArray = (underlyingNetworks != null) in setUnderlyingNetworks() 991 ? new ArrayList<>(underlyingNetworks) : null; in setUnderlyingNetworks()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 339 public void setUnderlyingNetworks(List<Network> underlyingNetworks) { in setUnderlyingNetworks() argument 340 mNetworkAgent.setUnderlyingNetworks(underlyingNetworks); in setUnderlyingNetworks()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 7172 Network[] underlyingNetworks = nai.declaredUnderlyingNetworks; 7177 if (underlyingNetworks == null && nai.propagateUnderlyingCapabilities()) { 7181 underlyingNetworks = new Network[] { defaultNai.network }; 7185 if (CollectionUtils.isEmpty(underlyingNetworks)) return null; 7188 for (Network network : underlyingNetworks) { 7213 Network[] underlyingNetworks) { 7215 if (underlyingNetworks == null && defaultNetwork != null) { 7217 underlyingNetworks = new Network[] { defaultNetwork }; 7219 return underlyingNetworks; 9455 void applyUnderlyingCapabilities(@Nullable Network[] underlyingNetworks, [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 1705 it.underlyingNetworks = listOf() in doTestNativeNetworkCreation()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 1745 List<Network> underlyingNetworks) { in notifyUnderlyingNetworkChange() argument 1747 .setUnderlyingNetworks(underlyingNetworks).build(); in notifyUnderlyingNetworkChange()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 13122 final List<Network> underlyingNetworks = new ArrayList<>(); 13124 .setUnderlyingNetworks(underlyingNetworks) 13128 assertEquals(underlyingNetworks, 13131 underlyingNetworks.add(network1); 13132 underlyingNetworks.add(network2); 13134 .setUnderlyingNetworks(underlyingNetworks) 13137 assertEquals(underlyingNetworks,
|