Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
Dcmd_dumprecord.cpp317 void DumpRecordCommand::ProcessSampleRecord(const SampleRecord& sr) { in ProcessSampleRecord() argument
318 bool in_kernel = sr.InKernel(); in ProcessSampleRecord()
319 if (sr.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()
321 for (size_t i = 0; i < sr.callchain_data.ip_nr; ++i) { in ProcessSampleRecord()
322 if (sr.callchain_data.ips[i] >= PERF_CONTEXT_MAX) { in ProcessSampleRecord()
323 if (sr.callchain_data.ips[i] == PERF_CONTEXT_USER) { in ProcessSampleRecord()
329 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
336 size_t attr_index = record_file_reader_->GetAttrIndexOfRecord(&sr); in ProcessSampleRecord()
338 if (event.tp_data_size > 0 && sr.raw_data.size >= event.tp_data_size) { in ProcessSampleRecord()
339 const char* p = sr.raw_data.data; in ProcessSampleRecord()
Dcmd_debug_unwind.cpp318 SampleRecord& sr = *static_cast<SampleRecord*>(r.get()); in JoinCallChains() local
319 if (!sr.HasUserCallChain()) { in JoinCallChains()
320 return writer_->WriteRecord(sr); in JoinCallChains()
331 if (!writer_->WriteRecord(CallChainRecord(pid, tid, type, sr.Timestamp(), ips, sps))) { in JoinCallChains()
335 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains()
336 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
337 sr.UpdateUserCallChain(ips); in JoinCallChains()
338 return writer_->WriteRecord(sr); in JoinCallChains()
DRecordReadThread_test.cpp95 auto sr = static_cast<SampleRecord*>(record.get()); in TEST() local
100 ASSERT_EQ(sr->stack_user_data.size, stack_size); in TEST()
106 ASSERT_EQ(sr->tid_data.pid, pid); in TEST()
327 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST_F() local
328 ASSERT_EQ(sr->stack_user_data.size, 8192u); in TEST_F()
329 ASSERT_EQ(sr->stack_user_data.dyn_size, 8192u); in TEST_F()
333 sr = static_cast<SampleRecord*>(r.get()); in TEST_F()
334 ASSERT_EQ(sr->stack_user_data.size, 4096u); in TEST_F()
335 ASSERT_EQ(sr->stack_user_data.dyn_size, 4096u); in TEST_F()
342 sr = static_cast<SampleRecord*>(r.get()); in TEST_F()
[all …]
Dcmd_record.cpp1614 SampleRecord& sr = *static_cast<SampleRecord*>(r.get()); in JoinCallChains() local
1615 if (!sr.HasUserCallChain()) { in JoinCallChains()
1616 return record_file_writer_->WriteRecord(sr); in JoinCallChains()
1627 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains()
1628 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
1629 sr.UpdateUserCallChain(ips); in JoinCallChains()
1630 return record_file_writer_->WriteRecord(sr); in JoinCallChains()
Dcmd_record_test.cpp755 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST() local
756 if (sr->stack_user_data.dyn_size == 0) { in TEST()
784 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST() local
785 if (sr->stack_user_data.dyn_size == 0) { in TEST()
/system/bt/stack/avdt/
Davdt_api.cc1148 UINT32_TO_BE_STREAM(p, p_data->sr.ntp_sec); in AVDT_SendReport()
1149 UINT32_TO_BE_STREAM(p, p_data->sr.ntp_frac); in AVDT_SendReport()
1150 UINT32_TO_BE_STREAM(p, p_data->sr.rtp_time); in AVDT_SendReport()
1151 UINT32_TO_BE_STREAM(p, p_data->sr.pkt_count); in AVDT_SendReport()
1152 UINT32_TO_BE_STREAM(p, p_data->sr.octet_count); in AVDT_SendReport()
Davdt_scb_act.cc341 BE_STREAM_TO_UINT32(report.sr.ntp_sec, p); in avdt_scb_hdl_report()
342 BE_STREAM_TO_UINT32(report.sr.ntp_frac, p); in avdt_scb_hdl_report()
343 BE_STREAM_TO_UINT32(report.sr.rtp_time, p); in avdt_scb_hdl_report()
344 BE_STREAM_TO_UINT32(report.sr.pkt_count, p); in avdt_scb_hdl_report()
345 BE_STREAM_TO_UINT32(report.sr.octet_count, p); in avdt_scb_hdl_report()
/system/bt/stack/include/
Davdt_api.h265 tAVDT_SENDER_INFO sr; member
/system/ca-certificates/files/
Ddc99f41e.012 4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GPt+sr+ehiGsxr/CL0BgzuNtFajT0
/system/timezone/input_data/android/
Dcountryzones.txt2967 isoCode:"sr"