Home
last modified time | relevance | path

Searched refs:setTransportInfo (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java359 .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()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java202 setTransportInfo(nc.getTransportInfo()); in set()
204 setTransportInfo(null); in set()
1374 public @NonNull NetworkCapabilities setTransportInfo(@NonNull TransportInfo transportInfo) { in setTransportInfo() method in NetworkCapabilities
1422 setTransportInfo(nc.mTransportInfo); in combineTransportInfos()
2664 public Builder setTransportInfo(@Nullable final TransportInfo info) { in setTransportInfo() method in NetworkCapabilities.Builder
2665 mCaps.setTransportInfo(info); in setTransportInfo()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt121 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, null)) in <lambda>()
DNetworkAgentTest.kt667 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, mySessionId)) in testSetUnderlyingNetworksAndVpnSpecifier()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java211 .setCapabilities(networkCapabilities.setTransportInfo(null)) in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java727 ncBuilder.setTransportInfo(ni); in handleAddressValidation()
1359 return builder.setTransportInfo(new WifiAwareNetworkInfo()).build(); in getNetworkCapabilities()
1362 builder.setTransportInfo( in getNetworkCapabilities()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1329 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()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt311 …method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.…
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3964 builder.setTransportInfo(new WifiInfo(mWifiInfo));