Searched refs:transportInfo (Results 1 – 10 of 10) sorted by relevance
72 val transportInfo = transportInfo in <lambda>() constant73 if (transportInfo is WifiInfo && transportInfo.isCarrierMerged) { in <lambda>()
193 TransportInfo transportInfo = nc.getTransportInfo(); in onCrossSimEnabledEvent() local194 if (transportInfo instanceof VcnTransportInfo) { in onCrossSimEnabledEvent()195 activeDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onCrossSimEnabledEvent()477 TransportInfo transportInfo = nc.getTransportInfo(); in onAvailable() local478 if (transportInfo instanceof VcnTransportInfo) { in onAvailable()479 mConnectedDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onAvailable()564 TransportInfo transportInfo = nc.getTransportInfo(); in onCapabilitiesChanged() local565 if (transportInfo instanceof VcnTransportInfo) { in onCapabilitiesChanged()566 activeDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onCapabilitiesChanged()
411 final TransportInfo transportInfo = nc.getTransportInfo(); in setNetworkStateSnapshot() local412 if (transportInfo instanceof WifiInfo) { in setNetworkStateSnapshot()413 final WifiInfo info = (WifiInfo) transportInfo; in setNetworkStateSnapshot()
380 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getConnectedDataSub() local384 } else if (transportInfo instanceof VcnTransportInfo) { in getConnectedDataSub()385 connectedDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in getConnectedDataSub()
2230 TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in getConnectedDataSub() local2234 } else if (transportInfo instanceof VcnTransportInfo) { in getConnectedDataSub()2235 connectedDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in getConnectedDataSub()
1244 final TransportInfo transportInfo = new TransportInfo() {}; in testBuilder() local1259 .setTransportInfo(transportInfo) in testBuilder()1282 assertEquals(transportInfo, nc.getTransportInfo()); in testBuilder()1333 final TransportInfo transportInfo = new TransportInfo() {}; in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc() local1342 .setTransportInfo(transportInfo) in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()1358 .setSignalStrength(signalStrength).setTransportInfo(transportInfo); in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()1397 final TransportInfo transportInfo = new TransportInfo() {}; in testRestrictCapabilitiesForTestNetworkWithRestrictedNc() local1409 .setTransportInfo(transportInfo) in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()1446 expectedNcBuilder.setSignalStrength(signalStrength).setTransportInfo(transportInfo); in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
584 transportInfo: TransportInfo? in doTestAllowedUids()594 setTransportInfo(transportInfo) in doTestAllowedUids()625 specifier = null, transportInfo = null) in doTestAllowedUids()649 val transportInfo = if (TRANSPORT_WIFI in transports && SdkLevel.isAtLeastV()) { in doTestAllowedUidsWithSubId() constant655 doTestAllowedUids(transports, uid, expectUidsPresent, specifier, transportInfo) in doTestAllowedUidsWithSubId()940 (vpnNc.transportInfo as VpnTransportInfo).type) in testSetUnderlyingNetworksAndVpnSpecifier()941 assertEquals(mySessionId, (vpnNc.transportInfo as VpnTransportInfo).sessionId) in testSetUnderlyingNetworksAndVpnSpecifier()
1847 public @NonNull NetworkCapabilities setTransportInfo(@NonNull TransportInfo transportInfo) { in setTransportInfo() argument1848 mTransportInfo = transportInfo; in setTransportInfo()
12343 final TransportInfo transportInfo = mock(TransportInfo.class);12344 doReturn(REDACT_FOR_ACCESS_FINE_LOCATION).when(transportInfo).getApplicableRedactions();12346 new NetworkCapabilities().setTransportInfo(transportInfo);12352 verify(transportInfo).makeCopy(REDACT_NONE);12354 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION);12500 final TransportInfo transportInfo = mock(TransportInfo.class);12502 .when(transportInfo).getApplicableRedactions();12504 new NetworkCapabilities().setTransportInfo(transportInfo);12511 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION);12519 final TransportInfo transportInfo = mock(TransportInfo.class);[all …]
2380 final TransportInfo transportInfo = snapshot.getNetworkCapabilities()2382 if (transportInfo instanceof WifiInfo) {2383 final WifiInfo info = (WifiInfo) transportInfo;