/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 83 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/ |
D | btif_rc.cc | 125 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/ |
D | vendor_packet.h | 29 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()
|
D | vendor_packet.cc | 27 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/ |
D | bta_av_act.cc | 908 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 …]
|
D | bta_av_api.cc | 464 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/ |
D | avrc_api.cc | 574 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 …]
|
D | avrc_pars_ct.cc | 70 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()
|
D | avrc_pars_tg.cc | 57 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()
|
D | avrc_opt.cc | 73 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | avrcp_message_converter.h | 76 data.push_back(m->hdr.ctype); in Parse() 88 data.push_back(m->hdr.ctype); in Parse()
|
D | connection_handler.cc | 468 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()
|
D | avrcp_internal.h | 65 virtual uint16_t MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_avrcp_test.cc | 39 msg.hdr.ctype = AVRC_CMD_STATUS; in TEST_F() 193 .ctype = AVRC_CMD_NOTIF, in TEST_F()
|
/packages/modules/Bluetooth/system/stack/fuzzers/ |
D | avrc_fuzzer.cc | 139 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/ |
D | fuzz_avrc.cc | 161 msg.hdr.ctype = data[0] % 4; in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | avrc_api.h | 504 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
|
D | avrc_defs.h | 882 uint8_t ctype; /* Command type. */ member
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 129 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/ |
D | bt_rc.h | 344 typedef void (*btrc_volume_change_callback)(uint8_t volume, uint8_t ctype,
|