• Home
  • Raw
  • Download

Lines Matching refs:reply_fd

879         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()
943 SendFail(reply_fd, error); in handle_forward_request()
965 SendFail(reply_fd, android::base::StringPrintf("bad killforward: %s", service)); in handle_forward_request()
971 SendFail(reply_fd, android::base::StringPrintf("bad forward: %s", service)); in handle_forward_request()
987 SendOkay(reply_fd); in handle_forward_request()
989 SendOkay(reply_fd); in handle_forward_request()
993 SendProtocolString(reply_fd, android::base::StringPrintf("%d", resolved_tcp_port)); in handle_forward_request()
1014 SendFail(reply_fd, message); in handle_forward_request()
1029 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request() argument
1037 SendOkay(reply_fd); in handle_host_request()
1073 SendFail(reply_fd, "invalid transport id"); in handle_host_request()
1092 SendOkay(reply_fd); in handle_host_request()
1096 WriteFdExactly(reply_fd, &t->id, sizeof(t->id)); in handle_host_request()
1101 SendFail(reply_fd, error); in handle_host_request()
1112 SendOkay(reply_fd, device_list); in handle_host_request()
1128 SendOkay(reply_fd, response); in handle_host_request()
1136 SendOkay(reply_fd, FeatureSetToString(t->features())); in handle_host_request()
1138 SendFail(reply_fd, error); in handle_host_request()
1150 SendOkay(reply_fd, FeatureSetToString(features)); in handle_host_request()
1159 SendOkay(reply_fd, "disconnected everything"); in handle_host_request()
1170 SendFail(reply_fd, android::base::StringPrintf("couldn't parse '%s': %s", in handle_host_request()
1176 SendFail(reply_fd, android::base::StringPrintf("no such device '%s'", serial.c_str())); in handle_host_request()
1180 SendOkay(reply_fd, android::base::StringPrintf("disconnected %s", address.c_str())); in handle_host_request()
1186 SendOkay(reply_fd, android::base::StringPrintf("%04x", ADB_SERVER_VERSION)); in handle_host_request()
1195 SendOkay(reply_fd, !t->serial.empty() ? t->serial : "unknown"); in handle_host_request()
1197 SendFail(reply_fd, error); in handle_host_request()
1205 SendOkay(reply_fd, !t->devpath.empty() ? t->devpath : "unknown"); in handle_host_request()
1207 SendFail(reply_fd, error); in handle_host_request()
1215 SendOkay(reply_fd, t->connection_state_name()); in handle_host_request()
1217 SendFail(reply_fd, error); in handle_host_request()
1243 SendOkay(reply_fd, response); in handle_host_request()
1254 reply_fd)) { in handle_host_request()