Home
last modified time | relevance | path

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

12345

/system/core/debuggerd/libdebuggerd/
Dscudo.cpp82 void ScudoCrashData::FillInCause(Cause* cause, const scudo_error_report* report, in FillInCause() argument
88 switch (report->error_type) { in FillInCause()
103 heap_object->set_address(report->allocation_address); in FillInCause()
104 heap_object->set_size(report->allocation_size); in FillInCause()
107 heap_object->set_allocation_tid(report->allocation_tid); in FillInCause()
108 for (size_t i = 0; i < arraysize(report->allocation_trace) && report->allocation_trace[i]; ++i) { in FillInCause()
109 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(report->allocation_trace[i]); in FillInCause()
114 heap_object->set_deallocation_tid(report->deallocation_tid); in FillInCause()
115 for (size_t i = 0; i < arraysize(report->deallocation_trace) && report->deallocation_trace[i]; in FillInCause()
118 unwinder->BuildFrameFromPcOnly(report->deallocation_trace[i]); in FillInCause()
[all …]
/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 …]
/system/extras/profcollectd/libprofcollectd/
Dservice.rs34 use crate::report::{get_report_ts, pack_report};
83 fn report(&self) -> BinderResult<String> { in report() method
94 let mut report = PathBuf::from(&*REPORT_OUTPUT_DIR); in delete_report() localVariable
95 report.push(report_name); in delete_report()
96 report.set_extension("zip"); in delete_report()
97 remove_file(&report).ok(); in delete_report()
106 let mut report = PathBuf::from(&*REPORT_OUTPUT_DIR); in copy_report_to_bb() localVariable
107 report.push(report_name); in copy_report_to_bb()
108 report.set_extension("zip"); in copy_report_to_bb()
119 copy(report, dest) in copy_report_to_bb()
[all …]
Dreport.rs39 pub fn pack_report(profile: &Path, report: &Path, config: &Config) -> Result<String> { in pack_report()
40 let mut report = PathBuf::from(report); in pack_report() localVariable
42 report.push(&report_filename); in pack_report()
43 report.set_extension("zip"); in pack_report()
46 fs::remove_file(&report).ok(); in pack_report()
48 let report_file = fs::OpenOptions::new().create_new(true).write(true).open(&report)?; in pack_report()
52 fs::set_permissions(&report, Permissions::from_mode(0o644))?; in pack_report()
Dlib.rs20 mod report; module
87 pub fn report() -> Result<String> { in report() function
88 Ok(get_profcollectd_service()?.report()?) in report()
/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 …]
Dchecker_unittest.py215 report = mock.create_autospec(checker._PayloadReport)
218 self.addPostCheckForMockFunction(report.AddSubReport, name)
219 report.AddSubReport.return_value = subreport
221 self.addPostCheckForMockFunction(report.AddField, name, convert(val),
224 return (msg, report, subreport, name, val)
238 msg, report, subreport, name, val = self.SetupAddElemTest(
241 args = (msg, name, report, is_mandatory, is_submsg)
264 msg, report, _, name, val = self.SetupAddElemTest(
268 args = [msg, name, report]
290 msg, report, subreport, name, val = self.SetupAddElemTest(is_present, True)
[all …]
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc464 const auto& report = result->report(); in ReportMergeStats() local
466 if (report.state() == UpdateState::None || in ReportMergeStats()
467 report.state() == UpdateState::Initiated || in ReportMergeStats()
468 report.state() == UpdateState::Unverified) { in ReportMergeStats()
470 << android::snapshot::UpdateState_Name(report.state()); in ReportMergeStats()
486 bool vab_compression_used = report.compression_enabled(); in ReportMergeStats()
492 << android::snapshot::UpdateState_Name(report.state()) << " in " in ReportMergeStats()
493 << passed_ms.count() << "ms (resumed " << report.resume_count() in ReportMergeStats()
494 << " times), using " << report.cow_file_size() in ReportMergeStats()
497 static_cast<int32_t>(report.state()), in ReportMergeStats()
[all …]
/system/extras/profcollectd/binder/com/android/server/profcollect/
DIProfCollectd.aidl25 @utf8InCpp String report(); in report() method
26 void copy_report_to_bb(int bb_profile_id, @utf8InCpp String report); in copy_report_to_bb() argument
27 void delete_report(@utf8InCpp String report); in delete_report() argument
/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/bt/gd/hci/
Dle_scanning_manager_test.cc384 LeAdvertisingReport report{}; in TEST_F() local
385 report.event_type_ = AdvertisingEventType::ADV_DIRECT_IND; in TEST_F()
386 report.address_type_ = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST_F()
387 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
396 report.advertising_data_ = gap_data; in TEST_F()
400 test_hci_layer_->IncomingLeMetaEvent(LeAdvertisingReportBuilder::Create({report})); in TEST_F()
411 LeAdvertisingReport report{}; in TEST_F() local
412 report.event_type_ = AdvertisingEventType::ADV_DIRECT_IND; in TEST_F()
413 report.address_type_ = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST_F()
414 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
[all …]
Dle_scanning_manager.cc310 for (LeAdvertisingReport report : reports) { in handle_advertising_report() local
312 switch (report.event_type_) { in handle_advertising_report()
332 LOG_WARN("Unsupported event type:%d", (uint16_t)report.event_type_); in handle_advertising_report()
337 for (auto gap_data : report.advertising_data_) { in handle_advertising_report()
345 (uint8_t)report.address_type_, in handle_advertising_report()
346 report.address_, in handle_advertising_report()
351 report.rssi_, in handle_advertising_report()
383 for (LeExtendedAdvertisingReport report : reports) { in handle_extended_advertising_report() local
384 uint16_t event_type = report.connectable_ | (report.scannable_ << kScannableBit) | in handle_extended_advertising_report()
385 … (report.directed_ << kDirectedBit) | (report.scan_response_ << kScanResponseBit) | in handle_extended_advertising_report()
[all …]
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dscudo.h44 void DumpReport(const scudo_error_report* report, log_t* log,
47 void FillInCause(Cause* cause, const scudo_error_report* report,
/system/core/fs_mgr/
Dfs_mgr_vendor_overlay.cpp93 auto report = "__mount(source=overlay,target="s + vendor_mount_point + ",type=overlay," + in fs_mgr_vendor_overlay_mount() local
98 PERROR << report << ret; in fs_mgr_vendor_overlay_mount()
101 LINFO << report << ret; in fs_mgr_vendor_overlay_mount()
/system/bt/service/doc/
DIBluetoothLowEnergyCallback.txt23 * Called to report the result of a call to
36 /* Called to report current MTU value. Can be a result of calling
42 * Called to report BLE device scan results once a scan session is started for
49 * Called to report the result of a call to
/system/extras/simpleperf/doc/
Dandroid_application_profiling.md17 - [Record and report profiling data](#record-and-report-profiling-data)
18 - [Record and report call graph](#record-and-report-call-graph)
19 - [Report in html interface](#report-in-html-interface)
21 - [Report in Android Studio](#report-in-android-studio)
137 ## Record and report profiling data
160 $ python report.py
173 [report.py](scripts_reference.md#reportpy) reports profiling data in stdio interface. If there
174 are a lot of unknown symbols in the report, check [here](README.md#how-to-solve-missing-symbols-in-
185 [report_html.py](scripts_reference.md#report_htmlpy) generates report in report.html, and pops up
188 ## Record and report call graph
[all …]
Dscripts_reference.md13 - [report.py](#reportpy)
107 binary_cache directory is used by report scripts to read symbols of binaries. It is also used by
132 ## report.py
134 report.py is a wrapper of the report command on the host. It accepts all options of the report
139 $ python report.py -g
142 $ python report.py -g --gui
147 report_html.py generates report.html based on the profiling data. Then the report.html can show
150 report.html can include: chart statistics, sample table, flamegraphs, annotated source code for
179 After opening the generated [report.html](./report_html.html) in a browser, there are several tabs:
223 # Show report in pdf format.
[all …]
Dexecutable_commands_reference.md26 - [The report command](#the-report-command)
31 - [Report call graphs](#report-call-graphs)
44 Simpleperf has three main commands: stat, record and report.
60 The report command reads perf.data and any shared libraries used by the profiled processes,
61 and outputs a report showing where the time was spent.
74 The report command: reports profiling data in perf.data.
75 The report-sample command: reports each sample in perf.data, used for supporting integration of
91 Below describes the most frequently used commands, which are list, stat, record and report.
455 report it.
490 with other events or multiple events doesn't make much sense and makes the report confusing.
[all …]
/system/bt/btif/src/
Dbtif_hd.cc539 tBTA_HD_REPORT report; in send_report() local
555 report.type = BTHD_REPORT_TYPE_INPUT; in send_report()
556 report.use_intr = TRUE; in send_report()
558 report.type = (type & 0x03); in send_report()
559 report.use_intr = FALSE; in send_report()
562 report.id = id; in send_report()
563 report.len = len; in send_report()
564 report.p_data = p_data; in send_report()
566 BTA_HdSendReport(&report); in send_report()
/system/netd/server/
DWakeupController.h56 WakeupController(ReportFn report, IptablesRestoreInterface* iptables) in WakeupController() argument
57 : mReport(report), mIptables(iptables) {} in WakeupController()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_stats.cpp150 SnapshotMergeStatsResultImpl(const SnapshotMergeReport& report, in SnapshotMergeStatsResultImpl() argument
152 : report_(report), merge_time_(merge_time) {} in SnapshotMergeStatsResultImpl()
153 const SnapshotMergeReport& report() const override { return report_; } in report() function in android::snapshot::SnapshotMergeStatsResultImpl
/system/bt/btif/include/
Dbtif_hh.h132 uint8_t* report);
134 uint8_t* report);
/system/bt/binder/android/bluetooth/
DIBluetoothHidHost.aidl52 …boolean setReport(in BluetoothDevice device, byte reportType, String report, in AttributionSource … in setReport() argument
54 …boolean sendData(in BluetoothDevice device, String report, in AttributionSource attributionSource); in sendData() argument
/system/update_engine/scripts/
Dpaycheck.py148 args.check = (args.check or args.report or args.assert_type or
216 if args.report:
217 if args.report == '-':
220 report_file = open(args.report, 'w')

12345