Searched refs:setTransportInfo (Results 1 – 9 of 9) sorted by relevance
359 .setTransportInfo(new TestTransportInfo()) in createNetworkCapabilitiesWithTransportInfo()742 .setTransportInfo(new TestTransportInfo()); in testSetTransportInfoOnMultiTransportNc()746 nc2.addTransportType(TRANSPORT_CELLULAR).setTransportInfo(new TestTransportInfo()) in testSetTransportInfoOnMultiTransportNc()753 nc1.setTransportInfo(new TestTransportInfo()); in testCombineTransportInfo()758 nc2.setTransportInfo(new TestTransportInfo()); in testCombineTransportInfo()769 nc3.setTransportInfo(nc1.getTransportInfo()); in testCombineTransportInfo()1123 .setTransportInfo(transportInfo) in testBuilder()
202 setTransportInfo(nc.getTransportInfo()); in set()204 setTransportInfo(null); in set()1374 public @NonNull NetworkCapabilities setTransportInfo(@NonNull TransportInfo transportInfo) { in setTransportInfo() method in NetworkCapabilities1422 setTransportInfo(nc.mTransportInfo); in combineTransportInfos()2664 public Builder setTransportInfo(@Nullable final TransportInfo info) { in setTransportInfo() method in NetworkCapabilities.Builder2665 mCaps.setTransportInfo(info); in setTransportInfo()
121 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, null)) in <lambda>()
667 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, mySessionId)) in testSetUnderlyingNetworksAndVpnSpecifier()
211 .setCapabilities(networkCapabilities.setTransportInfo(null)) in setUp()
727 ncBuilder.setTransportInfo(ni); in handleAddressValidation()1359 return builder.setTransportInfo(new WifiAwareNetworkInfo()).build(); in getNetworkCapabilities()1362 builder.setTransportInfo( in getNetworkCapabilities()
1329 mNetworkCapabilities.setTransportInfo(new VpnTransportInfo(getActiveVpnType(), in registerAgent()9683 new NetworkCapabilities().setTransportInfo(transportInfo); in verifyTransportInfoCopyNetCapsPermission()9841 new NetworkCapabilities().setTransportInfo(transportInfo); in testCreateForCallerWithLocalMacAddressSanitizedWithLocalMacAddressPermission()9860 new NetworkCapabilities().setTransportInfo(transportInfo); in testCreateForCallerWithLocalMacAddressSanitizedWithoutLocalMacAddressPermission()9880 new NetworkCapabilities().setTransportInfo(transportInfo); in testCreateForCallerWithLocalMacAddressSanitizedWithSettingsPermission()9899 new NetworkCapabilities().setTransportInfo(transportInfo); in testCreateForCallerWithLocalMacAddressSanitizedWithoutSettingsPermission()10003 ncTemplate.setTransportInfo(actualTransportInfo), true); in verifyNetworkCallbackLocationDataInclusionUsingTransportInfoAndOwnerUidInNetCaps()10032 .setTransportInfo(new TestTransportInfo()); in testTransportInfoRedactionInSynchronousCalls()10458 .setTransportInfo(new TestTransportInfo()); in setUpConnectivityDiagnosticsCallback()
311 …method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.…
3964 builder.setTransportInfo(new WifiInfo(mWifiInfo));