/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetrics.java | 36 import android.stats.connectivity.TransportType; 90 public static TransportType getTransportTypeFromNC(@Nullable NetworkCapabilities nc) { in getTransportTypeFromNC() 91 if (nc == null) return TransportType.TT_UNKNOWN; in getTransportTypeFromNC() 105 return TransportType.TT_WIFI_CELLULAR_VPN; in getTransportTypeFromNC() 109 if (hasWifi) return TransportType.TT_WIFI_VPN; in getTransportTypeFromNC() 110 if (hasCellular) return TransportType.TT_CELLULAR_VPN; in getTransportTypeFromNC() 111 if (hasBT) return TransportType.TT_BLUETOOTH_VPN; in getTransportTypeFromNC() 112 if (hasEthernet) return TransportType.TT_ETHERNET_VPN; in getTransportTypeFromNC() 116 if (hasWifi) return TransportType.TT_WIFI; in getTransportTypeFromNC() 117 if (hasCellular) return TransportType.TT_CELLULAR; in getTransportTypeFromNC() [all …]
|
D | stats.proto | 91 optional .android.stats.connectivity.TransportType transport_type = 1; 119 optional .android.stats.connectivity.TransportType transport_type = 1; 144 optional .android.stats.connectivity.TransportType transport_type = 1; 170 optional .android.stats.connectivity.TransportType transport_type = 1;
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetricsTest.java | 36 import android.stats.connectivity.TransportType; 111 assertEquals(TransportType.TT_WIFI, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 113 assertEquals(TransportType.TT_WIFI_VPN, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 115 assertEquals(TransportType.TT_WIFI_CELLULAR_VPN, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 119 assertEquals(TransportType.TT_CELLULAR, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 121 assertEquals(TransportType.TT_CELLULAR_VPN, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 125 assertEquals(TransportType.TT_BLUETOOTH, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 127 assertEquals(TransportType.TT_BLUETOOTH_VPN, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 131 assertEquals(TransportType.TT_ETHERNET, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 133 assertEquals(TransportType.TT_ETHERNET_VPN, metrics.getTransportTypeFromNC(nc)); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() [all …]
|
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdStatsTests.java | 21 import android.stats.connectivity.TransportType; 47 private static final List<TransportType> VALID_TRANSPORT_TYPES = Arrays.asList( 48 TransportType.TT_CELLULAR, TransportType.TT_WIFI, TransportType.TT_BLUETOOTH, 49 TransportType.TT_ETHERNET, TransportType.TT_WIFI_AWARE, TransportType.TT_LOWPAN, 50 TransportType.TT_CELLULAR_VPN, TransportType.TT_WIFI_VPN, 51 TransportType.TT_BLUETOOTH_VPN, TransportType.TT_ETHERNET_VPN, 52 TransportType.TT_WIFI_CELLULAR_VPN
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/ |
D | DiscoveryInfo.java | 24 TransportType transportType, in DiscoveryInfo() 35 public enum TransportType { enum in DiscoveryInfo 39 public final TransportType transportType;
|
/packages/modules/adb/client/ |
D | adb_client.h | 57 void adb_set_transport(TransportType type, const char* _Nullable serial, TransportId transport_id); 58 void adb_get_transport(TransportType* _Nullable type, const char* _Nullable* _Nullable serial,
|
D | adb_client.cpp | 51 static TransportType __adb_transport = kTransportAny; 58 void adb_set_transport(TransportType type, const char* serial, TransportId transport_id) { in adb_set_transport() 64 void adb_get_transport(TransportType* type, const char** serial, TransportId* transport_id) { in adb_get_transport()
|
D | commandline.cpp | 1025 TransportType t; in wait_for_device() 1087 TransportType previous_type; in adb_root() 1507 TransportType transport_type = kTransportAny; in adb_commandline()
|
/packages/modules/adb/ |
D | adb.h | 95 enum TransportType { enum 227 HostRequestResult handle_host_request(std::string_view service, TransportType type,
|
D | transport_test.cpp | 159 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F() 182 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F()
|
D | transport.h | 311 TransportType type = kTransportAny; 465 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
|
D | services.cpp | 163 TransportType transport_type; in wait_service()
|
D | adb.cpp | 1222 HostRequestResult handle_host_request(std::string_view service, TransportType type, in handle_host_request() 1242 TransportType type = kTransportAny; in handle_host_request()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ |
D | TransportProviderFactoryTest.java | 44 import com.android.server.uwb.discovery.info.DiscoveryInfo.TransportType; 94 TransportType.BLE, in setUp()
|
D | DiscoveryProviderFactoryTest.java | 43 import com.android.server.uwb.discovery.info.DiscoveryInfo.TransportType; 85 TransportType.BLE,
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsUtils.java | 267 @AccessNetworkConstants.TransportType 303 @AccessNetworkConstants.TransportType 304 static int getOtherTransportType(@AccessNetworkConstants.TransportType int transportType) { in getOtherTransportType()
|
D | DataConnectionStatusTracker.java | 340 @AccessNetworkConstants.TransportType int transportType) { in DataConnectionChangedInfo()
|
D | QualifiedNetworksServiceImpl.java | 289 @AccessNetworkConstants.TransportType int transportType) { in reportEmergencyDataNetworkPreferredTransportChanged()
|
D | AccessNetworkEvaluator.java | 698 @AccessNetworkConstants.TransportType int transport) { in onEmergencyPreferredTransportTypeChanged() 723 @AccessNetworkConstants.TransportType int transportType) { in enforceNotifyQualifiedNetworksWithTransportType()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 631 public void onRegistered(@AccessNetworkConstants.TransportType int imsTransportType) { 636 public void onRegistering(@AccessNetworkConstants.TransportType int imsTransportType) { 647 @AccessNetworkConstants.TransportType int imsTransportType,
|
/packages/apps/Settings/src/com/android/settings/network/ims/ |
D | ImsQueryController.java | 53 @AccessNetworkConstants.TransportType int transportType) { in ImsQueryController()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | RestrictManagerTest.java | 1866 @AccessNetworkConstants.TransportType int transportType, in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1926 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackRunningOnDataConnectedStateOverOtherTransportType() 1954 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackRunningOnDataConnectedStateOverTransportType() 1988 @AccessNetworkConstants.TransportType int transportType, in validateEnablePdnFallbackOnRetryCounterOverTransportType() 2063 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackOnAirplaneModeOn() 2362 int wfcModeEvent, @AccessNetworkConstants.TransportType int transportType) { in validateOnWfcModeChanged() 2474 @AccessNetworkConstants.TransportType int transportType) { in validateGuardTimerHysteresisOnPrefSupportedWithTransportType()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/ |
D | PacsControllerSession.java | 140 DiscoveryInfo.TransportType.BLE, in startScan()
|
D | PacsControleeSession.java | 141 DiscoveryInfo.TransportType.BLE, in startAdvertising()
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelector.java | 71 import android.telephony.AccessNetworkConstants.TransportType; 167 private @TransportType int mLastTransportType = TRANSPORT_TYPE_INVALID;
|