Home
last modified time | relevance | path

Searched refs:cumulativeLoss (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DAnalyst.java69 public long cumulativeLoss = 0; field in Analyst.Report
108 cumulativeLoss = 0; in clear()
258 report.cumulativeLoss += (transaction.ctp + transaction.delta); in noteTransaction()
358 ? cakeToString(report.cumulativeLoss / report.cumulativeBatteryDischarge) in dump()
361 cakeToString(report.cumulativeLoss), in dump()
362 cakeToString(report.cumulativeLoss / report.numUnprofitableActions), in dump()
H A DScribe.java590 report.cumulativeLoss = parser.getAttributeLong(null, XML_ATTR_PR_LOSS); in readReportFromXml()
792 out.attributeLong(null, XML_ATTR_PR_LOSS, report.cumulativeLoss); in writeReport()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/tare/
H A DAnalystTest.java158 expected.cumulativeLoss += 49; in runTestTransactions()
208 report1.cumulativeLoss = 5; in testLoadReports()
225 report2.cumulativeLoss = 50; in testLoadReports()
248 assertEquals(expected.cumulativeLoss, actual.cumulativeLoss); in assertReportsEqual()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DScribeTest.java136 report1.cumulativeLoss = 5; in testWritingAnalystReportsToDisk()
158 report2.cumulativeLoss = 50; in testWritingAnalystReportsToDisk()
378 eReport.cumulativeLoss, aReport.cumulativeLoss); in assertReportListsEqual()