Home
last modified time | relevance | path

Searched refs:getTransportTypes (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java246 final int[] transports = defaultSubNai.getCapsNoCopy().getTransportTypes(); in getBestNetworkByPolicy()
248 nai -> Arrays.equals(transports, nai.getCapsNoCopy().getTransportTypes())); in getBestNetworkByPolicy()
DNetworkAgentInfo.java1202 + transportNamesOf(networkCapabilities.getTransportTypes()) + "]";
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java748 public @Transport int[] getTransportTypes() { in getTransportTypes() method in NetworkRequest
751 return networkCapabilities.getTransportTypes(); in getTransportTypes()
DNetworkCapabilities.java1021 @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/
DKeepaliveUtils.java106 final int[] transports = nc.getTransportTypes(); in getSupportedKeepalivesForNetworkCapabilities()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java160 for (int transportType : nc.getTransportTypes()) { in getRequestForNetwork()
311 for (int transport : nCaps.getTransportTypes()) { in getTransportString()
/packages/apps/Settings/src/com/android/settings/network/
DInternetUpdater.java234 for (int transport : capabilities.getTransportTypes()) { in updateInternetAvailable()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java93 final int trCount = nc.getTransportTypes().length; in getTransportTypeFromNC()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DBatteryStatsManagerTest.java167 final int[] transportType = mCm.getNetworkCapabilities(wifiNetwork).getTransportTypes(); in testReportNetworkInterfaceForTransports_throwsSecurityException()
DConnectivityManagerTest.java960 assertArrayEquals(filed.networkCapabilities.getTransportTypes(), in assertPendingIntentRequestMatches()
961 broadcasted.networkCapabilities.getTransportTypes()); in assertPendingIntentRequestMatches()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java849 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/
DNetworkMonitor.java1105 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/
DConnectivityService.java3958 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/
DVpnTest.java1137 int[] transports = mCM.getNetworkCapabilities(underlyingNetwork).getTransportTypes(); in assertVpnTransportContains()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt393 method @NonNull public int[] getTransportTypes();
Dsystem-current.txt281 method @NonNull public int[] getTransportTypes();
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2070 final int[] transports = nc.getTransportTypes();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java942 .addTransportType(getNetworkCapabilities().getTransportTypes()[0]) in connect()
7024 nc.getTransportTypes().length == 1 && nc.hasTransport(TRANSPORT_VPN)); in testVpnConnectDisconnectUnderlyingNetwork()