Home
last modified time | relevance | path

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

/system/core/adb/client/
Dadb_client.h36 int adb_connect(TransportId* _Nullable id, std::string_view service, std::string* _Nonnull error);
51 void adb_set_transport(TransportType type, const char* _Nullable serial, TransportId transport_id);
53 TransportId* _Nullable transport_id);
Dadb_client.cpp52 static TransportId __adb_transport_id = 0;
56 void adb_set_transport(TransportType type, const char* serial, TransportId transport_id) { in adb_set_transport()
62 void adb_get_transport(TransportType* type, const char** serial, TransportId* transport_id) { in adb_get_transport()
75 static std::optional<TransportId> switch_socket_transport(int fd, std::string* error) { in switch_socket_transport()
76 TransportId result; in switch_socket_transport()
152 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error) { in _adb_connect()
168 std::optional<TransportId> transport_result = switch_socket_transport(fd.get(), error); in _adb_connect()
326 int adb_connect(TransportId* transport, std::string_view service, std::string* error) { in adb_connect()
Dcommandline.cpp1098 TransportId transport_id; in adb_root()
1135 TransportId previous_id; in adb_root()
1344 static int adb_connect_command(const std::string& command, TransportId* transport = nullptr) { in adb_connect_command()
1432 TransportId transport_id = 0; in adb_commandline()
/system/core/adb/
Dadb.h65 using TransportId = uint64_t; variable
152 TransportId transport_id);
232 const char* serial, TransportId transport_id, int reply_fd,
Dtransport.h73 TransportId NextTransportId();
265 const TransportId id;
378 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
Dservices.cpp99 TransportId transport_id;
201 TransportId transport_id) { in host_service_to_socket()
Dtransport.cpp255 TransportId NextTransportId() { in NextTransportId()
256 static std::atomic<TransportId> next(1); in NextTransportId()
832 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport()
Dsockets.cpp721 TransportId transport_id = 0; in smart_socket_enqueue()
Dadb.cpp1029 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request()