Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/mount/
DIMountService.cpp48 Parcel data, reply; in getMassStorageEnabled() local
50 remote()->transact(GET_MASS_STORAGE_ENABLED_TRANSACTION, data, &reply); in getMassStorageEnabled()
51 return reply.readInt32(); in getMassStorageEnabled()
56 Parcel data, reply; in setMassStorageEnabled() local
59 remote()->transact(SET_MASS_STORAGE_ENABLED_TRANSACTION, data, &reply); in setMassStorageEnabled()
65 Parcel data, reply; in getMassStorageConnected() local
67 remote()->transact(GET_MASS_STORAGE_CONNECTED_TRANSACTION, data, &reply); in getMassStorageConnected()
68 return reply.readInt32(); in getMassStorageConnected()
73 Parcel data, reply; in mountMedia() local
76 remote()->transact(MOUNT_MEDIA_TRANSACTION, data, &reply); in mountMedia()
[all …]
/hardware/msm7k/librpc/
Dsvc.c506 #define SVCERR_XDR_SEND(xdr, reply) \ argument
508 xdr_send_reply_header(xdr, &reply) && \
515 rpc_reply_header reply; in svcerr_decode() local
516 reply.stat = RPC_MSG_ACCEPTED; in svcerr_decode()
517 reply.u.ar.verf = serv->xdr->verf; in svcerr_decode()
518 reply.u.ar.stat = RPC_GARBAGE_ARGS; in svcerr_decode()
520 if (!SVCERR_XDR_SEND(serv->xdr, reply)) in svcerr_decode()
530 rpc_reply_header reply; in svcerr_systemerr() local
531 reply.stat = RPC_MSG_ACCEPTED; in svcerr_systemerr()
532 reply.u.ar.verf = serv->xdr->verf; in svcerr_systemerr()
[all …]
Drpc.c104 rpc_reply_header const *reply) in xdr_send_reply_header() argument
106 if (!XDR_SEND_ENUM(xdr, &reply->stat)) in xdr_send_reply_header()
109 switch ((*reply).stat) { in xdr_send_reply_header()
111 if (!xdr_send_accepted_reply_header(xdr, &reply->u.ar)) in xdr_send_reply_header()
115 if (!xdr_send_denied_reply(xdr, &reply->u.dr)) in xdr_send_reply_header()
Dclnt.c48 extern bool_t xdr_recv_reply_header (xdr_s_type *xdr, rpc_reply_header *reply);
489 bool_t xdr_recv_reply_header (xdr_s_type *xdr, rpc_reply_header *reply) in xdr_recv_reply_header() argument
491 if (!XDR_RECV_ENUM(xdr, &reply->stat)) { in xdr_recv_reply_header()
495 switch ((*reply).stat) { in xdr_recv_reply_header()
497 if (!xdr_recv_accepted_reply_header(xdr, &reply->u.ar)) { in xdr_recv_reply_header()
502 if (!xdr_recv_denied_reply(xdr, &reply->u.dr)) { in xdr_recv_reply_header()
Dsvc_clnt_common.c83 extern bool_t xdr_recv_reply_header(xdr_s_type *xdr, rpc_reply_header *reply);
/hardware/libhardware_legacy/wifi/
Dwifi.c400 int wifi_send_command(struct wpa_ctrl *ctrl, const char *cmd, char *reply, size_t *reply_len) in wifi_send_command() argument
408 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), reply, reply_len, NULL); in wifi_send_command()
412 } else if (ret < 0 || strncmp(reply, "FAIL", 4) == 0) { in wifi_send_command()
416 reply[*reply_len] = '\0'; in wifi_send_command()
479 int wifi_command(const char *command, char *reply, size_t *reply_len) in wifi_command() argument
481 return wifi_send_command(ctrl_conn, command, reply, reply_len); in wifi_command()
/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi.h141 int wifi_command(const char *command, char *reply, size_t *reply_len);
/hardware/msm7k/librpc/rpc/
Dxdr.h72 extern bool_t xdr_send_reply_header (XDR *xdr, rpc_reply_header const *reply);
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp422 AudioParameter reply = AudioParameter(); in getParameters() local
444 reply.add(key, value); in getParameters()
447 return reply.toString(); in getParameters()