Home
last modified time | relevance | path

Searched refs:ack (Results 1 – 12 of 12) sorted by relevance

/system/netd/server/
DSockDiag.cpp49 } __attribute__((__packed__)) ack; in checkError() local
50 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError()
54 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()
56 recv(fd, &ack, sizeof(ack), 0); in checkError()
57 return ack.err.error; in checkError()
/system/extras/tests/net_test/
Dpackets.py84 seq=seq, ack=0,
94 ack=original.seq + was_syn_or_fin, seq=None,
103 ack=original.seq + 1, seq=None,
116 ack=original.seq + ack_delta, seq=original.ack,
128 ack=original.seq + ack_delta, seq=original.ack,
Dtcp_test.py113 ack_desc, ack = packets.ACK(version, myaddr, remoteaddr, fin)
120 self.ExpectPacketOn(netid, msg + ": expecting %s" % ack_desc, ack)
Dmultinetwork_base.py555 if expectedtcp.ack is None:
556 actualtcp.ack = None
Dmultinetwork_test.py472 ack = packets.ACK(version, remoteaddr, myaddr, data)[1]
474 self.ReceivePacketOn(netid, ack)
493 desc, fin = packets.FIN(version, myaddr, remoteaddr, ack)
/system/core/adb/client/
Dmain.cpp141 const CHAR ack[] = "OK\n"; in adb_server_main() local
142 const DWORD bytes_to_write = arraysize(ack) - 1; in adb_server_main()
144 if (!WriteFile(ack_reply_handle, ack, bytes_to_write, &written, NULL)) { in adb_server_main()
/system/core/libcutils/
Ddebugger.c37 char ack; in send_request() local
38 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) != 1) { in send_request()
/system/tpm/trunks/ftdi/
Dmpsse.c926 int ack = 0; in GetAck() local
929 ack = (mpsse->rack & 0x01); in GetAck()
932 return ack; in GetAck()
943 void SetAck(struct mpsse_context* mpsse, int ack) { in SetAck() argument
945 if (ack == NACK) { in SetAck()
Dmpsse.h211 void SetAck(struct mpsse_context* mpsse, int ack);
/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c366 char ack; in a2dp_command() local
391 if (a2dp_ctrl_receive(common, &ack, 1) < 0) { in a2dp_command()
396 DEBUG("A2DP COMMAND %s DONE STATUS %d", dump_a2dp_ctrl_event(cmd), ack); in a2dp_command()
398 if (ack == A2DP_CTRL_ACK_INCALL_FAILURE) in a2dp_command()
399 return ack; in a2dp_command()
400 if (ack != A2DP_CTRL_ACK_SUCCESS) { in a2dp_command()
401 ERROR("A2DP COMMAND %s error %d", dump_a2dp_ctrl_event(cmd), ack); in a2dp_command()
/system/bt/btif/src/
Dbtif_media_task.c548 UINT8 ack = status; in a2dp_cmd_acknowledge() local
564 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, &ack, 1); in a2dp_cmd_acknowledge()
1106 BOOLEAN ack = FALSE; in btif_a2dp_on_started() local
1125 ack = TRUE; in btif_a2dp_on_started()
1143 ack = TRUE; in btif_a2dp_on_started()
1145 return ack; in btif_a2dp_on_started()
1271 tA2DP_CTRL_ACK ack; in btif_a2dp_on_offload_started() local
1276 ack = A2DP_CTRL_ACK_SUCCESS; in btif_a2dp_on_offload_started()
1281 ack = A2DP_CTRL_ACK_UNSUPPORTED; in btif_a2dp_on_offload_started()
1285 ack = A2DP_CTRL_ACK_FAILURE; in btif_a2dp_on_offload_started()
[all …]
/system/core/debuggerd/
Ddebuggerd.cpp389 char ack; in redirect_to_32() local
390 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) == -1) { in redirect_to_32()