/frameworks/av/media/libaaudio/scripts/ |
D | measure_device_power.py | 144 def measureEnergyForDevice(deviceIndex, report): argument 154 report[tagEnergy[0]] = int(tagEnergy[1].strip()) 159 report = {} 160 d0 = measureEnergyForDevice(0, report) 161 d1 = measureEnergyForDevice(1, report) 163 return report 175 def divideReport(report, divisor): argument 176 return {key: val / divisor for key, val in list(report.items())} 194 def formatEnergyData(report): argument 197 if tag in list(report.keys()): [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | WorkDirectory.cpp | 132 static bool has_section(const ReportFileProto_Report& report, int section) { in has_section() argument 133 const size_t sectionCount = report.section_size(); in has_section() 135 if (report.section(i) == section) { in has_section() 203 ALOGD(" pkg=%s", envelope.report(i).pkg().c_str()); in log_envelope() 204 ALOGD(" cls=%s", envelope.report(i).cls().c_str()); in log_envelope() 205 ALOGD(" share_approved=%d", envelope.report(i).share_approved()); in log_envelope() 206 ALOGD(" privacy_policy=%d", envelope.report(i).privacy_policy()); in log_envelope() 207 ALOGD(" all_sections=%d", envelope.report(i).all_sections()); in log_envelope() 208 for (int j=0; j<envelope.report(i).section_size(); j++) { in log_envelope() 209 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 70 * Whether the report is gzipped. 76 * Metadata section recorded while the incident report 84 repeated Report report = 2; field 107 * 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/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 36 // report uid capability has changed, original value is 1 << 5 38 // report pid oom adj has changed, original value is 1 << 6
|
/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()
|
D | UsbDescriptorsACInterfaceNode.java | 19 import com.android.server.usb.descriptors.report.ReportCanvas; 39 public void report(ReportCanvas canvas) { in report() method in UsbDescriptorsACInterfaceNode 43 mACInterface.report(canvas); in report()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 84 benchmark::BenchmarkReporter::Run report; in outputBenchmarkReport() local 85 report.repetitions = opts.repeatCount; in outputBenchmarkReport() 86 report.repetition_index = repetationIndex; in outputBenchmarkReport() 87 report.run_name.function_name = info.name; in outputBenchmarkReport() 88 report.iterations = static_cast<int64_t>(opts.frameCount); in outputBenchmarkReport() 89 report.real_accumulated_time = durationInS; in outputBenchmarkReport() 90 report.cpu_accumulated_time = durationInS; in outputBenchmarkReport() 91 report.counters["FPS"] = opts.frameCount / durationInS; in outputBenchmarkReport() 95 report.counters["Rendering RAM"] = Counter{static_cast<double>(cpuUsage + gpuUsage), in outputBenchmarkReport() 98 reports->push_back(report); in outputBenchmarkReport()
|
/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()
|
D | UsbVCInputTerminal.java | 20 import com.android.server.usb.descriptors.report.ReportCanvas; 45 public void report(ReportCanvas canvas) { in report() method in UsbVCInputTerminal 47 super.report(canvas); in report()
|
D | UsbVCSelectorUnit.java | 20 import com.android.server.usb.descriptors.report.ReportCanvas; 46 public void report(ReportCanvas canvas) { in report() method in UsbVCSelectorUnit 47 super.report(canvas); in report()
|
D | UsbVCProcessingUnit.java | 20 import com.android.server.usb.descriptors.report.ReportCanvas; 46 public void report(ReportCanvas canvas) { in report() method in UsbVCProcessingUnit 47 super.report(canvas); in report()
|
D | UsbVCOutputTerminal.java | 20 import com.android.server.usb.descriptors.report.ReportCanvas; 45 public void report(ReportCanvas canvas) { in report() method in UsbVCOutputTerminal 46 super.report(canvas); in report()
|
D | UsbVCHeader.java | 20 import com.android.server.usb.descriptors.report.ReportCanvas; 46 public void report(ReportCanvas canvas) { in report() method in UsbVCHeader 47 super.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 | 98 byte[] report, in Device() argument 120 args.arg4 = report; in Device() 125 public void sendReport(byte[] report) { in sendReport() argument 126 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report); in sendReport() 131 public void setGetReportResponse(byte[] report) { in setGetReportResponse() argument 132 mFeatureReports.put(report[0], report); in setGetReportResponse() 246 byte[] report = mFeatureReports.get(reportId); in onDeviceGetReport() 248 if (report == null) { in onDeviceGetReport() 253 msg = mHandler.obtainMessage(MSG_SEND_GET_FEATURE_REPORT_REPLY, requestId, 0, report); in onDeviceGetReport()
|