Home
last modified time | relevance | path

Searched refs:transportInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepositoryImplTest.kt340 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in defaultConnections_carrierMergedViaWifi_wifiAndCarrierMergedDefault()
365 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in defaultConnections_carrierMergedViaMobile_mobileCarrierMergedWifiDefault()
390 whenever(it.transportInfo).thenReturn(VcnTransportInfo(carrierMergedInfo)) in defaultConnections_carrierMergedViaWifiWithVcnTransport_wifiAndCarrierMergedDefault()
415 whenever(it.transportInfo).thenReturn(VcnTransportInfo(carrierMergedInfo)) in defaultConnections_carrierMergedViaMobileWithVcnTransport_mobileCarrierMergedWifiDefault()
440 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in defaultConnections_notCarrierMergedViaWifi_carrierMergedNotDefault()
463 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in defaultConnections_notCarrierMergedViaMobile_carrierMergedNotDefault()
483 whenever(it.transportInfo).thenReturn(mock()) in defaultConnections_transportInfoNotWifi_wifiNotDefault()
501 whenever(it.transportInfo).thenReturn(null) in defaultConnections_nullUnderlyingInfo_noError()
518 whenever(it.transportInfo).thenReturn(null) in defaultConnections_underlyingInfoHasNullCapabilities_noError()
541 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in defaultConnections_cellular_underlyingCarrierMergedViaWifi_allDefault()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNonSdkApiWrapper.java101 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getWifiInfoIfVcn() local
102 if (transportInfo instanceof VcnTransportInfo) { in getWifiInfoIfVcn()
103 return ((VcnTransportInfo) transportInfo).getWifiInfo(); in getWifiInfoIfVcn()
DUtils.java1206 TransportInfo transportInfo = capabilities.getTransportInfo(); in getWifiInfo() local
1207 if (transportInfo instanceof WifiInfo) { in getWifiInfo()
1208 return (WifiInfo) transportInfo; in getWifiInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java395 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getMainWifiInfo() local
396 if (transportInfo instanceof VcnTransportInfo) { in getMainWifiInfo()
400 return ((VcnTransportInfo) transportInfo).getWifiInfo(); in getMainWifiInfo()
401 } else if (transportInfo instanceof WifiInfo) { in getMainWifiInfo()
402 return (WifiInfo) transportInfo; in getMainWifiInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt905 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in <lambda>()
957 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in <lambda>()
979 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in <lambda>()
1002 whenever(it.transportInfo).thenReturn(VcnTransportInfo(carrierMergedInfo)) in <lambda>()
1024 whenever(it.transportInfo).thenReturn(VcnTransportInfo(carrierMergedInfo)) in <lambda>()
1049 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in <lambda>()
1059 whenever(it.transportInfo).thenReturn(null) in <lambda>()
1084 whenever(it.transportInfo).thenReturn(VcnTransportInfo(carrierMergedInfo)) in <lambda>()
1094 whenever(it.transportInfo).thenReturn(null) in <lambda>()
1118 whenever(it.transportInfo).thenReturn(carrierMergedInfo) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepository.kt163 val subId = (transportInfo as? VcnTransportInfo)?.subId in networkCapabilities()
280 return when (val currentTransportInfo = transportInfo) { in getMainWifiInfo()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java3320 final TransportInfo transportInfo = mUnderlyingNetworkCapabilities.getTransportInfo(); in guessNattKeepaliveTimerForNetwork() local
3321 if (transportInfo instanceof VcnTransportInfo) { in guessNattKeepaliveTimerForNetwork()
3323 ((VcnTransportInfo) transportInfo).getMinUdpPort4500NatTimeoutSeconds(); in guessNattKeepaliveTimerForNetwork()