Searched defs:ack (Results 1 - 7 of 7) sorted by relevance

/system/core/adb/client/
H A Dmain.cpp140 const CHAR ack[] = "OK\n"; local
141 const DWORD bytes_to_write = arraysize(ack) - 1;
143 if (!WriteFile(ack_reply_handle, ack, bytes_to_write, &written, NULL)) {
/system/core/libcutils/
H A Ddebugger.c37 char ack; local
38 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) != 1) {
/system/netd/server/
H A DSockDiag.cpp55 } __attribute__((__packed__)) ack; local
56 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK);
60 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) {
62 recv(fd, &ack, sizeof(ack), 0);
63 return ack.err.error;
/system/tpm/trunks/ftdi/
H A Dmpsse.c926 int ack = 0; local
929 ack = (mpsse->rack & 0x01);
932 return ack;
939 * @ack - 0 to send ACKs, 1 to send NACKs.
943 void SetAck(struct mpsse_context* mpsse, int ack) { argument
945 if (ack == NACK) {
/system/core/debuggerd/
H A Ddebuggerd.cpp319 // Send EOD to the Activity Manager, then wait for its ack to avoid racing
326 // 3 sec timeout reading the ack; we're fine if the read fails.
382 char ack; local
383 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) == -1) {
384 ALOGE("Failed to read ack from debuggerd32 socket: %s", strerror(errno));
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c344 ERROR("ack failed: peer closed");
348 ERROR("ack failed: error(%s)", strerror(errno));
352 ERROR("ack failed: max retry count");
355 INFO("ack failed (%s), retrying", strerror(errno));
366 char ack; local
390 /* wait for ack byte */
391 if (a2dp_ctrl_receive(common, &ack, 1) < 0) {
396 DEBUG("A2DP COMMAND %s DONE STATUS %d", dump_a2dp_ctrl_event(cmd), ack);
398 if (ack == A2DP_CTRL_ACK_INCALL_FAILURE)
399 return ack;
[all...]
/system/bt/btif/src/
H A Dbtif_media_task.c529 UINT8 ack = status; local
531 APPL_TRACE_EVENT("## a2dp ack : %s, status %d ##",
537 APPL_TRACE_ERROR("warning : no command pending, ignore ack");
545 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, &ack, 1);
629 and ack back immediately */
647 /* we are already stopped, just ack back */
664 /* if we are not in started state, just ack back ok and let
749 /* ack back when media task is fully started */
1087 BOOLEAN ack = FALSE; local
1093 /* ack bac
1252 tA2DP_CTRL_ACK ack; local
[all...]

Completed in 562 milliseconds