/system/extras/simpleperf/ |
D | MapRecordReader.h | 36 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()
|
D | cmd_stat_test.cpp | 379 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()
|
D | record.h | 197 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
|
D | record_file_reader.cpp | 311 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()
|
D | cmd_merge.cpp | 306 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()
|
D | record.cpp | 77 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/ |
D | stack_avrcp_test.cc | 123 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/ |
D | btif_rc.cc | 135 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 …]
|
D | btif_util.cc | 356 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/ |
D | avrcp_target.h | 62 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,
|
D | avrcp_target.cc | 227 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/ |
D | btif_util.h | 59 const char* dump_rc_notification_event_id(uint8_t event_id);
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothAvrcpTargetCallback.aidl | 32 void OnRegisterNotification(String addr, int event_id, int param); in OnRegisterNotification() argument
|
D | IBluetoothAvrcpTarget.aidl | 53 int event_id, in RegisterNotificationResponse() argument
|
/system/bt/stack/avrc/ |
D | avrc_pars_tg.cc | 77 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()
|
D | avrc_bld_ct.cc | 96 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()
|
D | avrc_pars_ct.cc | 127 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()
|
D | avrc_bld_tg.cc | 91 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/ |
D | bluetooth_avrcp_target_binder_server.cc | 200 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()
|
D | bluetooth_avrcp_target_binder_server.h | 85 int32_t event_id, int32_t type, 109 void OnRegisterNotification(const std::string& addr, int32_t event_id,
|
/system/bt/btif/test/ |
D | btif_rc_test.cc | 89 const char* dump_rc_notification_event_id(uint8_t event_id) { return nullptr; } in dump_rc_notification_event_id() argument
|
/system/bt/service/hal/ |
D | bluetooth_avrcp_interface.h | 57 virtual void RegisterNotificationCallback(btrc_event_id_t event_id,
|
D | bluetooth_avrcp_interface.cc | 159 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/ |
D | bt_rc.h | 335 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/ |
D | avrc_defs.h | 1030 uint8_t event_id[AVRC_CAP_MAX_NUM_EVT_ID]; member 1182 uint8_t event_id; member 1421 uint8_t event_id; member
|