Home
last modified time | relevance | path

Searched refs:transport_id (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dservices.cpp99 TransportId transport_id; member
110 atransport* t = acquire_one_transport(sinfo->transport_type, serial, sinfo->transport_id, in wait_for_state()
201 TransportId transport_id) { in host_service_to_socket() argument
214 sinfo->transport_id = transport_id; in host_service_to_socket()
Dadb.h152 TransportId transport_id);
232 const char* serial, TransportId transport_id, int reply_fd,
Dadb.cpp1029 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request() argument
1072 if (!ParseUint(&transport_id, service)) { in handle_host_request()
1089 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1134 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1193 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1203 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1213 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1237 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &response, true); in handle_host_request()
1252 return acquire_one_transport(type, serial, transport_id, nullptr, error); in handle_host_request()
Dsockets.cpp721 TransportId transport_id = 0; in smart_socket_enqueue() local
765 if (!ParseUint(&transport_id, service, &service)) { in smart_socket_enqueue()
789 service, type, serial.empty() ? nullptr : std::string(serial).c_str(), transport_id, in smart_socket_enqueue()
811 s2 = host_service_to_socket(service, serial, transport_id); in smart_socket_enqueue()
Dtransport.cpp832 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport() argument
837 if (transport_id != 0) { in acquire_one_transport()
839 android::base::StringPrintf("no device with transport id '%" PRIu64 "'", transport_id); in acquire_one_transport()
857 if (transport_id) { in acquire_one_transport()
858 if (t->id == transport_id) { in acquire_one_transport()
Dtransport.h378 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
/system/core/adb/client/
Dadb_client.h51 void adb_set_transport(TransportType type, const char* _Nullable serial, TransportId transport_id);
53 TransportId* _Nullable transport_id);
Dadb_client.cpp56 void adb_set_transport(TransportType type, const char* serial, TransportId transport_id) { in adb_set_transport() argument
59 __adb_transport_id = transport_id; in adb_set_transport()
62 void adb_get_transport(TransportType* type, const char** serial, TransportId* transport_id) { in adb_get_transport() argument
65 if (transport_id) *transport_id = __adb_transport_id; in adb_get_transport()
Dcommandline.cpp1098 TransportId transport_id; in adb_root() local
1099 unique_fd fd(adb_connect(&transport_id, android::base::StringPrintf("%s:", command), &error)); in adb_root()
1138 adb_set_transport(kTransportAny, nullptr, transport_id); in adb_root()
1432 TransportId transport_id = 0; in adb_commandline() local
1470 transport_id = strtoll(id, const_cast<char**>(&id), 10); in adb_commandline()
1556 adb_set_transport(transport_type, serial, transport_id); in adb_commandline()