Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_rc.cc134 uint8_t event_id; member
306 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
943 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
948 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
950 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
951 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1265 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1267 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1270 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1272 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
[all …]
Dbtif_util.cc365 const char* dump_rc_notification_event_id(uint8_t event_id) { in dump_rc_notification_event_id() argument
366 switch (event_id) { in dump_rc_notification_event_id()
/system/bt/service/
Davrcp_target.h62 int32_t event_id, uint32_t param) = 0;
107 int32_t event_id, int32_t type,
138 void RegisterNotificationCallback(btrc_event_id_t event_id, uint32_t param,
Davrcp_target.cc226 int32_t event_id, int32_t type, in RegisterNotificationResponse() argument
233 static_cast<btrc_event_id_t>(event_id), in RegisterNotificationResponse()
342 void AvrcpTarget::RegisterNotificationCallback(btrc_event_id_t event_id, in RegisterNotificationCallback() argument
348 delegate_->OnRegisterNotification(str_addr, static_cast<int32_t>(event_id), in RegisterNotificationCallback()
/system/extras/simpleperf/
Drecord.h194 size_t CreateContent(const perf_event_attr& attr, uint64_t event_id);
282 const std::string& filename, uint64_t event_id, uint64_t time = 0);
309 const std::string& filename, uint64_t event_id, uint64_t time = 0);
328 const std::string& comm, uint64_t event_id, uint64_t time);
362 uint32_t ppid, uint32_t ptid, uint64_t event_id);
499 uint64_t event_id; member
Drecord_file_reader.cpp289 uint64_t event_id; in ReadRecord() local
293 event_id = *reinterpret_cast<uint64_t*>(p.get() + event_id_pos_in_sample_records_); in ReadRecord()
298event_id = *reinterpret_cast<uint64_t*>(p.get() + header.size - event_id_reverse_pos_in_non_sample… in ReadRecord()
302 auto it = event_id_to_attr_map_.find(event_id); in ReadRecord()
321 event_ids_for_file_attrs_[r.data[i].attr_id].push_back(r.data[i].event_id); in ProcessEventIdRecord()
322 event_id_to_attr_map_[r.data[i].event_id] = r.data[i].attr_id; in ProcessEventIdRecord()
Drecord.cpp72 size_t SampleId::CreateContent(const perf_event_attr& attr, uint64_t event_id) { in CreateContent() argument
75 id_data.id = event_id; in CreateContent()
220 uint64_t event_id, uint64_t time) { in MmapRecord() argument
223 sample_id.CreateContent(attr, event_id); in MmapRecord()
271 const std::string& filename, uint64_t event_id, uint64_t time) { in Mmap2Record() argument
273 sample_id.CreateContent(attr, event_id); in Mmap2Record()
325 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument
330 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in CommRecord()
390 uint32_t ppid, uint32_t ptid, uint64_t event_id) { in ForkRecord() argument
398 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in ForkRecord()
[all …]
Dcmd_record.cpp1147 uint64_t event_id = dumping_attr_id_.ids[0]; in DumpProcessMaps() local
1153 map.pgoff, map.prot, map.name, event_id, last_record_timestamp_); in DumpProcessMaps()
1161 CommRecord record(attr, pid, pid, name, event_id, last_record_timestamp_); in DumpProcessMaps()
1169 CommRecord comm_record(attr, pid, tid, name, event_id, last_record_timestamp_); in DumpProcessMaps()
/system/bt/btif/include/
Dbtif_util.h59 const char* dump_rc_notification_event_id(uint8_t event_id);
/system/bt/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl32 void OnRegisterNotification(String addr, int event_id, int param); in OnRegisterNotification() argument
DIBluetoothAvrcpTarget.aidl53 int event_id, in RegisterNotificationResponse() argument
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc200 int32_t event_id, int32_t type, in RegisterNotificationResponse() argument
206 avrcp_target->RegisterNotificationResponse(event_id, type, param)); in RegisterNotificationResponse()
288 const std::string& addr, int32_t event_id, uint32_t param) { in OnRegisterNotification() argument
291 cb->OnRegisterNotification(String16(addr.data(), addr.size()), event_id, in OnRegisterNotification()
Dbluetooth_avrcp_target_binder_server.h85 int32_t event_id, int32_t type,
109 void OnRegisterNotification(const std::string& addr, int32_t event_id,
/system/bt/stack/avrc/
Davrc_bld_ct.cc96 static tAVRC_STS avrc_bld_register_notifn(BT_HDR* p_pkt, uint8_t event_id, in avrc_bld_register_notifn() argument
107 UINT8_TO_BE_STREAM(p_data, event_id); in avrc_bld_register_notifn()
599 status = avrc_bld_register_notifn(p_pkt, p_cmd->reg_notif.event_id, in AVRC_BldCommand()
Davrc_pars_ct.cc127 p_result->reg_notif.event_id = eventid; in avrc_pars_vendor_rsp()
147 BE_STREAM_TO_UINT8(p_rsp->event_id, p_stream); in avrc_parse_notification_rsp()
148 switch (p_rsp->event_id) { in avrc_parse_notification_rsp()
567 BE_STREAM_TO_UINT8(p_result->get_caps.param.event_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
Davrc_pars_tg.cc74 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_ctrl_pars_vendor_cmd()
306 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_pars_vendor_cmd()
Davrc_bld_tg.cc91 p_event_id = p_rsp->param.event_id; in avrc_bld_get_capability_rsp()
561 AVRC_TRACE_API("%s event_id %d", __func__, p_rsp->event_id); in avrc_bld_notify_rsp()
567 UINT8_TO_BE_STREAM(p_data, p_rsp->event_id); in avrc_bld_notify_rsp()
568 switch (p_rsp->event_id) { in avrc_bld_notify_rsp()
/system/bt/service/hal/
Dbluetooth_avrcp_interface.h57 virtual void RegisterNotificationCallback(btrc_event_id_t event_id,
Dbluetooth_avrcp_interface.cc158 void RegisterNotificationCallback(btrc_event_id_t event_id, uint32_t param, in RegisterNotificationCallback() argument
164 observer.RegisterNotificationCallback(event_id, param, bd_addr); in RegisterNotificationCallback()
684 btrc_event_id_t event_id, uint32_t param, const RawAddress& bd_addr) { in RegisterNotificationCallback() argument
/system/bt/include/hardware/
Dbt_rc.h333 typedef void (*btrc_register_notification_callback)(btrc_event_id_t event_id,
500 btrc_event_id_t event_id, btrc_notification_type_t type,
/system/bt/stack/include/
Davrc_defs.h1027 uint8_t event_id[AVRC_CAP_MAX_NUM_EVT_ID]; member
1179 uint8_t event_id; member
1418 uint8_t event_id; member
/system/bt/bta/av/
Dbta_av_act.cc818 memcpy(p_rc_rsp->get_caps.param.event_id, in bta_av_proc_meta_cmd()