Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dadb_client.cpp53 static TransportId __adb_transport_id = 0;
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()
81 static std::optional<TransportId> switch_socket_transport(int fd, std::string* error) { in switch_socket_transport()
82 TransportId result; in switch_socket_transport()
158 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error, in _adb_connect()
175 std::optional<TransportId> transport_result = switch_socket_transport(fd.get(), error); in _adb_connect()
356 int adb_connect(TransportId* transport, std::string_view service, std::string* error, in adb_connect()
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);
Dcommandline.cpp1056 TransportId transport_id; in adb_root()
1093 TransportId previous_id; in adb_root()
1358 static int adb_connect_command(const std::string& command, TransportId* transport, in adb_connect_command()
1370 static int adb_connect_command(const std::string& command, TransportId* transport = nullptr) { in adb_connect_command()
1541 TransportId transport_id = 0; in adb_commandline()
1742 TransportId transport_id; in adb_commandline()
/packages/modules/adb/
Dadb.h73 using TransportId = uint64_t; variable
166 TransportId transport_id);
233 const char* serial, TransportId transport_id, int reply_fd,
Dtransport.h107 TransportId NextTransportId();
313 const TransportId id;
470 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
Dservices.cpp159 static void wait_service(unique_fd fd, std::string serial, TransportId transport_id, in wait_service()
251 TransportId transport_id) { in host_service_to_socket()
Dtransport.cpp281 TransportId NextTransportId() { in NextTransportId()
282 static std::atomic<TransportId> next(1); in NextTransportId()
905 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport()
Dsockets.cpp787 TransportId transport_id = 0; in smart_socket_enqueue()
Dadb.cpp1249 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request()