Home
last modified time | relevance | path

Searched refs:event_id (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc139 uint8_t event_id; member
168 uint8_t event_id; member
335 static bt_status_t register_notification_cmd(uint8_t event_id,
1148 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
1153 dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
1155 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
1156 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1158 if (btif_av_both_enable() && event_id == AVRC_EVT_VOLUME_CHANGE) { in handle_rc_metamsg_cmd()
1500 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1502 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
[all …]
Dbtif_util.cc331 std::string dump_rc_notification_event_id(uint8_t event_id) { in dump_rc_notification_event_id() argument
332 switch (event_id) { in dump_rc_notification_event_id()
348 RETURN_UNKNOWN_TYPE_STRING(rc_notification_event_id, event_id); in dump_rc_notification_event_id()
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_util.h194 std::function<const char*(uint8_t event_id)> body{
196 const char* operator()(uint8_t event_id) { return body(event_id); }; in operator()
Dmock_btif_util.cc139 const char* dump_rc_notification_event_id(uint8_t event_id) { in dump_rc_notification_event_id() argument
141 return test::mock::btif_util::dump_rc_notification_event_id(event_id); in dump_rc_notification_event_id()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_tg.cc84 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_ctrl_pars_vendor_cmd()
87 if (p_result->reg_notif.event_id == 0 || in avrc_ctrl_pars_vendor_cmd()
88 p_result->reg_notif.event_id > AVRC_NUM_NOTIF_EVENTS) { in avrc_ctrl_pars_vendor_cmd()
322 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_pars_vendor_cmd()
323 if (!AVRC_IS_VALID_EVENT_ID(p_result->reg_notif.event_id)) { in avrc_pars_vendor_cmd()
324 log::error("Invalid event id: {}", p_result->reg_notif.event_id); in avrc_pars_vendor_cmd()
Davrc_bld_ct.cc105 static tAVRC_STS avrc_bld_register_notifn(BT_HDR* p_pkt, uint8_t event_id, in avrc_bld_register_notifn() argument
116 UINT8_TO_BE_STREAM(p_data, event_id); in avrc_bld_register_notifn()
627 status = avrc_bld_register_notifn(p_pkt, p_cmd->reg_notif.event_id, in AVRC_BldCommand()
Davrc_pars_ct.cc120 p_result->reg_notif.event_id = eventid; in avrc_pars_vendor_rsp()
139 BE_STREAM_TO_UINT8(p_rsp->event_id, p_stream); in avrc_parse_notification_rsp()
140 switch (p_rsp->event_id) { in avrc_parse_notification_rsp()
579 BE_STREAM_TO_UINT8(p_result->get_caps.param.event_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
Davrc_bld_tg.cc99 p_event_id = p_rsp->param.event_id; in avrc_bld_get_capability_rsp()
568 log::verbose("event_id {}", p_rsp->event_id); in avrc_bld_notify_rsp()
574 UINT8_TO_BE_STREAM(p_data, p_rsp->event_id); in avrc_bld_notify_rsp()
575 switch (p_rsp->event_id) { in avrc_bld_notify_rsp()
/packages/modules/Bluetooth/system/stack/test/
Dstack_avrcp_test.cc174 uint8_t event_id; in TEST_F() member
183 .event_id = 0, in TEST_F()
205 data.payload.event_id = id; in TEST_F()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_util.h58 std::string dump_rc_notification_event_id(uint8_t event_id);
/packages/apps/Settings/src/com/android/settings/fuelgauge/protos/
Dpower_anomaly_event.proto12 optional string event_id = 1; field
/packages/apps/ManagedProvisioning/proto/
Ddevicepolicy.proto27 optional int32 event_id = 1; field
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h336 typedef void (*btrc_register_notification_callback)(btrc_event_id_t event_id,
503 btrc_event_id_t event_id, btrc_notification_type_t type,
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1033 uint8_t event_id[AVRC_CAP_MAX_NUM_EVT_ID]; member
1185 uint8_t event_id; member
1424 uint8_t event_id; member
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc849 memcpy(p_rc_rsp->get_caps.param.event_id, p_src_cfg->p_meta_evt_ids, in bta_av_proc_rsp()
861 p_rc_rsp->get_caps.param.event_id[evt_cnt + i] = in bta_av_proc_rsp()
946 memcpy(p_rc_rsp->get_caps.param.event_id, in bta_av_proc_meta_cmd()