Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/packet/avrcp/
Dvendor_packet.h29 CType ctype, CommandPdu pdu, PacketType packet_type,
48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder() argument
49 : PacketBuilder(ctype, 0x09, 0x00, Opcode::VENDOR), in VendorPacketBuilder()
Dvendor_packet.cc23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder() argument
31 new VendorPacketBuilder(ctype, pdu, packet_type)); in MakeBuilder()
/system/bt/bta/av/
Dbta_av_act.cc779 p_vendor->hdr.ctype = AVRC_RSP_NOT_IMPL; in bta_av_proc_meta_cmd()
782 } else if (!AVRC_IsValidAvcType(pdu, p_vendor->hdr.ctype)) { in bta_av_proc_meta_cmd()
784 p_vendor->hdr.ctype); in bta_av_proc_meta_cmd()
850 bool is_inquiry = ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) || in bta_av_rc_msg()
851 p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ); in bta_av_rc_msg()
852 uint8_t ctype = 0; in bta_av_rc_msg() local
863 p_data->rc_msg.msg.hdr.ctype); in bta_av_rc_msg()
867 if ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_CTRL) || in bta_av_rc_msg()
868 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) || in bta_av_rc_msg()
869 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ)) { in bta_av_rc_msg()
[all …]
Dbta_av_api.cc463 p_buf->msg.hdr.ctype = cmd_code; in BTA_AvVendorCmd()
498 p_buf->msg.hdr.ctype = rsp_code; in BTA_AvVendorRsp()
/system/bt/btif/src/
Dbtif_rc.cc119 uint8_t ctype; member
342 uint8_t ctype, uint8_t label,
346 tAVRC_RESPONSE* pavrc_resp, uint8_t ctype,
413 p_dev->rc_pdu_info[i].ctype = 0; in initialize_device()
492 void fill_pdu_queue(int index, uint8_t ctype, uint8_t label, bool pending, in fill_pdu_queue() argument
494 p_dev->rc_pdu_info[index].ctype = ctype; in fill_pdu_queue()
1134 p_data->meta_msg.p_msg->hdr.ctype); in btif_rc_handler()
1151 if (p_data->meta_msg.p_msg->hdr.ctype == AVRC_CMD) { in btif_rc_handler()
1153 } else if (p_data->meta_msg.p_msg->hdr.ctype == AVRC_RSP) { in btif_rc_handler()
1226 remote_cmd.hdr.ctype = AVRC_CMD_CTRL; in btif_rc_check_handle_pending_play()
[all …]
/system/bt/profile/avrcp/
Davrcp_message_converter.h73 data.push_back(m->hdr.ctype); in Parse()
85 data.push_back(m->hdr.ctype); in Parse()
Davrcp_internal.h61 virtual uint16_t MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
Dconnection_handler.cc541 uint8_t ctype = AVRC_RSP_ACCEPT; in SendMessage() local
543 ctype = in SendMessage()
576 avrc_->MsgReq(handle, label, ctype, pkt); in SendMessage()
/system/bt/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl33 void OnVolumeChange(String addr, int volume, int ctype); in OnVolumeChange() argument
/system/bt/stack/avrc/
Davrc_api.cc552 p_msg->hdr.ctype = p_msg->p_vendor_data[0] & AVRC_CTYPE_MASK; in avrc_proc_far_msg()
661 msg.browse.hdr.ctype = cr; in avrc_msg_cback()
673 msg.hdr.ctype = p_data[0] & AVRC_CTYPE_MASK; in avrc_msg_cback()
675 handle, msg.hdr.ctype, p_pkt->offset, p_pkt->len); in avrc_msg_cback()
930 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_pass_msg()
1128 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in AVRC_MsgReq() argument
1143 handle, label, ctype, p_pkt->len); in AVRC_MsgReq()
1146 if (ctype >= AVRC_RSP_NOT_IMPL) cr = AVCT_RSP; in AVRC_MsgReq()
1157 *p_data++ = (ctype & AVRC_CTYPE_MASK); in AVRC_MsgReq()
1178 *p_data++ = (ctype & AVRC_CTYPE_MASK); in AVRC_MsgReq()
[all …]
Davrc_pars_ct.cc70 __func__, p_msg->hdr.ctype, p_result->pdu, len, len, in avrc_pars_vendor_rsp()
79 if (p_msg->hdr.ctype == AVRC_RSP_REJ) { in avrc_pars_vendor_rsp()
115 (AVRC_RSP_CHANGED == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
116 AVRC_RSP_INTERIM == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
117 AVRC_RSP_REJ == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
118 AVRC_RSP_NOT_IMPL == p_msg->hdr.ctype)) { in avrc_pars_vendor_rsp()
126 p_result->reg_notif.status = p_msg->hdr.ctype; in avrc_pars_vendor_rsp()
547 p_msg->hdr.ctype, p_result->pdu, len, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
555 if (p_msg->hdr.ctype == AVRC_RSP_REJ) { in avrc_ctrl_pars_vendor_rsp()
Davrc_opt.cc58 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
Davrc_pars_tg.cc50 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_ctrl_pars_vendor_cmd()
132 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_pars_vendor_cmd()
134 p_msg->hdr.ctype); in avrc_pars_vendor_cmd()
/system/bt/test/mock/
Dmock_stack_avrc_api.cc54 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in AVRC_MsgReq() argument
/system/bt/service/
Davrcp_target.h64 int32_t ctype) = 0;
140 void VolumeChangeCallback(uint8_t volume, uint8_t ctype,
Davrcp_target.cc353 void AvrcpTarget::VolumeChangeCallback(uint8_t volume, uint8_t ctype, in VolumeChangeCallback() argument
357 if (delegate_) delegate_->OnVolumeChange(str_addr, volume, ctype); in VolumeChangeCallback()
/system/bt/stack/test/
Dstack_avrcp_test.cc142 .ctype = AVRC_CMD_NOTIF, in TEST_F()
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc297 int32_t ctype) { in OnVolumeChange() argument
300 cb->OnVolumeChange(String16(addr.data(), addr.size()), volume, ctype); in OnVolumeChange()
Dbluetooth_avrcp_target_binder_server.h112 int32_t ctype) override;
/system/bt/stack/include/
Davrc_api.h462 extern uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
/system/bt/service/hal/
Dbluetooth_avrcp_interface.h60 virtual void VolumeChangeCallback(uint8_t volume, uint8_t ctype,
Dbluetooth_avrcp_interface.cc169 void VolumeChangeCallback(uint8_t volume, uint8_t ctype, in VolumeChangeCallback() argument
175 observer.VolumeChangeCallback(volume, ctype, bd_addr); in VolumeChangeCallback()
690 uint8_t volume, uint8_t ctype, const RawAddress& bd_addr) { in VolumeChangeCallback() argument
/system/core/libutils/
DAndroid.bp125 // Under MinGW, ctype.h doesn't need multi-byte support
/system/bt/btif/avrcp/
Davrcp_service.cc100 uint16_t MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in MsgReq() argument
102 return AVRC_MsgReq(handle, label, ctype, p_pkt); in MsgReq()
/system/bt/include/hardware/
Dbt_rc.h343 typedef void (*btrc_volume_change_callback)(uint8_t volume, uint8_t ctype,

12