/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/ |
D | NetworkInformationShimImpl.java | 52 public List<Network> getUnderlyingNetworks(@NonNull NetworkCapabilities nc) { in getUnderlyingNetworks() method in NetworkInformationShimImpl 53 return nc.getUnderlyingNetworks(); in getUnderlyingNetworks()
|
/packages/modules/Connectivity/framework/api/ |
D | system-lint-baseline.txt | 18 RequiresPermission: android.net.NetworkCapabilities#getUnderlyingNetworks(): 19 …Method 'getUnderlyingNetworks' documentation mentions permissions without declaring @RequiresPermi…
|
D | module-lib-lint-baseline.txt | 20 RequiresPermission: android.net.NetworkCapabilities#getUnderlyingNetworks(): 21 …Method 'getUnderlyingNetworks' documentation mentions permissions without declaring @RequiresPermi…
|
D | system-current.txt | 311 method @Nullable public java.util.List<android.net.Network> getUnderlyingNetworks();
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | NetworkInformationShim.java | 106 default List<Network> getUnderlyingNetworks(@NonNull NetworkCapabilities nc) { in getUnderlyingNetworks() method
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 884 entry.getCaps().getUnderlyingNetworks()))); in expectUnderlyingNetworks() 1028 assertNotNull(nc.getUnderlyingNetworks()); in testDefault() 1029 assertEquals(defaultNetwork, new ArrayList<>(nc.getUnderlyingNetworks()).get(0)); in testDefault() 1532 assertNotNull(nc.getUnderlyingNetworks()); in testVpnMeterednessWithNoUnderlyingNetwork() 1533 assertEquals(underlyingNetworks, new ArrayList<>(nc.getUnderlyingNetworks())); in testVpnMeterednessWithNoUnderlyingNetwork() 1596 assertNotNull(nc.getUnderlyingNetworks()); in testVpnMeterednessWithNonNullUnderlyingNetwork() 1597 final List<Network> underlying = nc.getUnderlyingNetworks(); in testVpnMeterednessWithNonNullUnderlyingNetwork() 1657 assertNotNull(nc.getUnderlyingNetworks()); in testAlwaysMeteredVpnWithNonNullUnderlyingNetwork() 1658 final List<Network> underlying = nc.getUnderlyingNetworks(); in testAlwaysMeteredVpnWithNonNullUnderlyingNetwork()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 1090 public List<Network> getUnderlyingNetworks() { in getUnderlyingNetworks() method in NetworkCapabilities 1095 return Objects.equals(getUnderlyingNetworks(), nc.getUnderlyingNetworks()); in equalsUnderlyingNetworks()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 663 declaredUnderlyingNetworks = (nc.getUnderlyingNetworks() != null) in NetworkAgentInfo() 664 ? nc.getUnderlyingNetworks().toArray(new Network[0]) in NetworkAgentInfo()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 709 final ArrayList<Network> outputNetworks = new ArrayList<>(nc.getUnderlyingNetworks()); in testUnderlyingNetworks() 713 assertNull(nc.getUnderlyingNetworks()); in testUnderlyingNetworks() 1289 final List<Network> outputNetworks = nc.getUnderlyingNetworks(); in testBuilder()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 8661 assertEquals(0, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8666 assertEquals(0, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8671 assertEquals(1, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8672 assertEquals(mobile, new ArrayList<>(caps.getUnderlyingNetworks()).get(0)); 8677 assertEquals(1, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8678 assertEquals(wifi, new ArrayList<>(caps.getUnderlyingNetworks()).get(0)); 8684 assertEquals(1, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8685 assertEquals(wifi, new ArrayList<>(caps.getUnderlyingNetworks()).get(0)); 8690 assertEquals(2, new ArrayList<>(caps.getUnderlyingNetworks()).size()); 8691 assertEquals(mobile, new ArrayList<>(caps.getUnderlyingNetworks()).get(0)); [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1226 && !Objects.equals(mInfoShim.getUnderlyingNetworks(newCap), in isVpnUnderlyingNetworkChangeReevaluationRequired() 1227 mInfoShim.getUnderlyingNetworks(oldCap)); in isVpnUnderlyingNetworkChangeReevaluationRequired()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 822 assertNull(redactedNormal.getUnderlyingNetworks()); in testGetRedactedNetworkCapabilitiesForPackage() 836 assertEquals(List.of(defaultNetwork), redactedPrivileged.getUnderlyingNetworks()); in testGetRedactedNetworkCapabilitiesForPackage()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 2873 if (nc.getUnderlyingNetworks() != null 12530 final List<Network> underlyingNetworks = nc.getUnderlyingNetworks();
|