/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkRanker.java | 246 final int[] transports = defaultSubNai.getCapsNoCopy().getTransportTypes(); in getBestNetworkByPolicy() 248 nai -> Arrays.equals(transports, nai.getCapsNoCopy().getTransportTypes())); in getBestNetworkByPolicy()
|
D | NetworkAgentInfo.java | 1202 + transportNamesOf(networkCapabilities.getTransportTypes()) + "]";
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 748 public @Transport int[] getTransportTypes() { in getTransportTypes() method in NetworkRequest 751 return networkCapabilities.getTransportTypes(); in getTransportTypes()
|
D | NetworkCapabilities.java | 1021 @NonNull public @Transport int[] getTransportTypes() { in getTransportTypes() method in NetworkCapabilities 1846 String before = transportNamesOf(this.getTransportTypes()); in describeImmutableDifferences() 1847 String after = transportNamesOf(that.getTransportTypes()); in describeImmutableDifferences()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | KeepaliveUtils.java | 106 final int[] transports = nc.getTransportTypes(); in getSupportedKeepalivesForNetworkCapabilities()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 160 for (int transportType : nc.getTransportTypes()) { in getRequestForNetwork() 311 for (int transport : nCaps.getTransportTypes()) { in getTransportString()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetUpdater.java | 234 for (int transport : capabilities.getTransportTypes()) { in updateInternetAvailable()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetrics.java | 93 final int trCount = nc.getTransportTypes().length; in getTransportTypeFromNC()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | BatteryStatsManagerTest.java | 167 final int[] transportType = mCm.getNetworkCapabilities(wifiNetwork).getTransportTypes(); in testReportNetworkInterfaceForTransports_throwsSecurityException()
|
D | ConnectivityManagerTest.java | 960 assertArrayEquals(filed.networkCapabilities.getTransportTypes(), in assertPendingIntentRequestMatches() 961 broadcasted.networkCapabilities.getTransportTypes()); in assertPendingIntentRequestMatches()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 849 final int[] transportTypes = nc.getTransportTypes(); in testGetTransportTypes() 1129 assertEquals(1, nc.getTransportTypes().length); in testBuilder() 1130 assertEquals(TRANSPORT_WIFI, nc.getTransportTypes()[0]); in testBuilder()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1105 final int[] transports = mNetworkCapabilities.getTransportTypes(); in maybeWriteDataStallStats() 1805 int[] transportTypes = mNetworkCapabilities.getTransportTypes(); in onlyWifiTransport() 3050 int[] transports = mNetworkCapabilities.getTransportTypes(); in logNetworkEvent() 3072 int[] transports = mNetworkCapabilities.getTransportTypes(); in maybeLogEvaluationResult() 3080 int[] transports = mNetworkCapabilities.getTransportTypes(); in logValidationProbe()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 3958 nai.networkCapabilities.getTransportTypes()); in createNativeNetwork() 6266 int[] transportTypes = nc.getTransportTypes(); in hasWifiNetworkListenPermission() 7021 caps.getTransportTypes()); in updateInterfaces() 7234 long transportTypes = NetworkCapabilitiesUtils.packBits(agentCaps.getTransportTypes()); in applyUnderlyingCapabilities() 7252 for (int underlyingType : underlyingCaps.getTransportTypes()) { in applyUnderlyingCapabilities() 7436 nai.network.getNetId(), newNc.getTransportTypes()); in updateCapabilities() 8903 int[] transports = nai.networkCapabilities.getTransportTypes(); in logNetworkEvent()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1137 int[] transports = mCM.getNetworkCapabilities(underlyingNetwork).getTransportTypes(); in assertVpnTransportContains()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 393 method @NonNull public int[] getTransportTypes();
|
D | system-current.txt | 281 method @NonNull public int[] getTransportTypes();
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 2070 final int[] transports = nc.getTransportTypes();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 942 .addTransportType(getNetworkCapabilities().getTransportTypes()[0]) in connect() 7024 nc.getTransportTypes().length == 1 && nc.hasTransport(TRANSPORT_VPN)); in testVpnConnectDisconnectUnderlyingNetwork()
|