Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_a2dp.cc147 tA2DP_CTRL_ACK ack; in btif_a2dp_on_offload_started() local
153 ack = A2DP_CTRL_ACK_SUCCESS; in btif_a2dp_on_offload_started()
158 ack = A2DP_CTRL_ACK_UNSUPPORTED; in btif_a2dp_on_offload_started()
163 ack = A2DP_CTRL_ACK_FAILURE; in btif_a2dp_on_offload_started()
167 if (ack != BTA_AV_SUCCESS && btif_av_stream_started_ready()) { in btif_a2dp_on_offload_started()
177 bluetooth::audio::a2dp::ack_stream_started(ack); in btif_a2dp_on_offload_started()
179 btif_a2dp_command_ack(ack); in btif_a2dp_on_offload_started()
Dbtif_a2dp_control.cc402 uint8_t ack = status; in btif_a2dp_command_ack() local
425 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, &ack, sizeof(ack)); in btif_a2dp_command_ack()
/system/bt/audio_hal_interface/
Da2dp_encoding_host.cc43 void ack_stream_started(const tA2DP_CTRL_ACK& ack) {} in ack_stream_started() argument
45 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) {} in ack_stream_suspended() argument
Dclient_interface.cc51 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<() argument
52 switch (ack) { in operator <<()
66 return os << "UNDEFINED " << static_cast<int8_t>(ack); in operator <<()
78 BluetoothAudioCtrlAck ack = transport_instance_->StartRequest(); in startStream() local
79 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
81 provider_->streamStarted(BluetoothAudioCtrlAckToHalStatus(ack)); in startStream()
92 BluetoothAudioCtrlAck ack = transport_instance_->SuspendRequest(); in suspendStream() local
93 if (ack != BluetoothAudioCtrlAck::PENDING) { in suspendStream()
95 provider_->streamSuspended(BluetoothAudioCtrlAckToHalStatus(ack)); in suspendStream()
672 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument
[all …]
Dclient_interface.h72 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
75 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus() argument
76 switch (ack) { in BluetoothAudioCtrlAckToHalStatus()
204 void StreamStarted(const BluetoothAudioCtrlAck& ack);
206 void StreamSuspended(const BluetoothAudioCtrlAck& ack);
Da2dp_encoding.cc51 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
209 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack() argument
210 switch (ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
483 void ack_stream_started(const tA2DP_CTRL_ACK& ack) { in ack_stream_started() argument
484 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_started()
501 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) { in ack_stream_suspended() argument
502 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_suspended()
/system/netd/server/
DSockDiag.cpp71 } __attribute__((__packed__)) ack; in checkError() local
72 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError()
76 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()
78 recv(fd, &ack, sizeof(ack), 0); in checkError()
79 return ack.err.error; in checkError()
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc117 uint8_t ack = status; in hearing_aid_send_ack() local
119 UIPC_Send(*uipc_hearing_aid, UIPC_CH_ID_AV_CTRL, 0, &ack, sizeof(ack)); in hearing_aid_send_ack()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc424 char ack; in a2dp_command() local
451 if (a2dp_ctrl_receive(common, &ack, 1) < 0) { in a2dp_command()
457 ack); in a2dp_command()
459 if (ack == A2DP_CTRL_ACK_INCALL_FAILURE) { in a2dp_command()
460 ERROR("A2DP COMMAND %s error %d", audio_a2dp_hw_dump_ctrl_event(cmd), ack); in a2dp_command()
461 return ack; in a2dp_command()
463 if (ack != A2DP_CTRL_ACK_SUCCESS) { in a2dp_command()
464 ERROR("A2DP COMMAND %s error %d", audio_a2dp_hw_dump_ctrl_event(cmd), ack); in a2dp_command()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc431 char ack; in ha_command() local
455 if (ha_ctrl_receive(common, &ack, 1) < 0) { in ha_command()
461 audio_ha_hw_dump_ctrl_event(cmd), ack); in ha_command()
463 if (ack == HEARING_AID_CTRL_ACK_INCALL_FAILURE) return ack; in ha_command()
464 if (ack != HEARING_AID_CTRL_ACK_SUCCESS) { in ha_command()
466 ack); in ha_command()
/system/chre/chpp/
DREADME.md82 … packets awaiting transmission, and resetting its service state. It then responds with a reset-ack.
85 - 0x2 Reset-ack. Similar to reset, but sent as a response to reset, as described above.
89 The ack sequence number provides the next expected packets, effectively acknowledging all packets u…
90 The ack may be sent as part of a packet with or without a payload. In the latter case, the payload …
DRELEASE_NOTES.md18 …- Reset and reset-ack implementation to allow either peer to initialize the other (e.g., upon boot)
69 - Reset / reset-ack handshaking mechanism fixed
/system/core/debuggerd/
Dcrash_dump.cpp188 char ack; in activity_manager_notify() local
189 android::base::ReadFully(amfd, &ack, 1); in activity_manager_notify()