/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcRequestTest.java | 55 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in whenNetworkRequestInternetThenPriorityZero() 70 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in whenNetworkRequestMcxThenApnConfigTypeMcxPriorityReturned() 72 .addTransportType(NetworkCapabilities.TRANSPORT_BLUETOOTH) in whenNetworkRequestMcxThenApnConfigTypeMcxPriorityReturned() 86 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in whenNetworkRequestNotCellularThenDcRequestIsNull() 117 .addTransportType(NetworkCapabilities.TRANSPORT_BLUETOOTH) in whenNetworkRequestNotCellularWithTelephonySpecifierThenDcRequestIsNull()
|
D | TelephonyNetworkFactoryTest.java | 88 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificInternetRequest() 102 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeDefaultInternetRequest() 114 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
|
D | ApnContextTest.java | 125 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in testNetworkRequestNormal() 152 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in testNetworkRequestDetach()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 178 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_CELLULAR); in testDescribeImmutableDifferences() 179 nc2 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences() 206 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences() 208 .addTransportType(TRANSPORT_WIFI) in testDescribeImmutableDifferences() 589 nc1.addTransportType(TRANSPORT_CELLULAR).addTransportType(TRANSPORT_WIFI); in testSetNetworkSpecifierOnMultiTransportNc() 599 nc2.addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier( in testSetNetworkSpecifierOnMultiTransportNc() 602 nc2.addTransportType(TRANSPORT_WIFI); in testSetNetworkSpecifierOnMultiTransportNc() 613 nc1.addTransportType(TRANSPORT_CELLULAR).addTransportType(TRANSPORT_WIFI) in testSetTransportInfoOnMultiTransportNc() 618 nc2.addTransportType(TRANSPORT_CELLULAR).setTransportInfo(new TransportInfo() {}) in testSetTransportInfoOnMultiTransportNc() 619 .addTransportType(TRANSPORT_WIFI); in testSetTransportInfoOnMultiTransportNc() [all …]
|
D | NetworkProviderTest.kt | 103 .addTransportType(TRANSPORT_TEST) in <lambda>() 116 addTransportType(NetworkCapabilities.TRANSPORT_TEST) in <lambda>() 177 .addTransportType(TRANSPORT_TEST) in <lambda>()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 67 CELL_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); 70 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); 74 VPN_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); 75 VPN_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_VPN); 189 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
|
D | IpConnectivityMetricsTest.java | 252 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging() 253 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in testEndToEndLogging() 593 nai.networkCapabilities.addTransportType(t); in makeNai()
|
D | MultipathPolicyTrackerTest.java | 235 .addTransportType(TRANSPORT_CELLULAR) in testGetMultipathPreference() 247 .addTransportType(TRANSPORT_CELLULAR) in testGetMultipathPreference()
|
D | NetdEventListenerServiceTest.java | 69 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp() 70 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in setUp()
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 266 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType() method in NetworkRequest.Builder 267 mNetworkCapabilities.addTransportType(transportType); in addTransportType()
|
D | NetworkCapabilities.java | 810 public @NonNull NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType() method in NetworkCapabilities 840 addTransportType(transportType); in setTransportType() 2172 public Builder addTransportType(@Transport int transportType) { in addTransportType() method in NetworkCapabilities.Builder 2174 mCaps.addTransportType(transportType); in addTransportType()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 225 .addTransportType(TRANSPORT_CELLULAR).build(); in registerMobileNetworkRequest() 229 .addTransportType(TRANSPORT_CELLULAR).build(); in registerMobileNetworkRequest() 596 builder.addTransportType(transport); in networkCapabilitiesForType()
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 67 .addTransportType(NetworkCapabilities.TRANSPORT_TEST)
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactoryTest.java | 56 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 709 .addTransportType(getNetworkCapabilities().getTransportTypes()[0]) in connect() 1443 legacyCaps.addTransportType(TRANSPORT_CELLULAR); in testNetworkFeature() 1777 .addTransportType(TRANSPORT_WIFI).build(); in testStateChangeNetworkCallbacks() 1779 .addTransportType(TRANSPORT_CELLULAR).build(); in testStateChangeNetworkCallbacks() 1863 .addTransportType(TRANSPORT_WIFI).build(); in doNetworkCallbacksSanitizationTest() 2112 .addTransportType(TRANSPORT_CELLULAR).build(); in testMultipleLingering() 2213 .addTransportType(TRANSPORT_CELLULAR).build(); in testNetworkGoesIntoBackgroundAfterLinger() 2906 return new NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI); in newWifiRequestBuilder() 3073 networkCapabilities.addTransportType(TRANSPORT_WIFI) in testInvalidNetworkSpecifier() 3092 new NetworkRequest.Builder().addTransportType(TRANSPORT_ETHERNET); in testInvalidNetworkSpecifier() [all …]
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 472 nc.addTransportType(NetworkCapabilities.TRANSPORT_TEST); in createDefaultNetworkCapabilities() 530 nc.addTransportType(transport); in createNetworkCapabilities() 534 nc.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET); in createNetworkCapabilities()
|
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/ |
D | EthernetTrackerTest.java | 287 nc.addTransportType(transport); in addTransport()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 210 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in connect()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinatorTest.java | 84 new NetworkCapabilities.Builder().addTransportType(transportType).build(); in createDualStackUpstream()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 58 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build();
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 156 new NetworkRequest.Builder().addTransportType( in onCreate()
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 79 mNetworkCapabilities.addTransportType(transport); in NetworkAgentWrapper()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 249 nc.addTransportType(NetworkCapabilities.TRANSPORT_TEST);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkValidator.java | 328 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 135 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter()
|