Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java104 final int[] transports = nc.getTransportTypes(); in getSupportedKeepalivesForNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDefaultNetworkMetrics.java165 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
DNetworkAgentInfo.java689 + transportNamesOf(networkCapabilities.getTransportTypes()) + "]"; in toShortString()
DNetdEventListenerService.java392 return BitUtils.packBits(nc.getTransportTypes()); in getTransports()
DVpn.java366 for (int underlyingType : underlyingCaps.getTransportTypes()) { in applyUnderlyingCapabilities()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java855 @NonNull public @Transport int[] getTransportTypes() { in getTransportTypes() method in NetworkCapabilities
1642 String before = transportNamesOf(this.getTransportTypes()); in describeImmutableDifferences()
1643 String after = transportNamesOf(that.getTransportTypes()); in describeImmutableDifferences()
1849 for (int transport : getTransportTypes()) { in writeToProto()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java364 int[] transportTypes = mCapabilities.getTransportTypes(); in NetworkInterfaceState()
425 int[] transportTypes = mCapabilities.getTransportTypes(); in getNetworkScore()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java694 final int[] transportTypes = nc.getTransportTypes(); in testGetTransportTypes()
911 assertEquals(1, nc.getTransportTypes().length); in testBuilder()
912 assertEquals(TRANSPORT_WIFI, nc.getTransportTypes()[0]); in testBuilder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java547 if (nc.getTransportTypes().length > 0 && in getApnTypeFromNetworkRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java815 for (int transportType : nc.getTransportTypes()) { in updateConnectivity()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java535 BitUtils.packBits(network.networkCapabilities.getTransportTypes())));
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3400 networkAgent.networkCapabilities.getTransportTypes()); in createNativeNetwork()
5648 int[] transportTypes = nc.getTransportTypes(); in hasWifiNetworkListenPermission()
6384 mDnsManager.updateTransportsForNetwork(nai.network.netId, newNc.getTransportTypes()); in updateCapabilities()
7605 int[] transports = nai.networkCapabilities.getTransportTypes(); in logNetworkEvent()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java709 .addTransportType(getNetworkCapabilities().getTransportTypes()[0]) in connect()
/frameworks/base/api/
Dtest-current.txt1525 method @NonNull public int[] getTransportTypes();
Dsystem-current.txt4577 method @NonNull public int[] getTransportTypes();
/frameworks/base/non-updatable-api/
Dsystem-current.txt4577 method @NonNull public int[] getTransportTypes();
/frameworks/base/config/
Dboot-image-profile.txt10263 HSPLandroid/net/NetworkCapabilities;->getTransportTypes()[I