Lines Matching refs:dumpStats
211 std::ostringstream dumpStats; in DumpResidencyDataToFd() local
216 dumpStats << RESIDENCY_HEADER; in DumpResidencyDataToFd()
217 dumpStats << android::base::StringPrintf(headerFormat, "Entity", "State", "Total time", in DumpResidencyDataToFd()
222 dumpStats << android::base::StringPrintf( in DumpResidencyDataToFd()
231 dumpStats << RESIDENCY_FOOTER; in DumpResidencyDataToFd()
233 return android::base::WriteStringToFd(dumpStats.str(), fd); in DumpResidencyDataToFd()
241 std::ostringstream dumpStats; in DumpResidencyDataDiffToFd() local
250 dumpStats << RESIDENCY_HEADER; in DumpResidencyDataDiffToFd()
251 dumpStats << "Elapsed time: " in DumpResidencyDataDiffToFd()
254 dumpStats << android::base::StringPrintf(headerFormat, "Entity", "State", "Total time", in DumpResidencyDataDiffToFd()
298 dumpStats << android::base::StringPrintf( in DumpResidencyDataDiffToFd()
310 dumpStats << android::base::StringPrintf( in DumpResidencyDataDiffToFd()
318 dumpStats << RESIDENCY_FOOTER; in DumpResidencyDataDiffToFd()
320 return android::base::WriteStringToFd(dumpStats.str(), fd); in DumpResidencyDataDiffToFd()
400 std::ostringstream dumpStats; in DumpEnergyDataToFd() local
404 dumpStats << ENERGYDATA_HEADER; in DumpEnergyDataToFd()
405 dumpStats << android::base::StringPrintf(headerFormat, "Subsys", "Rail", "Cumulative Energy"); in DumpEnergyDataToFd()
408 dumpStats << android::base::StringPrintf(dataFormat, railNames.at(data.index).first.c_str(), in DumpEnergyDataToFd()
413 dumpStats << ENERGYDATA_FOOTER; in DumpEnergyDataToFd()
415 return android::base::WriteStringToFd(dumpStats.str(), fd); in DumpEnergyDataToFd()
422 std::ostringstream dumpStats; in DumpEnergyDataDiffToFd() local
427 dumpStats << ENERGYDATA_HEADER; in DumpEnergyDataDiffToFd()
428 dumpStats << "Elapsed time: " in DumpEnergyDataDiffToFd()
431 dumpStats << android::base::StringPrintf(headerFormat, "Subsys", "Rail", "Cumulative Energy", in DumpEnergyDataDiffToFd()
448 dumpStats << android::base::StringPrintf(dataFormatWithDelta, subsysName, railName, in DumpEnergyDataDiffToFd()
452 dumpStats << android::base::StringPrintf(dataFormatWithoutDelta, subsysName, railName, in DumpEnergyDataDiffToFd()
457 dumpStats << ENERGYDATA_FOOTER; in DumpEnergyDataDiffToFd()
459 return android::base::WriteStringToFd(dumpStats.str(), fd); in DumpEnergyDataDiffToFd()