Home
last modified time | relevance | path

Searched refs:setUnderlyingNetworks (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java76 setUnderlyingNetworks( in updateUnderlyingNetworks()
172 builder.setUnderlyingNetworks(null); in start()
174 builder.setUnderlyingNetworks(underlyingNetworks.toArray(new Network[0])); in start()
/packages/modules/Connectivity/framework/api/
Dsystem-lint-baseline.txt22 RequiresPermission: android.net.NetworkCapabilities.Builder#setUnderlyingNetworks(java.util.List<an…
23 …Method 'setUnderlyingNetworks' documentation mentions permissions already declared by @RequiresPer…
Dmodule-lib-lint-baseline.txt26 RequiresPermission: android.net.NetworkCapabilities.Builder#setUnderlyingNetworks(java.util.List<an…
27 …Method 'setUnderlyingNetworks' documentation mentions permissions already declared by @RequiresPer…
Dsystem-current.txt267 method public void setUnderlyingNetworks(@Nullable java.util.List<android.net.Network>);
344 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setUnderlyingNetworks(@Nullable …
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java708 nc.setUnderlyingNetworks(inputNetworks); in testUnderlyingNetworks()
712 nc.setUnderlyingNetworks(null); in testUnderlyingNetworks()
726 nc1.setUnderlyingNetworks(inputNetworks); in testEqualsForUnderlyingNetworks()
728 nc2.setUnderlyingNetworks(inputNetworks); in testEqualsForUnderlyingNetworks()
730 nc1.setUnderlyingNetworks(emptyList); in testEqualsForUnderlyingNetworks()
732 nc2.setUnderlyingNetworks(emptyList); in testEqualsForUnderlyingNetworks()
734 nc1.setUnderlyingNetworks(null); in testEqualsForUnderlyingNetworks()
736 nc2.setUnderlyingNetworks(null); in testEqualsForUnderlyingNetworks()
1268 capBuilder.setUnderlyingNetworks(inputNetworks); in testBuilder()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java339 public void setUnderlyingNetworks(List<Network> underlyingNetworks) { in setUnderlyingNetworks() method in NetworkAgentWrapper
340 mNetworkAgent.setUnderlyingNetworks(underlyingNetworks); in setUnderlyingNetworks()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1067 public void setUnderlyingNetworks(@Nullable List<Network> networks) { in setUnderlyingNetworks() method in NetworkCapabilities
2462 netCap.setUnderlyingNetworks(in.createTypedArrayList(Network.CREATOR));
3378 public Builder setUnderlyingNetworks(@Nullable List<Network> networks) { in setUnderlyingNetworks() method in NetworkCapabilities.Builder
3379 mCaps.setUnderlyingNetworks(networks); in setUnderlyingNetworks()
DNetworkAgent.java988 public void setUnderlyingNetworks( in setUnderlyingNetworks() method in NetworkAgent
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1693 public boolean setUnderlyingNetworks(@Nullable Network[] networks) { in setUnderlyingNetworks() method in ConnectivityServiceTest.MockVpn
1695 mMockNetworkAgent.setUnderlyingNetworks( in setUnderlyingNetworks()
8029 mMockVpn.setUnderlyingNetworks(onlyCell().toArray(new Network[0]));
8035 mMockVpn.setUnderlyingNetworks(cellAndWifi().toArray(new Network[0]));
8042 mMockVpn.setUnderlyingNetworks(cellNullAndWifi);
8092 mMockVpn.setUnderlyingNetworks(new Network[0]);
8098 mMockVpn.setUnderlyingNetworks(onlyNull);
8104 mMockVpn.setUnderlyingNetworks(onlyCell().toArray(new Network[0]));
8110 mMockVpn.setUnderlyingNetworks(null);
8177 vcn.setUnderlyingNetworks(List.of(mWiFiAgent.getNetwork()));
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkAgentTest.kt951 agent.setUnderlyingNetworks(listOf<Network>()) in testSetUnderlyingNetworksAndVpnSpecifier()
959 agent.setUnderlyingNetworks(null) in testSetUnderlyingNetworksAndVpnSpecifier()
DConnectivityManagerTest.java799 .setUnderlyingNetworks(List.of(defaultNetwork)) in testGetRedactedNetworkCapabilitiesForPackage()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1747 .setUnderlyingNetworks(underlyingNetworks).build(); in notifyUnderlyingNetworkChange()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2875 nc.setUnderlyingNetworks(null);
9519 newNc.setUnderlyingNetworks(newUnderlyingNetworks);