/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceControllerTest.java | 104 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()
|
D | NetworkUtilsTest.java | 45 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/ |
D | DataStallStatsUtilsTest.kt | 19 import android.net.NetworkCapabilities.TRANSPORT_CELLULAR 77 .setNetworkType(TRANSPORT_CELLULAR) in testWrite() 92 eq(TRANSPORT_CELLULAR), in testWrite()
|
D | NetworkValidationMetricsTest.java | 20 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/ |
D | DataUsageEntryPreferenceControllerTest.java | 84 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/ |
D | NetworkMonitorUtils.java | 24 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR; 80 || nc.hasTransport(TRANSPORT_CELLULAR) in isPrivateDnsValidationRequired()
|
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 1497 {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()
|
D | res_cache.cpp | 1926 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/ |
D | JobInfoRowArrayAdapter.java | 21 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/ |
D | NetworkValidationMetrics.java | 20 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/ |
D | NetworkMonitorTest.java | 31 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/ |
D | IDnsResolver.aidl | 55 const int TRANSPORT_CELLULAR = 0; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | IDnsResolver.aidl | 56 const int TRANSPORT_CELLULAR = 0; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | IDnsResolver.aidl | 56 const int TRANSPORT_CELLULAR = 0; field
|
/packages/modules/DnsResolver/binder/android/net/ |
D | IDnsResolver.aidl | 190 const int TRANSPORT_CELLULAR = 0; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | IDnsResolver.aidl | 56 const int TRANSPORT_CELLULAR = 0; field
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 40 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in hasMobileNetwork()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmNetworkRequestCallback.java | 101 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in createNetworkRequest()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 125 .addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR) in MmsNetworkManager()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 32 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR; 628 return capabilities.hasTransport(TRANSPORT_CELLULAR); in isCellularNetwork()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SubscriptionsPreferenceController.java | 235 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in activeNetworkIsCellular()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 32 const val CELLULAR = NetworkCapabilities.TRANSPORT_CELLULAR in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsPreferenceControllerTest.java | 306 when(mCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(true); in getSummary_twoSubsOneDefaultForEverythingDataActive()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 259 sTransportNames.put(NetworkCapabilities.TRANSPORT_CELLULAR, "[CELLULAR]"); in sTransportNames.put() argument
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 38 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR; 1119 case NetworkCapabilities.TRANSPORT_CELLULAR: in buildDataStallDetectionStats() 3041 } else if (mNetworkCapabilities.hasTransport(TRANSPORT_CELLULAR)) { in sendNetworkConditionsBroadcast()
|