Home
last modified time | relevance | path

Searched refs:addTransportType (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java64 CELL_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR);
67 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
147 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
DIpConnectivityMetricsTest.java301 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging()
302 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in testEndToEndLogging()
637 nai.networkCapabilities.addTransportType(t); in makeNai()
DNetdEventListenerServiceTest.java74 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
75 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in setUp()
DVpnTest.java445 .addTransportType(TRANSPORT_CELLULAR) in testCapabilities()
451 .addTransportType(TRANSPORT_WIFI) in testCapabilities()
DMultipathPolicyTrackerTest.java234 .addTransportType(TRANSPORT_CELLULAR) in testGetMultipathPreference()
DLingerMonitorTest.java350 caps.addTransportType(transport); in nai()
/frameworks/base/core/java/android/net/
DNetworkRequest.java258 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType() method in NetworkRequest.Builder
259 mNetworkCapabilities.addTransportType(transportType); in addTransportType()
DNetworkCapabilities.java661 public NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType() method in NetworkCapabilities
690 addTransportType(transportType); in setTransportType()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java390 mNetworkCapabilities.addTransportType(transport); in MockNetworkAgent()
520 .addTransportType(mNetworkCapabilities.getTransportTypes()[0]) in connect()
1675 .addTransportType(TRANSPORT_WIFI).build(); in testStateChangeNetworkCallbacks()
1677 .addTransportType(TRANSPORT_CELLULAR).build(); in testStateChangeNetworkCallbacks()
1941 .addTransportType(TRANSPORT_CELLULAR).build(); in testMultipleLingering()
2034 .addTransportType(TRANSPORT_CELLULAR).build(); in testNetworkGoesIntoBackgroundAfterLinger()
2460 return new NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI); in newWifiRequestBuilder()
2536 networkCapabilities.addTransportType(TRANSPORT_WIFI) in testInvalidNetworkSpecifier()
2554 builder = new NetworkRequest.Builder().addTransportType(TRANSPORT_ETHERNET); in testInvalidNetworkSpecifier()
2564 builder = new NetworkRequest.Builder().addTransportType(TRANSPORT_ETHERNET); in testInvalidNetworkSpecifier()
[all …]
/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java142 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_CELLULAR); in testDescribeImmutableDifferences()
143 nc2 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences()
170 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences()
172 .addTransportType(TRANSPORT_WIFI) in testDescribeImmutableDifferences()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java127 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest()
135 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java193 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build(); in connect()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java56 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java158 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest()
167 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
DLowpanServiceImpl.java81 .addTransportType(NetworkCapabilities.TRANSPORT_LOWPAN) in createOutstandingNetworkRequest()
DLowpanInterfaceTracker.java546 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_LOWPAN); in LowpanInterfaceTracker()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java108 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java333 nc.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET); in createNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java136 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in PhoneSwitcher()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java294 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in requestNetworkForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java450 .addTransportType(TRANSPORT_CELLULAR) in registerTrackMobileCallback()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java157 builder.addTransportType(transportType); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java233 mNetCapabilities.addTransportType(networkType); in setConnectivityCommon()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java373 .addTransportType(TRANSPORT_WIFI).build()) in testRequiredNetwork()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java570 networkCapabilities.addTransportType(transportType); in TestNetworkAgent()

12