Home
last modified time | relevance | path

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

12

/system/extras/simpleperf/
DMapRecordReader.h36 MapRecordReader(const perf_event_attr& attr, uint64_t event_id, bool keep_non_executable_maps) in MapRecordReader() argument
37 : attr_(attr), event_id_(event_id), keep_non_executable_maps_(keep_non_executable_maps) {} in MapRecordReader()
Dcmd_stat_test.cpp379 int event_id = 0; member
395 if (arg.event_id >= counters_.size()) { in AddCounter()
396 counters_.resize(arg.event_id + 1); in AddCounter()
397 counters_[arg.event_id].group_id = 0; in AddCounter()
398 counters_[arg.event_id].event_name = "event" + std::to_string(arg.event_id); in AddCounter()
400 CountersInfo& info = counters_[arg.event_id]; in AddCounter()
428 AddCounter({.event_id = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
429 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);
283 uint64_t len, uint64_t pgoff, const std::string& filename, uint64_t event_id,
310 const std::string& filename, uint64_t event_id, uint64_t time = 0);
328 uint64_t event_id, uint64_t time);
360 uint64_t event_id);
565 uint64_t event_id; member
Drecord_file_reader.cpp311 uint64_t event_id; in ReadRecord() local
315 event_id = *reinterpret_cast<uint64_t*>(p.get() + event_id_pos_in_sample_records_); in ReadRecord()
320 event_id = *reinterpret_cast<uint64_t*>(p.get() + header.size - in ReadRecord()
325 auto it = event_id_to_attr_map_.find(event_id); in ReadRecord()
362 event_ids_for_file_attrs_[r.data[i].attr_id].push_back(r.data[i].event_id); in ProcessEventIdRecord()
363 event_id_to_attr_map_[r.data[i].event_id] = r.data[i].attr_id; in ProcessEventIdRecord()
Dcmd_merge.cpp306 for (size_t event_id : attrs[attr_id].ids) { in WriteGapInDataSection() local
307 if (auto it = cur_map.find(event_id); it == cur_map.end() || it->second != attr_id) { in WriteGapInDataSection()
309 event_id_data.push_back(event_id); in WriteGapInDataSection()
Drecord.cpp77 size_t SampleId::CreateContent(const perf_event_attr& attr, uint64_t event_id) { in CreateContent() argument
80 id_data.id = event_id; in CreateContent()
226 uint64_t event_id, uint64_t time) { in MmapRecord() argument
228 sample_id.CreateContent(attr, event_id); in MmapRecord()
272 const std::string& filename, uint64_t event_id, uint64_t time) { in Mmap2Record() argument
274 sample_id.CreateContent(attr, event_id); in Mmap2Record()
321 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument
326 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in CommRecord()
383 uint32_t ptid, uint64_t event_id) { in ForkRecord() argument
391 size_t sample_id_size = sample_id.CreateContent(attr, event_id); in ForkRecord()
[all …]
/system/bt/stack/test/
Dstack_avrcp_test.cc123 uint8_t event_id; in TEST_F() member
132 .event_id = 0, in TEST_F()
154 data.payload.event_id = id; in TEST_F()
/system/bt/btif/src/
Dbtif_rc.cc135 uint8_t event_id; member
309 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
1003 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
1008 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
1010 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
1011 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1342 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1344 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1347 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1349 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
[all …]
Dbtif_util.cc356 const char* dump_rc_notification_event_id(uint8_t event_id) { in dump_rc_notification_event_id() argument
357 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.cc227 int32_t event_id, int32_t type, in RegisterNotificationResponse() argument
234 static_cast<btrc_event_id_t>(event_id), in RegisterNotificationResponse()
343 void AvrcpTarget::RegisterNotificationCallback(btrc_event_id_t event_id, in RegisterNotificationCallback() argument
349 delegate_->OnRegisterNotification(str_addr, static_cast<int32_t>(event_id), in RegisterNotificationCallback()
/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/stack/avrc/
Davrc_pars_tg.cc77 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_ctrl_pars_vendor_cmd()
80 if (p_result->reg_notif.event_id == 0 || in avrc_ctrl_pars_vendor_cmd()
81 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()
326 p_result->reg_notif.event_id); in avrc_pars_vendor_cmd()
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()
598 BE_STREAM_TO_UINT8(p_result->get_caps.param.event_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
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/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/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.cc159 void RegisterNotificationCallback(btrc_event_id_t event_id, uint32_t param, in RegisterNotificationCallback() argument
165 observer.RegisterNotificationCallback(event_id, param, bd_addr); in RegisterNotificationCallback()
685 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.h1030 uint8_t event_id[AVRC_CAP_MAX_NUM_EVT_ID]; member
1182 uint8_t event_id; member
1421 uint8_t event_id; member

12