/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 122 ConfigMetricsReport report = GetReports(service.mProcessor, start + 3); in TEST() local 124 EXPECT_EQ(1, report.metrics_size()); in TEST() 125 EXPECT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST() 143 ConfigMetricsReport report = GetReports(service.mProcessor, start + 4); in TEST() local 144 EXPECT_EQ(1, report.metrics_size()); in TEST() 145 EXPECT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST() 163 ConfigMetricsReport report = GetReports(service.mProcessor, start + 4); in TEST() local 164 backfillStartEndTimestamp(&report); in TEST() 166 ASSERT_EQ(1, report.metrics_size()); in TEST() 167 ASSERT_EQ(1, report.metrics(0).count_metrics().data_size()); in TEST() [all …]
|
/frameworks/base/cmds/statsd/tests/guardrail/ |
D | StatsdStats_test.cpp | 42 StatsdStatsReport report; in TEST() local 43 bool good = report.ParseFromArray(&output[0], output.size()); in TEST() 45 EXPECT_EQ(1, report.config_stats_size()); in TEST() 46 const auto& configReport = report.config_stats(0); in TEST() 69 StatsdStatsReport report; in TEST() local 70 bool good = report.ParseFromArray(&output[0], output.size()); in TEST() 72 EXPECT_EQ(1, report.config_stats_size()); in TEST() 73 const auto& configReport = report.config_stats(0); in TEST() 89 StatsdStatsReport report; in TEST() local 90 bool good = report.ParseFromArray(&output[0], output.size()); in TEST() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | WorkDirectory.cpp | 129 static bool has_section(const ReportFileProto_Report& report, int section) { in has_section() argument 130 const size_t sectionCount = report.section_size(); in has_section() 132 if (report.section(i) == section) { in has_section() 200 ALOGD(" pkg=%s", envelope.report(i).pkg().c_str()); in log_envelope() 201 ALOGD(" cls=%s", envelope.report(i).cls().c_str()); in log_envelope() 202 ALOGD(" share_approved=%d", envelope.report(i).share_approved()); in log_envelope() 203 ALOGD(" privacy_policy=%d", envelope.report(i).privacy_policy()); in log_envelope() 204 ALOGD(" all_sections=%d", envelope.report(i).all_sections()); in log_envelope() 205 for (int j=0; j<envelope.report(i).section_size(); j++) { in log_envelope() 206 ALOGD(" section[%d]=%d", j, envelope.report(i).section(j)); in log_envelope() [all …]
|
D | Broadcaster.cpp | 200 const ReportFileProto_Report& report = envelope.report(reportIndex); in sendBroadcasts() local 202 if (report.privacy_policy() == PRIVACY_POLICY_AUTOMATIC || report.share_approved()) { in sendBroadcasts() 205 if (!was_ready_sent(file->getId(), report.pkg(), report.cls())) { in sendBroadcasts() 206 if (report.pkg() == DROPBOX_SENTINEL.getPackageName() in sendBroadcasts() 207 && report.cls() == DROPBOX_SENTINEL.getClassName()) { in sendBroadcasts() 209 get_args_from_report(&args, report); in sendBroadcasts() 215 reportReadyBroadcasts.insert(ReportId(file->getId(), report.pkg(), in sendBroadcasts() 216 report.cls())); in sendBroadcasts() 221 if (!was_approval_sent(file->getId(), report.pkg(), report.cls())) { in sendBroadcasts() 222 err = send_approval_broadcasts(file->getId(), report.pkg(), report.cls()); in sendBroadcasts() [all …]
|
D | report_file.proto | 26 * initiated the incident report. 31 * the report is complete. 37 * the report is complete. 42 * Privacy policy at which this report should be shared. 64 * Whether the user has approved this report to be shared with 71 * Metadata section recorded while the incident report 79 repeated Report report = 2; field 102 * Whether this report has been finished, and is now
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PulledStats.java | 47 ParcelFileDescriptor toParcelFileDescriptor(int report) in toParcelFileDescriptor() argument 50 switch(report) { in toParcelFileDescriptor() 58 writeToProto(report, proto); in toParcelFileDescriptor() 70 Slog.w(TAG, "Unknown pulled stats request: " + report); in toParcelFileDescriptor() 83 public void dump(int report, PrintWriter pw, NotificationManagerService.DumpFilter filter) { in dump() argument 84 switch(report) { in dump() 103 pw.println("Unknown pulled stats request: " + report); in dump() 109 void writeToProto(int report, ProtoOutputStream proto) { in writeToProto() argument 110 switch(report) { in writeToProto() 120 Slog.w(TAG, "Unknown pulled stats request: " + report); in writeToProto()
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerReportTest.java | 69 final PowerReport report = loadPowerReport(); in testModemApp() local 71 final List<AppPower> gmailList = report.findApp("com.google.android.gm"); in testModemApp() 81 final PowerReport report = loadPowerReport(); in testModemRemainder() local 83 final AppPower remainder = report.findApp(SpecialApp.REMAINDER); in testModemRemainder() 104 final PowerReport report = loadPowerReport(); in testAppTotal() local 106 final List<AppPower> gmailList = report.findApp("com.google.android.gm"); in testAppTotal() 114 final PowerReport report = loadPowerReport(); in testRemainderTotal() local 116 final AppPower remainder = report.findApp(SpecialApp.REMAINDER); in testRemainderTotal() 123 final PowerReport report = loadPowerReport(); in testTotal() local 125 Assert.assertEquals(TOTAL_MAH, report.getTotalPowerMah(), EPSILON); in testTotal()
|
D | BatteryStatsReaderTest.java | 39 final ActivityReport report = BatteryStatsReader.parse(loadCsvStream()); in testModemGlobal() local 41 final AppActivity global = report.findApp(SpecialApp.GLOBAL); in testModemGlobal() 53 final ActivityReport report = BatteryStatsReader.parse(loadCsvStream()); in testModemApp() local 55 final List<AppActivity> gmailList = report.findApp("com.google.android.gm"); in testModemApp() 67 final ActivityReport report = BatteryStatsReader.parse(loadCsvStream()); in testModemRemainder() local 69 final AppActivity remainder = report.findApp(SpecialApp.REMAINDER); in testModemRemainder()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | MsgHandling.h | 42 return getDiagnosticEngine().report(pID, DiagnosticEngine::Unreachable); in unreachable() 46 return getDiagnosticEngine().report(pID, DiagnosticEngine::Fatal); in fatal() 50 return getDiagnosticEngine().report(pID, DiagnosticEngine::Error); in error() 54 return getDiagnosticEngine().report(pID, DiagnosticEngine::Warning); in warning() 58 return getDiagnosticEngine().report(pID, DiagnosticEngine::Debug); in debug() 62 return getDiagnosticEngine().report(pID, DiagnosticEngine::Note); in note() 66 return getDiagnosticEngine().report(pID, DiagnosticEngine::Ignore); in ignore()
|
/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 160 void InputDriver::inputReportDefinitionAddCollection(input_report_definition_t* report, in inputReportDefinitionAddCollection() argument 162 report->collections[id] = {.arity = arity}; in inputReportDefinitionAddCollection() 165 void InputDriver::inputReportDefinitionDeclareUsageInt(input_report_definition_t* report, in inputReportDefinitionDeclareUsageInt() argument 168 if (report->collections.find(id) != report->collections.end()) { in inputReportDefinitionDeclareUsageInt() 169 report->collections[id].intUsages.push_back({ in inputReportDefinitionDeclareUsageInt() 174 void InputDriver::inputReportDefinitionDeclareUsagesBool(input_report_definition_t* report, in inputReportDefinitionDeclareUsagesBool() argument 176 if (report->collections.find(id) != report->collections.end()) { in inputReportDefinitionDeclareUsagesBool() 178 report->collections[id].boolUsages.push_back(usage[i]); in inputReportDefinitionDeclareUsagesBool() 207 void InputDriver::reportEvent(input_device_handle_t* d, input_report_t* report) { in reportEvent() argument 208 ALOGD("report_event %p for handle %p", report, d); in reportEvent() [all …]
|
D | InputDriver.h | 53 virtual void inputReportDefinitionAddCollection(input_report_definition_t* report, 55 virtual void inputReportDefinitionDeclareUsageInt(input_report_definition_t* report, 58 virtual void inputReportDefinitionDeclareUsagesBool(input_report_definition_t* report, 70 virtual void reportEvent(input_device_handle_t* d, input_report_t* report) = 0; 100 virtual void inputReportDefinitionAddCollection(input_report_definition_t* report, 102 virtual void inputReportDefinitionDeclareUsageInt(input_report_definition_t* report, 105 virtual void inputReportDefinitionDeclareUsagesBool(input_report_definition_t* report, 117 virtual void reportEvent(input_device_handle_t* d, input_report_t* report) override; 153 input_report_definition_t* report, input_collection_id_t id, int32_t arity); 156 input_report_definition_t* report, input_collection_id_t id, [all …]
|
/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.cpp | 169 void Device::sendReport(const std::vector<uint8_t>& report) const { in sendReport() 170 if (report.size() > UHID_DATA_MAX) { in sendReport() 171 LOGE("Received invalid report of size %zu, skipping", report.size()); in sendReport() 177 ev.u.input2.size = report.size(); in sendReport() 178 memcpy(&ev.u.input2.data, report.data(), report.size() * sizeof(ev.u.input2.data[0])); in sendReport() 185 void Device::sendGetFeatureReportReply(uint32_t id, const std::vector<uint8_t>& report) const { in sendGetFeatureReportReply() 189 ev.u.get_report_reply.err = report.size() == 0 ? EIO : 0; in sendGetFeatureReportReply() 190 ev.u.get_report_reply.size = report.size(); in sendGetFeatureReportReply() 191 memcpy(&ev.u.get_report_reply.data, report.data(), in sendGetFeatureReportReply() 192 report.size() * sizeof(ev.u.get_report_reply.data[0])); in sendGetFeatureReportReply() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/ |
D | UsbDescriptorsInterfaceNode.java | 19 import com.android.server.usb.descriptors.report.ReportCanvas; 60 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsInterfaceNode 61 mInterfaceDescriptor.report(canvas); in report() 68 node.report(canvas); in report() 78 node.report(canvas); in report()
|
D | UsbDescriptorsDeviceNode.java | 19 import com.android.server.usb.descriptors.report.ReportCanvas; 50 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsDeviceNode 51 mDeviceDescriptor.report(canvas); in report() 53 node.report(canvas); in report()
|
D | UsbDescriptorsConfigNode.java | 19 import com.android.server.usb.descriptors.report.ReportCanvas; 51 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsConfigNode 52 mConfigDescriptor.report(canvas); in report() 58 node.report(canvas); in report()
|
D | UsbDescriptorsTreeNode.java | 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.Reporting; 32 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsTreeNode
|
D | UsbDescriptorsEndpointNode.java | 19 import com.android.server.usb.descriptors.report.ReportCanvas; 39 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsEndpointNode 40 mEndpointDescriptor.report(canvas); in report()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | PowerReport.java | 86 final PowerReport report = new PowerReport(); in build() local 88 report.mApps = mApps.build(); in build() 90 for (AppPower app: report.mApps.getAllApps()) { in build() 91 report.mTotalPowerMah += app.getAppPowerMah(); in build() 94 return report; in build()
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Device.java | 58 byte[] report, SparseArray<byte[]> featureReports) { in Device() argument 74 args.arg3 = report; in Device() 79 public void sendReport(byte[] report) { in sendReport() argument 80 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report); in sendReport() 163 byte[] report = mFeatureReports.get(reportId); in onDeviceGetReport() 165 if (report == null) { in onDeviceGetReport() 170 msg = mHandler.obtainMessage(MSG_SEND_GET_FEATURE_REPORT_REPLY, requestId, 0, report); in onDeviceGetReport()
|
/frameworks/base/core/proto/android/app/ |
D | activitymanager.proto | 26 // report changes in process state, original value is 1 << 0 28 // report uid gone, original value is 1 << 1 30 // report uid has become idle, original value is 1 << 2 32 // report uid has become active, original value is 1 << 3 34 // report uid cached state has changed, original value is 1 << 4
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | Usb10ASGeneral.java | 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings; 63 public void report(ReportCanvas canvas) { in report() method in Usb10ASGeneral 64 super.report(canvas); in report()
|
D | UsbACTerminal.java | 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings; 61 public void report(ReportCanvas canvas) { in report() method in UsbACTerminal 62 super.report(canvas); in report()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 84 BenchmarkReporter::Run report; in outputBenchmarkReport() local 85 report.run_name.function_name = info.name; in outputBenchmarkReport() 86 report.iterations = static_cast<int64_t>(opts.count); in outputBenchmarkReport() 87 report.real_accumulated_time = durationInS; in outputBenchmarkReport() 88 report.cpu_accumulated_time = durationInS; in outputBenchmarkReport() 89 report.counters["items_per_second"] = opts.count / durationInS; in outputBenchmarkReport() 90 reports.push_back(report); in outputBenchmarkReport()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrors.java | 619 ActivityManager.ProcessErrorStateInfo report = new ActivityManager.ProcessErrorStateInfo(); 621 report.condition = condition; 622 report.processName = app.processName; 623 report.pid = app.pid; 624 report.uid = app.info.uid; 625 report.tag = activity; 626 report.shortMsg = shortMsg; 627 report.longMsg = longMsg; 628 report.stackTrace = stackTrace; 630 return report; [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagRelocations.inc | 25 "relocation type `%0' is not supported for symbol `%1'\nPlease report to " 27 "relocation type `%0' is not supported for symbol `%1'\nPlease report to " 35 "encounter unsupported relocation type `%0'\nPlease report to %1", 36 "encounter unsupported relocation type `%0'\nPlease report to %1") 70 "Please report to %1", 72 "Please report to %1")
|