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;
122 optional .android.stats.connectivity.TransportType transport_type = 1;
147 optional .android.stats.connectivity.TransportType transport_type = 1;
173 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;
48 private static final List<TransportType> VALID_TRANSPORT_TYPES = Arrays.asList(
49 TransportType.TT_CELLULAR, TransportType.TT_WIFI, TransportType.TT_BLUETOOTH,
50 TransportType.TT_ETHERNET, TransportType.TT_WIFI_AWARE, TransportType.TT_LOWPAN,
51 TransportType.TT_CELLULAR_VPN, TransportType.TT_WIFI_VPN,
52 TransportType.TT_BLUETOOTH_VPN, TransportType.TT_ETHERNET_VPN,
53 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.cpp1029 TransportType t; in wait_for_device()
1091 TransportType previous_type; in adb_root()
1526 TransportType transport_type = kTransportAny; in adb_commandline()
/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/adb/
Dadb.h96 enum TransportType { enum
232 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.h316 TransportType type = kTransportAny;
470 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
Dservices.cpp167 TransportType transport_type; in wait_service()
Dadb.cpp1248 HostRequestResult handle_host_request(std::string_view service, TransportType type, in handle_host_request()
1268 TransportType type = kTransportAny; in handle_host_request()
/packages/apps/Settings/src/com/android/settings/network/telephony/ims/
DImsMmTelRepository.kt52 @AccessNetworkConstants.TransportType transportType: Int, in <lambda>()
133 @AccessNetworkConstants.TransportType transportType: Int, in isSupported()
/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/network/ims/
DImsQueryController.java53 @AccessNetworkConstants.TransportType int transportType) { in ImsQueryController()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DRestrictManagerTest.java1941 @AccessNetworkConstants.TransportType int transportType, in validateEnablePdnFallbackOnRetryTimerOverTransportType()
2001 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackRunningOnDataConnectedStateOverOtherTransportType()
2029 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackRunningOnDataConnectedStateOverTransportType()
2063 @AccessNetworkConstants.TransportType int transportType, in validateEnablePdnFallbackOnRetryCounterOverTransportType()
2138 @AccessNetworkConstants.TransportType int transportType, in cancelPdnFallbackOnAirplaneModeOn()
2437 int wfcModeEvent, @AccessNetworkConstants.TransportType int transportType) { in validateOnWfcModeChanged()
2549 @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.java84 import android.telephony.AccessNetworkConstants.TransportType;
209 private @TransportType int mLastTransportType = TRANSPORT_TYPE_INVALID;

12