Home
last modified time | relevance | path

Searched refs:TransportType (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java36 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 …]
Dstats.proto91 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/
DNetworkValidationMetricsTest.java36 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/
DRkpdStatsTests.java21 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/
DDiscoveryInfo.java24 TransportType transportType, in DiscoveryInfo()
35 public enum TransportType { enum in DiscoveryInfo
39 public final TransportType transportType;
/packages/modules/adb/client/
Dadb_client.h57 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,
Dadb_client.cpp51 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()
Dcommandline.cpp1025 TransportType t; in wait_for_device()
1087 TransportType previous_type; in adb_root()
1507 TransportType transport_type = kTransportAny; in adb_commandline()
/packages/modules/adb/
Dadb.h95 enum TransportType { enum
227 HostRequestResult handle_host_request(std::string_view service, TransportType type,
Dtransport_test.cpp159 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F()
182 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F()
Dtransport.h311 TransportType type = kTransportAny;
465 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
Dservices.cpp163 TransportType transport_type; in wait_service()
Dadb.cpp1222 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/
DTransportProviderFactoryTest.java44 import com.android.server.uwb.discovery.info.DiscoveryInfo.TransportType;
94 TransportType.BLE, in setUp()
DDiscoveryProviderFactoryTest.java43 import com.android.server.uwb.discovery.info.DiscoveryInfo.TransportType;
85 TransportType.BLE,
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java267 @AccessNetworkConstants.TransportType
303 @AccessNetworkConstants.TransportType
304 static int getOtherTransportType(@AccessNetworkConstants.TransportType int transportType) { in getOtherTransportType()
DDataConnectionStatusTracker.java340 @AccessNetworkConstants.TransportType int transportType) { in DataConnectionChangedInfo()
DQualifiedNetworksServiceImpl.java289 @AccessNetworkConstants.TransportType int transportType) { in reportEmergencyDataNetworkPreferredTransportChanged()
DAccessNetworkEvaluator.java698 @AccessNetworkConstants.TransportType int transport) { in onEmergencyPreferredTransportTypeChanged()
723 @AccessNetworkConstants.TransportType int transportType) { in enforceNotifyQualifiedNetworksWithTransportType()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java631 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/
DImsQueryController.java53 @AccessNetworkConstants.TransportType int transportType) { in ImsQueryController()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DRestrictManagerTest.java1866 @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/
DPacsControllerSession.java140 DiscoveryInfo.TransportType.BLE, in startScan()
DPacsControleeSession.java141 DiscoveryInfo.TransportType.BLE, in startAdvertising()
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DEmergencyCallDomainSelector.java71 import android.telephony.AccessNetworkConstants.TransportType;
167 private @TransportType int mLastTransportType = TRANSPORT_TYPE_INVALID;

12