Home
last modified time | relevance | path

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

/system/core/adb/client/
Dadb_client.h41 int adb_connect(TransportId* _Nullable id, std::string_view service, std::string* _Nonnull error,
57 void adb_set_transport(TransportType type, const char* _Nullable serial, TransportId transport_id);
59 TransportId* _Nullable transport_id);
Dadb_client.cpp53 static TransportId __adb_transport_id = 0;
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()
76 static std::optional<TransportId> switch_socket_transport(int fd, std::string* error) { in switch_socket_transport()
77 TransportId result; in switch_socket_transport()
153 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error, in _adb_connect()
170 std::optional<TransportId> transport_result = switch_socket_transport(fd.get(), error); in _adb_connect()
344 int adb_connect(TransportId* transport, std::string_view service, std::string* error, in adb_connect()
Dcommandline.cpp1105 TransportId transport_id; in adb_root()
1142 TransportId previous_id; in adb_root()
1394 static int adb_connect_command(const std::string& command, TransportId* transport, in adb_connect_command()
1406 static int adb_connect_command(const std::string& command, TransportId* transport = nullptr) { in adb_connect_command()
1534 TransportId transport_id = 0; in adb_commandline()
1719 TransportId transport_id; in adb_commandline()
/system/core/adb/
Dadb.h68 using TransportId = uint64_t; variable
154 TransportId transport_id);
228 const char* serial, TransportId transport_id, int reply_fd,
Dtransport.h101 TransportId NextTransportId();
302 const TransportId id;
432 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
Dservices.cpp155 static void wait_service(unique_fd fd, std::string serial, TransportId transport_id, in wait_service()
243 TransportId transport_id) { in host_service_to_socket()
Dtransport.cpp269 TransportId NextTransportId() { in NextTransportId()
270 static std::atomic<TransportId> next(1); in NextTransportId()
956 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport()
Dsockets.cpp719 TransportId transport_id = 0; in smart_socket_enqueue()
Dadb.cpp1101 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request()