Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java417 .setTransportInfo(new TestTransportInfo()) in createNetworkCapabilitiesWithTransportInfo()
823 .setTransportInfo(new TestTransportInfo()); in testSetTransportInfoOnMultiTransportNc()
827 nc2.addTransportType(TRANSPORT_CELLULAR).setTransportInfo(new TestTransportInfo()) in testSetTransportInfoOnMultiTransportNc()
1259 .setTransportInfo(transportInfo) in testBuilder()
1342 .setTransportInfo(transportInfo) in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()
1358 .setSignalStrength(signalStrength).setTransportInfo(transportInfo); in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()
1409 .setTransportInfo(transportInfo) in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
1446 expectedNcBuilder.setSignalStrength(signalStrength).setTransportInfo(transportInfo); in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java392 setTransportInfo(nc.getTransportInfo()); in set()
394 setTransportInfo(null); in set()
1847 public @NonNull NetworkCapabilities setTransportInfo(@NonNull TransportInfo transportInfo) { in setTransportInfo() method in NetworkCapabilities
3210 public Builder setTransportInfo(@Nullable final TransportInfo info) { in setTransportInfo() method in NetworkCapabilities.Builder
3211 mCaps.setTransportInfo(info); in setTransportInfo()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DInternetPreferenceRepositoryTest.kt98 .setTransportInfo(wifiInfo) in <lambda>()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt140 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, null)) in <lambda>()
DNetworkAgentTest.kt594 setTransportInfo(transportInfo) in doTestAllowedUids()
920 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, mySessionId)) in testSetUnderlyingNetworksAndVpnSpecifier()
1703 it.setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, sessionId, in doTestNativeNetworkCreation()
DConnectivityManagerTest.java803 .setTransportInfo(wifiInfo) in testGetRedactedNetworkCapabilitiesForPackage()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkCallbackTest.java232 .setCapabilities(networkCapabilities.setTransportInfo(null)) in setUp()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanNetworkServiceTest.java170 builder.setTransportInfo(new VcnTransportInfo(subId)); in prepareCellularNetworkCapabilitiesForTest()
DIwlanDataServiceTest.java1485 builder.setTransportInfo(new VcnTransportInfo(subId)); in prepareNetworkCapabilitiesForTest()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSIngressDiscardRuleTests.kt56 .setTransportInfo( in vpnNc()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java744 ncBuilder.setTransportInfo(ni); in handleAddressValidation()
1409 return builder.setTransportInfo(new WifiAwareNetworkInfo()).build(); in getNetworkCapabilities()
1413 builder.setTransportInfo( in getNetworkCapabilities()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DIwlanNetworkStatusTrackerTest.java219 builder.setTransportInfo(new VcnTransportInfo(subId)); in prepareNetworkCapabilitiesForTest()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt110 setTransportInfo(mockWifiInfo) in buildMobileNetworkState()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DKeepaliveStatsTrackerTest.java1140 .setTransportInfo(wifiInfo) in testCarrierIdFromWifiInfo()
/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementControllerTest.java889 .setTransportInfo(mock(WifiInfo.class)) in setInternetConnected()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1533 .setTransportInfo(new VpnTransportInfo(
1579 mNetworkCapabilities.setTransportInfo(new VpnTransportInfo(getActiveVpnType(), in registerAgent()
12346 new NetworkCapabilities().setTransportInfo(transportInfo);
12504 new NetworkCapabilities().setTransportInfo(transportInfo);
12523 new NetworkCapabilities().setTransportInfo(transportInfo);
12543 new NetworkCapabilities().setTransportInfo(transportInfo);
12562 new NetworkCapabilities().setTransportInfo(transportInfo);
12665 mWiFiAgent.setNetworkCapabilities(ncTemplate.setTransportInfo(actualTransportInfo), true);
12694 .setTransportInfo(new TestTransportInfo());
13193 .setTransportInfo(new TestTransportInfo());
[all …]
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt343 …method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.…
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java2732 capabilities.setTransportInfo(sWifiInfo); in buildWifiState()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5251 builder.setTransportInfo(new WifiInfo(mWifiInfo)); in getCapabilities()