Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 151) sorted by relevance

1234567

/system/extras/simpleperf/
Dcmd_merge_test.cpp70 std::string report = GetReport(input_file1); in TEST() local
71 ASSERT_NE(report.find("Samples: 27"), std::string::npos); in TEST()
72 ASSERT_NE(report.find("malloc"), std::string::npos); in TEST()
73 ASSERT_EQ(report.find("sleep_main"), std::string::npos); in TEST()
74 ASSERT_NE(report.find("toybox_main"), std::string::npos); in TEST()
76 report = GetReport(input_file2); in TEST()
77 ASSERT_NE(report.find("Samples: 31"), std::string::npos); in TEST()
78 ASSERT_EQ(report.find("malloc"), std::string::npos); in TEST()
79 ASSERT_NE(report.find("sleep_main"), std::string::npos); in TEST()
80 ASSERT_NE(report.find("toybox_main"), std::string::npos); in TEST()
[all …]
Dreport_utils.cpp394 ThreadReport report(thread.pid, thread.tid, thread.comm); in Build() local
395 ModifyReportToAggregateThreads(report); in Build()
396 return report; in Build()
399 void ThreadReportBuilder::ModifyReportToAggregateThreads(ThreadReport& report) { in ModifyReportToAggregateThreads() argument
404 const std::string thread_name = report.thread_name; in ModifyReportToAggregateThreads()
408 report = thread_regs_[it->second].report; in ModifyReportToAggregateThreads()
424 auto& aggregated_report = thread_regs_[index].report; in ModifyReportToAggregateThreads()
429 ThreadReport(report.pid, report.tid, thread_regs_[index].re->GetPattern().c_str()); in ModifyReportToAggregateThreads()
431 report = aggregated_report; in ModifyReportToAggregateThreads()
/system/dmesgd/
Ddmesg_parser_test.cpp41 std::string report; in CheckReport() local
43 report += line; in CheckReport()
45 EXPECT_EQ(report, parsed_report); in CheckReport()
46 return report == parsed_report; in CheckReport()
60 std::vector<std::string> report = { in TEST_F() local
68 ASSERT_TRUE(CheckReport(report)); in TEST_F()
96 std::vector<std::string> report = { in TEST_F() local
107 ASSERT_TRUE(CheckReport(report)); in TEST_F()
122 std::vector<std::string> report = { in TEST_F() local
131 ASSERT_TRUE(CheckReport(report)); in TEST_F()
[all …]
/system/core/debuggerd/libdebuggerd/
Dscudo.cpp88 void ScudoCrashData::FillInCause(Cause* cause, const scudo_error_report* report, in FillInCause() argument
94 switch (report->error_type) { in FillInCause()
109 heap_object->set_address(report->allocation_address); in FillInCause()
110 heap_object->set_size(report->allocation_size); in FillInCause()
112 heap_object->set_allocation_tid(report->allocation_tid); in FillInCause()
113 for (size_t i = 0; i < arraysize(report->allocation_trace) && report->allocation_trace[i]; ++i) { in FillInCause()
114 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(report->allocation_trace[i]); in FillInCause()
119 heap_object->set_deallocation_tid(report->deallocation_tid); in FillInCause()
120 for (size_t i = 0; i < arraysize(report->deallocation_trace) && report->deallocation_trace[i]; in FillInCause()
123 unwinder->BuildFrameFromPcOnly(report->deallocation_trace[i]); in FillInCause()
/system/extras/perf2cfg/perf2cfg/
Danalyze.py143 self.report: simpleperf_report_lib.ReportLib
153 self.report = simpleperf_report_lib.ReportLib()
154 self.report.SetRecordFile(filename)
156 arch = self.report.GetArch()
163 self.report.Close()
167 event = self.report.GetEventOfCurrentSample()
171 symbol = self.report.GetSymbolOfCurrentSample()
176 self.report.Close()
186 sample = self.report.GetNextSample()
188 symbol = self.report.GetSymbolOfCurrentSample()
[all …]
/system/update_engine/scripts/update_payload/
Dchecker.py189 def __init__(self, title, report): argument
192 self.report = report
197 report_lines.extend(self.report.GenerateLines(base_indent + sub_indent,
218 self.report = []
234 for node in self.report:
268 self.report.append(self.FieldNode(name, value, linebreak, indent))
274 self.report.append(sub_report)
275 return sub_report.report
281 self.report.append(self.last_section)
341 def _CheckElem(msg, name, report, is_mandatory, is_submsg, convert=str, argument
[all …]
/system/extras/simpleperf/scripts/test/
Dinferno_test.py48 report = self.get_report(['--record_file', testdata_file,
50 self.assertIn('Thread 6525 (com.google.samples.apps.sunflower) (42 samples)', report)
54 report = self.get_report(
60 for m in re.finditer(pattern, report):
89 report = self.get_report(options)
90 self.assertNotIn(art_frame_str, report)
91 report = self.get_report(options + ['--show-art-frames'])
92 self.assertIn(art_frame_str, report)
Dstackcollapse_test.py32 report = self.run_cmd(args, return_output=True)
33 return report.replace('\r', '')
72 report = self.get_report('perf_display_bitmaps.data', ['--tid'] + filter.split())
75 for m in re.finditer(pattern, report):
102 report = self.get_report('perf_with_interpreter_frames.data')
103 self.assertNotIn(art_frame_str, report)
104 report = self.get_report('perf_with_interpreter_frames.data', ['--show-art-frames'])
105 self.assertIn(art_frame_str, report)
Dreport_sample_test.py31 report = self.run_cmd(args, return_output=True)
32 return report.replace('\r', '')
99 report = self.get_record_data_string('perf_display_bitmaps.data', filter.split())
102 for m in re.finditer(pattern, report):
131 report = self.get_record_data_string('perf_with_interpreter_frames.data')
132 self.assertNotIn(art_frame_str, report)
133 report = self.get_record_data_string(
135 self.assertIn(art_frame_str, report)
Dpurgatorio_test.py49 report = self.get_report(options)
50 self.assertIn(art_frame_str, report)
51 report = self.get_report(options + ['--no-show-art-frames'])
52 self.assertNotIn(art_frame_str, report)
Dgecko_profile_generator_test.py68 report = self.run_generator('perf_display_bitmaps.data',
72 for m in re.finditer(pattern, report):
101 report = self.run_generator('perf_with_interpreter_frames.data')
102 self.assertNotIn(art_frame_str, report)
103 report = self.run_generator('perf_with_interpreter_frames.data', ['--show-art-frames'])
104 self.assertIn(art_frame_str, report)
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc472 const auto& report = result->report(); in ReportMergeStats() local
474 if (report.state() == UpdateState::None || in ReportMergeStats()
475 report.state() == UpdateState::Initiated || in ReportMergeStats()
476 report.state() == UpdateState::Unverified) { in ReportMergeStats()
478 << android::snapshot::UpdateState_Name(report.state()); in ReportMergeStats()
494 bool vab_compression_used = report.compression_enabled(); in ReportMergeStats()
499 bool userspace_snapshots_used = report.userspace_snapshots_used(); in ReportMergeStats()
503 bool xor_compression_used = report.xor_compression_used(); in ReportMergeStats()
504 bool iouring_used = report.iouring_used(); in ReportMergeStats()
510 << android::snapshot::UpdateState_Name(report.state()) << " in " in ReportMergeStats()
[all …]
/system/extras/profcollectd/libprofcollectd/
Dreport.rs43 report: &Path, in pack_report()
47 let mut report = PathBuf::from(report); in pack_report() localVariable
49 report.push(&report_filename); in pack_report()
50 report.set_extension("zip"); in pack_report()
53 fs::remove_file(&report).ok(); in pack_report()
55 let report_file = fs::OpenOptions::new().create_new(true).write(true).open(&report)?; in pack_report()
59 fs::set_permissions(&report, Permissions::from_mode(0o644))?; in pack_report()
Dservice.rs33 use crate::report::{get_report_ts, pack_report};
82 fn report(&self, usage_setting: i32) -> BinderResult<String> { in report() method
139 for report in read_dir(*REPORT_OUTPUT_DIR)? { in new()
140 let report = report?.path(); in new() localVariable
141 let report_name = report in new()
144 .ok_or_else(|| anyhow!("Malformed path {}", report.display()))?; in new()
152 remove_file(report)?; in new()
158 remove_file(report)?; in new()
Dlib.rs20 mod report; module
116 pub fn report() -> Result<String> { in report() function
117 Ok(get_profcollectd_service()?.report(report::NO_USAGE_SETTING)?) in report()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dfilter_extension.cc165 for (const auto &report : reports) { in Encode() local
167 filter_result.report[idx]; in Encode()
169 report_proto.timestamp = report.timestamp; in Encode()
171 report_proto.event_type_and_data_status = report.eventTypeAndDataStatus; in Encode()
174 report_proto.address[i] = report.address[i]; in Encode()
177 report_proto.tx_power = report.txPower; in Encode()
179 report_proto.rssi = report.rssi; in Encode()
181 report_proto.data_length = report.dataLength; in Encode()
182 if (report.dataLength > 0) { in Encode()
185 for (size_t i = 0; i < report.dataLength; i++) { in Encode()
[all …]
Dfilter.cc78 const chreBleAdvertisingReport &report, in MatchBle() argument
87 auto record = BleScanRecord::Parse(report.data, report.dataLength); in MatchBle()
107 result.tx_power = static_cast<int32_t>(report.txPower); in MatchBle()
109 result.rssi = static_cast<int32_t>(report.rssi); in MatchBle()
113 memcpy(result.bluetooth_address, report.address, std::size(report.address)); in MatchBle()
Dnearby_extension.c87 const struct chreBleAdvertisingReport *report) { in chrexNearbyMatchExtendedFilter() argument
90 report->dataLength == 0) { in chrexNearbyMatchExtendedFilter()
93 if (report->dataLength < EXT_ADV_DATA_LEN) { in chrexNearbyMatchExtendedFilter()
94 LOGD("data length %d is less than expected", report->dataLength); in chrexNearbyMatchExtendedFilter()
97 uint8_t extData = report->data[EXT_ADV_DATA_FILTER_INDEX]; in chrexNearbyMatchExtendedFilter()
98 int8_t deliveryMode = (int8_t)(report->data[EXT_ADV_DELIVERY_MODE_INDEX]); in chrexNearbyMatchExtendedFilter()
Dadv_report_cache.cc29 for (const auto &report : cache_reports_) { in Clear() local
30 if (report.dataLength == 0) { in Clear()
33 chreHeapFree(const_cast<uint8_t *>(report.data)); in Clear()
Dnearby_extension_support_lib.cc54 const struct chreBleAdvertisingReport *report) { in chrexNearbyMatchExtendedFilter() argument
57 ? fptr(host_info, report) in chrexNearbyMatchExtendedFilter()
/system/chre/platform/linux/
Dpal_ble.cc62 auto report = chre::MakeUniqueZeroFill<struct chreBleAdvertisingReport>(); in sendAdReportEvents() local
67 report->timestamp = chreGetTime(); in sendAdReportEvents()
68 report->data = data; in sendAdReportEvents()
69 report->dataLength = 2; in sendAdReportEvents()
70 event->reports = report.release(); in sendAdReportEvents()
120 auto report = const_cast<chreBleAdvertisingReport *>(&(event->reports[i])); in chrePalBleReleaseAdvertisingEvent() local
121 chre::memoryFree(const_cast<uint8_t *>(report->data)); in chrePalBleReleaseAdvertisingEvent()
/system/extras/simpleperf/doc/
Ddebug_dwarf_unwinding.md32 # Generate a text report containing failed unwinding cases.
33 $ simpleperf debug-unwind --generate-report -o report.txt
35 # Pull report.txt on host and show it using debug_unwind_reporter.py.
37 $ debug_unwind_reporter.py -i report.txt --summary
39 $ debug_unwind_reporter.py -i report.txt --summary --include-end-symbol SocketInputStream_socketRea…
41 $ debug_unwind_reporter.py -i report.txt --include-end-symbol SocketInputStream_socketRead0
73 # Then pull perf_unwind.data and report it.
76 # We can also add source code annotation in report.html.
/system/chre/apps/test/chqts/src/general_test/
Dbasic_ble_test.cc122 const struct chreBleAdvertisingReport &report = event->reports[i]; in handleAdvertisementEvent() local
123 if (report.advertisingSid != CHRE_BLE_ADI_NONE && in handleAdvertisementEvent()
124 report.advertisingSid > kMaxReportAdvertisingSid) { in handleAdvertisementEvent()
127 } else if (report.reserved != kGoodReservedValue) { in handleAdvertisementEvent()
/system/core/storaged/include/
Dstoraged_info.h76 virtual void report() {}; in report() function
95 virtual void report();
103 virtual void report();
117 virtual void report();
/system/core/fs_mgr/
Dfs_mgr_vendor_overlay.cpp92 auto report = "__mount(source=overlay,target="s + vendor_mount_point + ",type=overlay," + in fs_mgr_vendor_overlay_mount() local
97 PERROR << report << ret; in fs_mgr_vendor_overlay_mount()
100 LINFO << report << ret; in fs_mgr_vendor_overlay_mount()

1234567