Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java83 int ctype = result[CLUSTER_TYPE]; in setupMenuItems() local
90 (ctype & CLUSTER_BY_TIME) != 0, (ccurrent & CLUSTER_BY_TIME) != 0); in setupMenuItems()
92 (ctype & CLUSTER_BY_LOCATION) != 0, (ccurrent & CLUSTER_BY_LOCATION) != 0); in setupMenuItems()
94 (ctype & CLUSTER_BY_TAG) != 0, (ccurrent & CLUSTER_BY_TAG) != 0); in setupMenuItems()
96 (ctype & CLUSTER_BY_FACE) != 0, (ccurrent & CLUSTER_BY_FACE) != 0); in setupMenuItems()
98 actionBar.setClusterItemVisibility(CLUSTER_BY_ALBUM, !inAlbum || ctype == 0); in setupMenuItems()
100 setMenuItemApplied(actionBar, R.id.action_cluster_album, ctype == 0, in setupMenuItems()
142 int ctype = toClusterType(segments[2]); in getAppliedFilters() local
143 result[CLUSTER_TYPE] |= ctype; in getAppliedFilters()
144 result[CLUSTER_CURRENT_TYPE] = ctype; in getAppliedFilters()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc125 uint8_t ctype; member
368 uint8_t ctype, uint8_t label,
372 tAVRC_RESPONSE* pavrc_resp, uint8_t ctype,
456 p_dev->rc_pdu_info[i].ctype = 0; in initialize_device()
537 void fill_pdu_queue(int index, uint8_t ctype, uint8_t label, bool pending, in fill_pdu_queue() argument
539 p_dev->rc_pdu_info[index].ctype = ctype; in fill_pdu_queue()
1294 p_data->meta_msg.p_msg->hdr.ctype); in btif_rc_handler()
1311 if (p_data->meta_msg.p_msg->hdr.ctype == AVRC_CMD) { in btif_rc_handler()
1313 } else if (p_data->meta_msg.p_msg->hdr.ctype == AVRC_RSP) { in btif_rc_handler()
1386 remote_cmd.hdr.ctype = AVRC_CMD_CTRL; in btif_rc_check_handle_pending_play()
[all …]
/packages/modules/Bluetooth/system/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.cc27 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder() argument
35 new VendorPacketBuilder(ctype, pdu, packet_type)); in MakeBuilder()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc908 p_vendor->hdr.ctype = AVRC_RSP_NOT_IMPL; in bta_av_proc_meta_cmd()
911 } else if (!AVRC_IsValidAvcType(pdu, p_vendor->hdr.ctype)) { in bta_av_proc_meta_cmd()
912 log::verbose("Invalid pdu/ctype: 0x{:x}, {}", pdu, p_vendor->hdr.ctype); in bta_av_proc_meta_cmd()
981 bool is_inquiry = ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) || in bta_av_rc_msg()
982 p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ); in bta_av_rc_msg()
983 uint8_t ctype = 0; in bta_av_rc_msg() local
994 p_data->rc_msg.msg.hdr.ctype); in bta_av_rc_msg()
998 if ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_CTRL) || in bta_av_rc_msg()
999 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) || in bta_av_rc_msg()
1000 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ)) { in bta_av_rc_msg()
[all …]
Dbta_av_api.cc464 p_buf->msg.hdr.ctype = cmd_code; in BTA_AvVendorCmd()
499 p_buf->msg.hdr.ctype = rsp_code; in BTA_AvVendorRsp()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_api.cc574 p_msg->hdr.ctype = p_msg->p_vendor_data[0] & AVRC_CTYPE_MASK; in avrc_proc_far_msg()
683 msg.browse.hdr.ctype = cr; in avrc_msg_cback()
694 msg.hdr.ctype = p_data[0] & AVRC_CTYPE_MASK; in avrc_msg_cback()
696 msg.hdr.ctype, p_pkt->offset, p_pkt->len); in avrc_msg_cback()
948 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_pass_msg()
1179 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in AVRC_MsgReq() argument
1194 ctype, p_pkt->len); in AVRC_MsgReq()
1199 if (ctype >= AVRC_RSP_NOT_IMPL) cr = AVCT_RSP; in AVRC_MsgReq()
1210 *p_data++ = (ctype & AVRC_CTYPE_MASK); in AVRC_MsgReq()
1231 *p_data++ = (ctype & AVRC_CTYPE_MASK); in AVRC_MsgReq()
[all …]
Davrc_pars_ct.cc70 p_msg->hdr.ctype, p_result->pdu, len, len, p_msg->vendor_len); in avrc_pars_vendor_rsp()
77 if (p_msg->hdr.ctype == AVRC_RSP_REJ) { in avrc_pars_vendor_rsp()
111 (AVRC_RSP_CHANGED == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
112 AVRC_RSP_INTERIM == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
113 AVRC_RSP_REJ == p_msg->hdr.ctype || in avrc_pars_vendor_rsp()
114 AVRC_RSP_NOT_IMPL == p_msg->hdr.ctype)) { in avrc_pars_vendor_rsp()
119 p_result->reg_notif.status = p_msg->hdr.ctype; in avrc_pars_vendor_rsp()
524 p_msg->hdr.ctype, p_result->pdu, len, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
531 if (p_msg->hdr.ctype == AVRC_RSP_REJ) { in avrc_ctrl_pars_vendor_rsp()
Davrc_pars_tg.cc57 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_ctrl_pars_vendor_cmd()
137 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_pars_vendor_cmd()
138 log::verbose("detects wrong AV/C type(0x{:x})!", p_msg->hdr.ctype); in avrc_pars_vendor_cmd()
Davrc_opt.cc73 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
/packages/modules/Bluetooth/system/profile/avrcp/
Davrcp_message_converter.h76 data.push_back(m->hdr.ctype); in Parse()
88 data.push_back(m->hdr.ctype); in Parse()
Dconnection_handler.cc468 if (p_msg->browse.hdr.ctype == AVCT_RSP) { in MessageCb()
598 uint8_t ctype = AVRC_RSP_ACCEPT; in SendMessage() local
600 ctype = in SendMessage()
634 avrc_->MsgReq(handle, label, ctype, pkt); in SendMessage()
Davrcp_internal.h65 virtual uint16_t MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
/packages/modules/Bluetooth/system/stack/test/
Dstack_avrcp_test.cc39 msg.hdr.ctype = AVRC_CMD_STATUS; in TEST_F()
193 .ctype = AVRC_CMD_NOTIF, in TEST_F()
/packages/modules/Bluetooth/system/stack/fuzzers/
Davrc_fuzzer.cc139 if (p_msg->hdr.ctype == AVCT_CMD) { in msg_cb()
150 } else if (p_msg->hdr.ctype == AVCT_RSP) { in msg_cb()
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/
Dfuzz_avrc.cc161 msg.hdr.ctype = data[0] % 4; in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/stack/include/
Davrc_api.h504 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
Davrc_defs.h882 uint8_t ctype; /* Command type. */ member
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc129 uint16_t MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in MsgReq() argument
131 return AVRC_MsgReq(handle, label, ctype, p_pkt, true); in MsgReq()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h344 typedef void (*btrc_volume_change_callback)(uint8_t volume, uint8_t ctype,