/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/ |
H A D | KeepalivePacketDataUtilTest.java | 66 final int ack = 0x22222222; in testFromTcpKeepaliveStableParcelable() local 78 testInfo.ack = ack; in testFromTcpKeepaliveStableParcelable() 94 assertEquals(testInfo.ack, resultData.tcpAck); in testFromTcpKeepaliveStableParcelable() 127 assertEquals(buf.getInt(), ack); in testFromTcpKeepaliveStableParcelable() local 140 final int ack = 0x22222222; in testToTcpKeepaliveStableParcelable() local 151 testInfo.ack = ack; in testToTcpKeepaliveStableParcelable() 165 assertEquals(resultData.ack, ack); in testToTcpKeepaliveStableParcelable() 183 final int ack = 0x22222222; in testParseTcpKeepalivePacketData() local 194 testParcel.ack = ack; in testParseTcpKeepalivePacketData()
|
/aosp12/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
H A D | SingleStateQueue.h | 85 enum SSQ_STATUS ack() const in ack() function 90 const int32_t ack = android_atomic_acquire_load(&mShared->mAck); in ack() local 91 return ack - mSequence & ~1 ? SSQ_PENDING /* seq differ */ : in ack() 92 ack & 1 ? SSQ_DONE : SSQ_READ; in ack() 96 bool ack(int32_t sequence) const in ack() function 160 const int32_t ack = mShared->mAck + 1; in done() local 162 android_atomic_release_store(ack, &mShared->mAck); // mSequence is odd after "done" in done()
|
/aosp12/system/bt/btif/src/ |
H A D | btif_a2dp.cc | 147 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()
|
H A D | btif_a2dp_control.cc | 402 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()
|
/aosp12/system/bt/audio_hal_interface/ |
H A D | client_interface.cc | 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() 93 if (ack != BluetoothAudioCtrlAck::PENDING) { in suspendStream() 672 const BluetoothAudioCtrlAck& ack) { in StreamStarted() argument 677 if (ack == BluetoothAudioCtrlAck::PENDING) { in StreamStarted() 678 LOG(INFO) << __func__ << ": " << ack << " ignored"; in StreamStarted() 696 const BluetoothAudioCtrlAck& ack) { in StreamSuspended() argument 701 if (ack == BluetoothAudioCtrlAck::PENDING) { in StreamSuspended() [all …]
|
H A D | a2dp_encoding.cc | 51 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()
|
H A D | client_interface.h | 72 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);
|
H A D | a2dp_encoding_host.cc | 43 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
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | StateQueue.cpp | 120 const T *ack = (const T *) mAck; // no additional barrier needed in push() local 121 if (ack == mExpecting) { in push() 164 const T *ack = (const T *) mAck; // no additional barrier needed in push() local 165 if (ack == mExpecting) { in push()
|
/aosp12/system/netd/server/ |
H A D | SockDiag.cpp | 71 } __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()
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/ |
H A D | KeepalivePacketDataUtil.java | 84 parcel.ack = pkt.getTcpAck(); in toStableParcelable() 114 tcpDetails.seq, tcpDetails.ack, tcpDetails.rcvWnd, tcpDetails.rcvWndScale, in fromStableParcelable() 144 buf.putInt(tcpDetails.ack); // ACK in buildV4Packet() 214 p.ack = tcpAck; in parseTcpKeepalivePacketData()
|
/aosp12/packages/modules/adb/client/ |
H A D | main.cpp | 192 const CHAR ack[] = "OK\n"; in adb_server_main() local 193 const DWORD bytes_to_write = arraysize(ack) - 1; in adb_server_main() 195 if (!WriteFile(ack_reply_handle, ack, bytes_to_write, &written, NULL)) { in adb_server_main()
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 25 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 25 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 25 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 8 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 8 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 25 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 8 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 25 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 26 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 27 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 26 int ack;
|
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/ |
H A D | TcpKeepalivePacketDataParcelable.aidl | 27 int ack;
|
/aosp12/system/bt/bta/hearing_aid/ |
H A D | hearing_aid_audio_source.cc | 117 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()
|