Searched refs:transportInfo (Results 1 – 7 of 7) sorted by relevance
340 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 …]
101 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getWifiInfoIfVcn() local102 if (transportInfo instanceof VcnTransportInfo) { in getWifiInfoIfVcn()103 return ((VcnTransportInfo) transportInfo).getWifiInfo(); in getWifiInfoIfVcn()
1206 TransportInfo transportInfo = capabilities.getTransportInfo(); in getWifiInfo() local1207 if (transportInfo instanceof WifiInfo) { in getWifiInfo()1208 return (WifiInfo) transportInfo; in getWifiInfo()
395 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getMainWifiInfo() local396 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()
905 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 …]
163 val subId = (transportInfo as? VcnTransportInfo)?.subId in networkCapabilities()280 return when (val currentTransportInfo = transportInfo) { in getMainWifiInfo()
3320 final TransportInfo transportInfo = mUnderlyingNetworkCapabilities.getTransportInfo(); in guessNattKeepaliveTimerForNetwork() local3321 if (transportInfo instanceof VcnTransportInfo) { in guessNattKeepaliveTimerForNetwork()3323 ((VcnTransportInfo) transportInfo).getMinUdpPort4500NatTimeoutSeconds(); in guessNattKeepaliveTimerForNetwork()