Home
last modified time | relevance | path

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

123

/packages/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java67 final int ack = 0x22222222; in testFromTcpKeepaliveStableParcelable() local
79 testInfo.ack = ack; in testFromTcpKeepaliveStableParcelable()
95 assertEquals(testInfo.ack, resultData.tcpAck); in testFromTcpKeepaliveStableParcelable()
128 assertEquals(buf.getInt(), ack); in testFromTcpKeepaliveStableParcelable() local
141 final int ack = 0x22222222; in testToTcpKeepaliveStableParcelable() local
152 testInfo.ack = ack; in testToTcpKeepaliveStableParcelable()
166 assertEquals(resultData.ack, ack); in testToTcpKeepaliveStableParcelable()
178 final int ack = 0x22222222; in testParseTcpKeepalivePacketData() local
189 testParcel.ack = ack; in testParseTcpKeepalivePacketData()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp.cc182 tA2DP_CTRL_ACK ack; in btif_a2dp_on_offload_started() local
187 ack = A2DP_CTRL_ACK_SUCCESS; in btif_a2dp_on_offload_started()
191 ack = A2DP_CTRL_ACK_UNSUPPORTED; in btif_a2dp_on_offload_started()
195 ack = A2DP_CTRL_ACK_FAILURE; in btif_a2dp_on_offload_started()
199 if (ack != BTA_AV_SUCCESS && in btif_a2dp_on_offload_started()
209 bluetooth::audio::a2dp::ack_stream_started(ack); in btif_a2dp_on_offload_started()
211 btif_a2dp_command_ack(ack); in btif_a2dp_on_offload_started()
Dbtif_a2dp_control.cc391 uint8_t ack = status; in btif_a2dp_command_ack() local
414 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, &ack, sizeof(ack)); in btif_a2dp_command_ack()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dclient_interface_hidl.cc50 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<() argument
51 switch (ack) { in operator <<()
65 return os << "UNDEFINED " << static_cast<int8_t>(ack); in operator <<()
77 BluetoothAudioCtrlAck ack = transport_instance_->StartRequest(); in startStream() local
78 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
80 provider_->streamStarted(BluetoothAudioCtrlAckToHalStatus(ack)); in startStream()
90 BluetoothAudioCtrlAck ack = transport_instance_->SuspendRequest(); in suspendStream() local
91 if (ack != BluetoothAudioCtrlAck::PENDING) { in suspendStream()
93 provider_->streamSuspended(BluetoothAudioCtrlAckToHalStatus(ack)); in suspendStream()
670 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument
[all …]
Dclient_interface_hidl.h74 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
77 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus() argument
78 switch (ack) { in BluetoothAudioCtrlAckToHalStatus()
204 void StreamStarted(const BluetoothAudioCtrlAck& ack);
206 void StreamSuspended(const BluetoothAudioCtrlAck& ack);
Da2dp_encoding_hidl.cc67 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
223 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack() argument
224 switch (ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
497 void ack_stream_started(const tA2DP_CTRL_ACK& ack) { in ack_stream_started() argument
498 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_started()
514 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) { in ack_stream_suspended() argument
515 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_suspended()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DTcpHeader.java55 public final long ack; field in TcpHeader
67 public TcpHeader(final int srcPort, final int dstPort, final long seq, final long ack, in TcpHeader() argument
73 this.ack = ack; in TcpHeader()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_unittest.cc304 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument
307 instance->StreamStarted(ack); in StreamStarted()
320 const BluetoothAudioCtrlAck& ack) { in StreamSuspended() argument
323 instance->StreamSuspended(ack); in StreamSuspended()
327 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<() argument
328 switch (ack) { in operator <<()
435 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument
438 instance->StreamStarted(ack); in StreamStarted()
451 const BluetoothAudioCtrlAck& ack) { in StreamSuspended() argument
454 return instance->StreamSuspended(ack); in StreamSuspended()
[all …]
Da2dp_encoding_host.cc267 void ack_stream_started(const tA2DP_CTRL_ACK& ack) { in ack_stream_started() argument
272 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) { in ack_stream_suspended() argument
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dbluetooth_audio_port_impl.cc43 BluetoothAudioCtrlAck ack = transport_instance_->StartRequest(is_low_latency); in startStream() local
44 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
46 provider_->streamStarted(BluetoothAudioCtrlAckToHalStatus(ack)); in startStream()
56 BluetoothAudioCtrlAck ack = transport_instance_->SuspendRequest(); in suspendStream() local
57 if (ack != BluetoothAudioCtrlAck::PENDING) { in suspendStream()
59 provider_->streamSuspended(BluetoothAudioCtrlAckToHalStatus(ack)); in suspendStream()
Daudio_ctrl_ack.h39 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
42 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus() argument
43 switch (ack) { in BluetoothAudioCtrlAckToHalStatus()
Dclient_interface_aidl.cc34 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<() argument
35 switch (ack) { in operator <<()
49 return os << "UNDEFINED " << static_cast<int8_t>(ack); in operator <<()
463 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument
468 if (ack == BluetoothAudioCtrlAck::PENDING) { in StreamStarted()
469 log::info("{} ignored", ack); in StreamStarted()
472 BluetoothAudioStatus status = BluetoothAudioCtrlAckToHalStatus(ack); in StreamStarted()
482 const BluetoothAudioCtrlAck& ack) { in StreamSuspended() argument
487 if (ack == BluetoothAudioCtrlAck::PENDING) { in StreamSuspended()
488 log::info("{} ignored", ack); in StreamSuspended()
[all …]
Da2dp_encoding_aidl.cc242 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack() argument
243 switch (ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
634 void ack_stream_started(const tA2DP_CTRL_ACK& ack) { in ack_stream_started() argument
635 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_started()
651 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) { in ack_stream_suspended() argument
652 auto ctrl_ack = a2dp_ack_to_bt_audio_ctrl_ack(ack); in ack_stream_suspended()
/packages/modules/adb/client/
Dmain.cpp195 const CHAR ack[] = "OK\n"; in adb_server_main() local
196 const DWORD bytes_to_write = arraysize(ack) - 1; in adb_server_main()
198 if (!WriteFile(ack_reply_handle, ack, bytes_to_write, &written, NULL)) { in adb_server_main()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/
DKeepalivePacketDataUtil.java76 parcel.ack = pkt.getTcpAck(); in toStableParcelable()
139 p.ack = tcpAck; in parseTcpKeepalivePacketData()
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_audio_source.cc131 uint8_t ack = status; in hearing_aid_send_ack() local
133 UIPC_Send(*uipc_hearing_aid, UIPC_CH_ID_AV_CTRL, 0, &ack, sizeof(ack)); in hearing_aid_send_ack()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
DTcpKeepalivePacketDataParcelable.aidl25 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DTcpKeepalivePacketDataParcelable.aidl25 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DTcpKeepalivePacketDataParcelable.aidl8 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DTcpKeepalivePacketDataParcelable.aidl25 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DTcpKeepalivePacketDataParcelable.aidl25 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DTcpKeepalivePacketDataParcelable.aidl25 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DTcpKeepalivePacketDataParcelable.aidl8 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DTcpKeepalivePacketDataParcelable.aidl8 int ack;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/
DTcpKeepalivePacketDataParcelable.aidl42 int ack;

123