Home
last modified time | relevance | path

Searched refs:TRANSPORT_CELLULAR (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceControllerTest.java104 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in setUp()
120 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_noMobileNetwork_unsupported()
128 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_notAdmin_disabledForUser()
137 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_hasRestriction_disabledForUser()
148 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_hasMobileNetwork_isAdmin_noRestriction_available()
DNetworkUtilsTest.java45 when(capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(true); in hasMobileNetwork_hasCellularCapabilities_returnsTrue()
58 when(capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(false); in hasMobileNetwork_hasNoCellularCapabilities_returnsFalse()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DDataStallStatsUtilsTest.kt19 import android.net.NetworkCapabilities.TRANSPORT_CELLULAR
77 .setNetworkType(TRANSPORT_CELLULAR) in testWrite()
92 eq(TRANSPORT_CELLULAR), in testWrite()
DNetworkValidationMetricsTest.java20 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
114 nc.addTransportType(TRANSPORT_CELLULAR); in testNetworkValidationMetrics_VerifyTransportTypeToEnum()
118 nc.addTransportType(TRANSPORT_CELLULAR); in testNetworkValidationMetrics_VerifyTransportTypeToEnum()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageEntryPreferenceControllerTest.java84 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in setUp()
98 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_noMobileNetwork_isUnsupported()
106 when(mNetworkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn( in getAvailabilityStatus_hasMobileNetwork_isAvailable()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetworkMonitorUtils.java24 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
80 || nc.hasTransport(TRANSPORT_CELLULAR) in isPrivateDnsValidationRequired()
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp1497 {android::net::NT_CELLULAR, {IDnsResolver::TRANSPORT_CELLULAR}}, in TEST_F()
1505 {IDnsResolver::TRANSPORT_CELLULAR, IDnsResolver::TRANSPORT_VPN}}, in TEST_F()
1507 {IDnsResolver::TRANSPORT_VPN, IDnsResolver::TRANSPORT_CELLULAR}}, in TEST_F()
1525 {IDnsResolver::TRANSPORT_CELLULAR, IDnsResolver::TRANSPORT_BLUETOOTH, in TEST_F()
1528 {IDnsResolver::TRANSPORT_CELLULAR, IDnsResolver::TRANSPORT_WIFI, in TEST_F()
1532 IDnsResolver::TRANSPORT_CELLULAR}}, in TEST_F()
Dres_cache.cpp1926 case IDnsResolver::TRANSPORT_CELLULAR: in to_stats_network_type()
1954 if (sortedTransTypes != std::vector<int32_t>{IDnsResolver::TRANSPORT_CELLULAR, in convert_network_type()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java21 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
146 } else if (networkRequest.networkCapabilities.hasTransport(TRANSPORT_CELLULAR)) { in getNetworkType()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java20 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
94 boolean hasCellular = nc.hasTransport(TRANSPORT_CELLULAR); in getTransportTypeFromNC()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java31 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
293 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR)
298 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR)
309 new NetworkCapabilities().addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR);
713 nc.addTransportType(TRANSPORT_CELLULAR); in testNeedEvaluatingBandwidth()
1887 testDataStall_StallDnsSuspectedAndSendMetrics(NetworkCapabilities.TRANSPORT_CELLULAR,
1953 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) {
2004 case NetworkCapabilities.TRANSPORT_CELLULAR:
2040 case NetworkCapabilities.TRANSPORT_CELLULAR:
2101 testDataStallMetrics(evalType, NetworkCapabilities.TRANSPORT_CELLULAR);
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
DIDnsResolver.aidl55 const int TRANSPORT_CELLULAR = 0; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DIDnsResolver.aidl56 const int TRANSPORT_CELLULAR = 0; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DIDnsResolver.aidl56 const int TRANSPORT_CELLULAR = 0; field
/packages/modules/DnsResolver/binder/android/net/
DIDnsResolver.aidl190 const int TRANSPORT_CELLULAR = 0; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DIDnsResolver.aidl56 const int TRANSPORT_CELLULAR = 0; field
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java40 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in hasMobileNetwork()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java101 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in createNetworkRequest()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java125 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in MmsNetworkManager()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java32 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
628 return capabilities.hasTransport(TRANSPORT_CELLULAR); in isCellularNetwork()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java235 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in activeNetworkIsCellular()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTestableNetworkCallbackTest.kt32 const val CELLULAR = NetworkCapabilities.TRANSPORT_CELLULAR in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java306 when(mCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(true); in getSummary_twoSubsOneDefaultForEverythingDataActive()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java259 sTransportNames.put(NetworkCapabilities.TRANSPORT_CELLULAR, "[CELLULAR]"); in sTransportNames.put() argument
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java38 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
1119 case NetworkCapabilities.TRANSPORT_CELLULAR: in buildDataStallDetectionStats()
3041 } else if (mNetworkCapabilities.hasTransport(TRANSPORT_CELLULAR)) { in sendNetworkConditionsBroadcast()

12