/system/core/adb/ |
D | services.cpp | 99 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()
|
D | adb.h | 152 TransportId transport_id); 232 const char* serial, TransportId transport_id, int reply_fd,
|
D | adb.cpp | 1029 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()
|
D | sockets.cpp | 721 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()
|
D | transport.cpp | 832 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()
|
D | transport.h | 378 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
|
/system/core/adb/client/ |
D | adb_client.h | 51 void adb_set_transport(TransportType type, const char* _Nullable serial, TransportId transport_id); 53 TransportId* _Nullable transport_id);
|
D | adb_client.cpp | 56 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()
|
D | commandline.cpp | 1098 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()
|