Home
last modified time | relevance | path

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

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java54 CELL_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR);
57 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
136 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
DNetdEventListenerServiceTest.java67 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
68 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in setUp()
DIpConnectivityMetricsTest.java171 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging()
172 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in testEndToEndLogging()
DLingerMonitorTest.java340 caps.addTransportType(transport); in nai()
/frameworks/base/core/java/android/net/
DNetworkRequest.java217 public Builder addTransportType(int transportType) { in addTransportType() method in NetworkRequest.Builder
218 mNetworkCapabilities.addTransportType(transportType); in addTransportType()
DNetworkCapabilities.java448 public NetworkCapabilities addTransportType(int transportType) { in addTransportType() method in NetworkCapabilities
DConnectivityManager.java1471 nc.addTransportType(transport); in networkCapabilitiesForType()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java298 mNetworkCapabilities.addTransportType(transport); in MockNetworkAgent()
403 .addTransportType(mNetworkCapabilities.getTransportTypes()[0]) in connect()
1313 .addTransportType(TRANSPORT_WIFI).build(); in testStateChangeNetworkCallbacks()
1315 .addTransportType(TRANSPORT_CELLULAR).build(); in testStateChangeNetworkCallbacks()
1561 .addTransportType(TRANSPORT_CELLULAR).build(); in testMultipleLingering()
1944 return new NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI); in newWifiRequestBuilder()
2020 networkCapabilities.addTransportType(TRANSPORT_WIFI) in testInvalidNetworkSpecifier()
2038 builder = new NetworkRequest.Builder().addTransportType(TRANSPORT_ETHERNET); in testInvalidNetworkSpecifier()
2048 builder = new NetworkRequest.Builder().addTransportType(TRANSPORT_ETHERNET); in testInvalidNetworkSpecifier()
2080 .addTransportType(TRANSPORT_CELLULAR).build(); in testRegisterDefaultNetworkCallback()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java116 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest()
124 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
/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/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java108 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter()
DDataConnection.java866 result.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in getNetworkCapabilities()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java450 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET); in initNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java135 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in PhoneSwitcher()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java264 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in requestNetworkForCaptivePortal()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java116 builder.addTransportType(transportType); in onCreate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java701 nc.addTransportType(NetworkCapabilities.TRANSPORT_WIFI_AWARE); in getSessionNetworkRequest()
739 nc.addTransportType(NetworkCapabilities.TRANSPORT_WIFI_AWARE); in getDirectNetworkRequest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java207 mNetCapabilities.addTransportType(networkType); in setConnectivity()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java886 requestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in handleRequestSuplConnection()
2222 networkRequestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR);
2223 networkRequestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java209 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in WifiTracker()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java106 mNetworkCapabilitiesFilter.addTransportType(NetworkCapabilities.TRANSPORT_WIFI_AWARE); in start()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1239 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in enableNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java239 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java849 netCap.addTransportType(transportType); in createInternetRequestForTransport()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java939 mNetworkCapabilitiesFilter.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in WifiStateMachine()

12