Home
last modified time | relevance | path

Searched refs:getTransportTypes (Results 1 – 16 of 16) 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.java170 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
DNetdEventListenerService.java397 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 dumpDebug()
/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.java548 if (nc.getTransportTypes().length > 0 && in getApnTypeFromNetworkRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java847 for (int transportType : nc.getTransportTypes()) { in updateConnectivity()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java546 BitUtils.packBits(network.networkCapabilities.getTransportTypes())));
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3408 networkAgent.networkCapabilities.getTransportTypes()); in createNativeNetwork()
5663 int[] transportTypes = nc.getTransportTypes(); in hasWifiNetworkListenPermission()
6399 mDnsManager.updateTransportsForNetwork(nai.network.netId, newNc.getTransportTypes()); in updateCapabilities()
7620 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.txt2118 method @NonNull public int[] getTransportTypes();
Dsystem-current.txt6253 method @NonNull public int[] getTransportTypes();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6201 method @NonNull public int[] getTransportTypes();
/frameworks/base/config/
Dboot-image-profile.txt14159 HSPLandroid/net/NetworkCapabilities;->getTransportTypes()[I