/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 64 CELL_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); 67 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); 147 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
|
D | IpConnectivityMetricsTest.java | 301 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging() 302 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in testEndToEndLogging() 637 nai.networkCapabilities.addTransportType(t); in makeNai()
|
D | NetdEventListenerServiceTest.java | 74 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp() 75 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in setUp()
|
D | VpnTest.java | 445 .addTransportType(TRANSPORT_CELLULAR) in testCapabilities() 451 .addTransportType(TRANSPORT_WIFI) in testCapabilities()
|
D | MultipathPolicyTrackerTest.java | 234 .addTransportType(TRANSPORT_CELLULAR) in testGetMultipathPreference()
|
D | LingerMonitorTest.java | 350 caps.addTransportType(transport); in nai()
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 258 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType() method in NetworkRequest.Builder 259 mNetworkCapabilities.addTransportType(transportType); in addTransportType()
|
D | NetworkCapabilities.java | 661 public NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType() method in NetworkCapabilities 690 addTransportType(transportType); in setTransportType()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 390 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/ |
D | NetworkCapabilitiesTest.java | 142 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/ |
D | TelephonyNetworkFactoryTest.java | 127 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest() 135 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 193 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build(); in connect()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 56 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 158 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest() 167 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
|
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/ |
D | LowpanServiceImpl.java | 81 .addTransportType(NetworkCapabilities.TRANSPORT_LOWPAN) in createOutstandingNetworkRequest()
|
D | LowpanInterfaceTracker.java | 546 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_LOWPAN); in LowpanInterfaceTracker()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 108 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 333 nc.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET); in createNetworkCapabilities()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 136 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in PhoneSwitcher()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 294 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in requestNetworkForCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 450 .addTransportType(TRANSPORT_CELLULAR) in registerTrackMobileCallback()
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 157 builder.addTransportType(transportType); in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 233 mNetCapabilities.addTransportType(networkType); in setConnectivityCommon()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 373 .addTransportType(TRANSPORT_WIFI).build()) in testRequiredNetwork()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 570 networkCapabilities.addTransportType(transportType); in TestNetworkAgent()
|