Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkRequest.java145 public Builder addTransportType(int transportType) { in addTransportType() method in NetworkRequest.Builder
146 mNetworkCapabilities.addTransportType(transportType); in addTransportType()
DNetworkCapabilities.java424 public NetworkCapabilities addTransportType(int transportType) { in addTransportType() method in NetworkCapabilities
DConnectivityManager.java1185 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(cap); in networkCapabilitiesForFeature()
1191 netCap.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in networkCapabilitiesForFeature()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java119 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest()
127 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java243 mNetworkCapabilities.addTransportType(transport); in MockNetworkAgent()
329 .addTransportType(mNetworkCapabilities.getTransportTypes()[0]) in connect()
1082 .addTransportType(TRANSPORT_WIFI).build(); in testStateChangeNetworkCallbacks()
1084 .addTransportType(TRANSPORT_CELLULAR).build(); in testStateChangeNetworkCallbacks()
1418 networkCapabilities.addTransportType(TRANSPORT_WIFI) in testInvalidNetworkSpecifier()
1442 .addTransportType(TRANSPORT_CELLULAR).build(); in testRegisterDefaultNetworkCallback()
1736 .addTransportType(TRANSPORT_WIFI) in testNetworkPinner()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java161 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest()
170 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java109 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter()
DDataConnection.java830 result.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkCapabilities()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java110 builder.addTransportType(transportType); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java174 mNetCapabilities.addTransportType(networkType); in setConnectivity()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java484 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET); in initNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java138 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in PhoneSwitcher()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java852 requestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in handleRequestSuplConnection()
2167 networkRequestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR);
2168 networkRequestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java155 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in WifiTracker()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java931 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in enableNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1456 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in start()
1600 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in turnOnUpstreamMobileConnection()
DVpn.java228 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java793 netCap.addTransportType(transportType); in createInternetRequestForTransport()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java1081 mNetworkCapabilitiesFilter.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in WifiStateMachine()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17195 method public android.net.NetworkRequest.Builder addTransportType(int);
/frameworks/base/api/
Dcurrent.txt23671 method public android.net.NetworkRequest.Builder addTransportType(int);
Dtest-current.txt23740 method public android.net.NetworkRequest.Builder addTransportType(int);
Dsystem-current.txt25505 method public android.net.NetworkRequest.Builder addTransportType(int);