Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_rc.cc134 uint8_t event_id; member
307 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
1004 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
1009 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
1011 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
1012 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1343 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1345 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1348 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1350 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
[all …]
Dbtif_util.cc366 const char* dump_rc_notification_event_id(uint8_t event_id) { in dump_rc_notification_event_id() argument
367 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/
Dcmd_stat_test.cpp379 int event_id = 0; member
397 if (arg.event_id >= counters_.size()) { in AddCounter()
398 counters_.resize(arg.event_id + 1); in AddCounter()
399 counters_[arg.event_id].group_id = 0; in AddCounter()
400 counters_[arg.event_id].event_name = "event" + std::to_string(arg.event_id); in AddCounter()
402 CountersInfo& info = counters_[arg.event_id]; in AddCounter()
430 AddCounter({.event_id = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
431 AddCounter({.event_id = 1, .value = 2, .time_enabled = 2, .time_running = 2}); in TEST_F()
Drecord.h197 size_t CreateContent(const perf_event_attr& attr, uint64_t event_id);
285 const std::string& filename, uint64_t event_id, uint64_t time = 0);
312 const std::string& filename, uint64_t event_id, uint64_t time = 0);
331 const std::string& comm, uint64_t event_id, uint64_t time);
365 uint32_t ppid, uint32_t ptid, uint64_t event_id);
575 uint64_t event_id; member
Drecord_file_reader.cpp302 uint64_t event_id; in ReadRecord() local
306 event_id = *reinterpret_cast<uint64_t*>(p.get() + event_id_pos_in_sample_records_); in ReadRecord()
311event_id = *reinterpret_cast<uint64_t*>(p.get() + header.size - event_id_reverse_pos_in_non_sample… in ReadRecord()
315 auto it = event_id_to_attr_map_.find(event_id); in ReadRecord()
352 event_ids_for_file_attrs_[r.data[i].attr_id].push_back(r.data[i].event_id); in ProcessEventIdRecord()
353 event_id_to_attr_map_[r.data[i].event_id] = r.data[i].attr_id; in ProcessEventIdRecord()
Drecord.cpp75 size_t SampleId::CreateContent(const perf_event_attr& attr, uint64_t event_id) { in CreateContent() argument
78 id_data.id = event_id; in CreateContent()
223 uint64_t event_id, uint64_t time) { in MmapRecord() argument
226 sample_id.CreateContent(attr, event_id); in MmapRecord()
274 const std::string& filename, uint64_t event_id, uint64_t time) { in Mmap2Record() argument
276 sample_id.CreateContent(attr, event_id); in Mmap2Record()
328 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument
333 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in CommRecord()
393 uint32_t ppid, uint32_t ptid, uint64_t event_id) { in ForkRecord() argument
401 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in ForkRecord()
[all …]
Dcmd_record.cpp1240 uint64_t event_id = dumping_attr_id_.ids[0]; in DumpProcessMaps() local
1246 map.pgoff, map.prot, map.name, event_id, last_record_timestamp_); in DumpProcessMaps()
1254 CommRecord record(attr, pid, pid, process_name, event_id, last_record_timestamp_); in DumpProcessMaps()
1268 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()
616 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()
591 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/btif/test/
Dbtif_rc_test.cc89 const char* dump_rc_notification_event_id(uint8_t event_id) { return nullptr; } in dump_rc_notification_event_id() argument
/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.h335 typedef void (*btrc_register_notification_callback)(btrc_event_id_t event_id,
502 btrc_event_id_t event_id, btrc_notification_type_t type,
/system/bt/stack/include/
Davrc_defs.h1028 uint8_t event_id[AVRC_CAP_MAX_NUM_EVT_ID]; member
1180 uint8_t event_id; member
1419 uint8_t event_id; member
/system/bt/bta/av/
Dbta_av_act.cc821 memcpy(p_rc_rsp->get_caps.param.event_id, in bta_av_proc_meta_cmd()