Home
last modified time | relevance | path

Searched refs:reply_fd (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/
Dadb.cpp879 char reply_fd[30]; in launch_server()
880 snprintf(reply_fd, sizeof(reply_fd), "%d", pipe_write.get()); in launch_server()
883 "--reply-fd", reply_fd, NULL); in launch_server()
908 bool handle_forward_request(const char* service, atransport* transport, int reply_fd) { in handle_forward_request() argument
910 reply_fd); in handle_forward_request()
916 int reply_fd) { in handle_forward_request() argument
921 SendOkay(reply_fd); in handle_forward_request()
923 SendProtocolString(reply_fd, listeners); in handle_forward_request()
931 SendOkay(reply_fd); in handle_forward_request()
933 SendOkay(reply_fd); in handle_forward_request()
[all …]
Dadb.h170 bool handle_forward_request(const char* service, atransport* transport, int reply_fd);
173 int reply_fd);
232 const char* serial, TransportId transport_id, int reply_fd,
Dtest_adb.py139 reply_fd = str(write_handle)
142 reply_fd = str(write_pipe)
146 "--reply-fd", reply_fd], close_fds=False)
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp347 int reply_fd[2]; in CreateSimpleperfProcess() local
348 if (pipe(control_fd) != 0 || pipe(reply_fd) != 0) { in CreateSimpleperfProcess()
378 close(reply_fd[0]); in CreateSimpleperfProcess()
379 dup2(reply_fd[1], 1); // simpleperf writes reply to fd 1. in CreateSimpleperfProcess()
380 close(reply_fd[0]); in CreateSimpleperfProcess()
388 close(reply_fd[1]); in CreateSimpleperfProcess()
389 reply_fd_ = reply_fd[0]; in CreateSimpleperfProcess()