Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DUtils.java308 if (networkCapabilities.getTransportInfo() == null in tryGetWifiInfoForVcn()
309 || !(networkCapabilities.getTransportInfo() instanceof VcnTransportInfo)) { in tryGetWifiInfoForVcn()
313 (VcnTransportInfo) networkCapabilities.getTransportInfo(); in tryGetWifiInfoForVcn()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java193 TransportInfo transportInfo = nc.getTransportInfo(); in onCrossSimEnabledEvent()
477 TransportInfo transportInfo = nc.getTransportInfo(); in onAvailable()
564 TransportInfo transportInfo = nc.getTransportInfo(); in onCapabilitiesChanged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java601 (WifiAwareNetworkInfo) agentBinders[i].mDataPathCapabilities.getTransportInfo(); in testMultipleNdpsOnSingleNdi()
736 .getTransportInfo(); in testMultipleIdenticalRequests()
869 .getTransportInfo(); in testMultipleNdiToSamePeer()
963 .getTransportInfo(); in testMultipleNdiToSamePeerWithSecurityUpgrade()
1055 .getTransportInfo(); in testMultipleNdiToDifferentPeer()
1155 .getTransportInfo(); in testMultipleNdpToDifferentPeerOnSingleNdi()
1840 .getTransportInfo(); in testDataPathInitiatorUtilityMore()
1969 .getTransportInfo(); in testDataPathResponderUtility()
2471 .getTransportInfo(); in testDataPathAcceptsAnyResponderWithMultipleInitiator()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java391 if (nc.getTransportInfo() != null) { in set()
392 setTransportInfo(nc.getTransportInfo()); in set()
1253 final TransportInfo originalTransportInfo = getTransportInfo(); in restrictCapabilitiesForTestNetwork()
1871 @Nullable public TransportInfo getTransportInfo() { in getTransportInfo() method in NetworkCapabilities
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java411 final TransportInfo transportInfo = nc.getTransportInfo(); in setNetworkStateSnapshot()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanNetworkService.java380 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getConnectedDataSub()
DIwlanDataService.java2230 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getConnectedDataSub()
2525 return networkCapabilities.getTransportInfo() instanceof WifiInfo wifiInfo in getWifiInfo()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DCarrierPrivilegeAuthenticator.java333 subId = getSubIdFromWifiTransportInfo(networkCapabilities.getTransportInfo()); in getSubIdFromNetworkCapabilities()
DKeepaliveStatsTracker.java437 final TransportInfo info = nc.getTransportInfo(); in getSubId()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java430 (TestTransportInfo) netCapWithNoRedactions.getTransportInfo(); in testNetworkCapabilitiesCopyWithNoRedactions()
444 (TestTransportInfo) netCapWithNoRedactions.getTransportInfo(); in testNetworkCapabilitiesCopyWithoutLocationSensitiveFields()
1282 assertEquals(transportInfo, nc.getTransportInfo()); in testBuilder()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java827 ((WifiInfo) redactedNormal.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage()
828 assertEquals(rssi, ((WifiInfo) redactedNormal.getTransportInfo()).getRssi()); in testGetRedactedNetworkCapabilitiesForPackage()
838 assertEquals(bssid, ((WifiInfo) redactedPrivileged.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage()
839 assertEquals(rssi, ((WifiInfo) redactedPrivileged.getTransportInfo()).getRssi()); in testGetRedactedNetworkCapabilitiesForPackage()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1713 final TransportInfo ti = vpnNc.getTransportInfo(); in maybeExpectVpnTransportInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1311 WifiInfo wifiInfoFromTi = (WifiInfo) nc.getTransportInfo(); in connect()
1467 WifiInfo wifiInfoFromTi = (WifiInfo) nc.getTransportInfo(); in connectWithIpProvisionTimeout()
8937 WifiInfo wifiInfoFromTi = (WifiInfo) cap.getTransportInfo(); in testWifiInfoUpdateOnRoleChange()
8948 WifiInfo wifiInfoFromTi = (WifiInfo) cap.getTransportInfo(); in testWifiInfoUpdateOnRoleChange()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt319 method @Nullable public android.net.TransportInfo getTransportInfo();
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java2381 .getTransportInfo();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java11949 final TransportInfo ti = vpn.networkCapabilities.getTransportInfo();
11956 final TransportInfo prevInfo = nai.networkCapabilities.getTransportInfo();
11957 final TransportInfo newInfo = nc.getTransportInfo();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1718 final TransportInfo ti = nc.getTransportInfo(); in assertVpnTransportInfo()
12633 return (TestTransportInfo) nc.getTransportInfo();
12669 && Objects.equals(expectedTransportInfo, c.getTransportInfo()));