Searched refs:TransportType (Results 1 – 16 of 16) sorted by relevance
/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/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; 57 void adb_set_transport(TransportType type, const char* serial, TransportId transport_id) { in adb_set_transport() 63 void adb_get_transport(TransportType* type, const char** serial, TransportId* transport_id) { in adb_get_transport()
|
D | commandline.cpp | 1079 TransportType t; in wait_for_device() 1141 TransportType previous_type; in adb_root() 1521 TransportType transport_type = kTransportAny; in adb_commandline()
|
/packages/modules/adb/ |
D | adb.h | 91 enum TransportType { enum 227 HostRequestResult handle_host_request(std::string_view service, TransportType type,
|
D | transport_test.cpp | 146 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F() 169 for (TransportType type : {kTransportAny, kTransportLocal}) { in TEST_F()
|
D | transport.h | 306 TransportType type = kTransportAny; 431 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 | 1125 HostRequestResult handle_host_request(std::string_view service, TransportType type, in handle_host_request() 1145 TransportType type = kTransportAny; in handle_host_request()
|
D | sockets.cpp | 720 TransportType type = kTransportAny; in smart_socket_enqueue()
|
D | transport.cpp | 958 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 690 public void onRegistered(@AccessNetworkConstants.TransportType int imsTransportType) { 695 public void onRegistering(@AccessNetworkConstants.TransportType int imsTransportType) { 706 @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/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteClientModeManagerTest.java | 122 private @AccessNetworkConstants.TransportType int mCurrentImsConnectionType =
|