Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DAnalyst.java62 public long cumulativeProfit = 0; field in Analyst.Report
106 cumulativeProfit = 0; in clear()
255 report.cumulativeProfit += (-transaction.delta - transaction.ctp); in noteTransaction()
346 ? cakeToString(report.cumulativeProfit / report.cumulativeBatteryDischarge) in dump()
349 cakeToString(report.cumulativeProfit), in dump()
350 cakeToString(report.cumulativeProfit / report.numProfitableActions), in dump()
H A DScribe.java588 report.cumulativeProfit = parser.getAttributeLong(null, XML_ATTR_PR_PROFIT); in readReportFromXml()
790 out.attributeLong(null, XML_ATTR_PR_PROFIT, report.cumulativeProfit); in writeReport()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/tare/
H A DAnalystTest.java150 expected.cumulativeProfit += 50; in runTestTransactions()
206 report1.cumulativeProfit = 3; in testLoadReports()
223 report2.cumulativeProfit = 30; in testLoadReports()
246 assertEquals(expected.cumulativeProfit, actual.cumulativeProfit); in assertReportsEqual()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DScribeTest.java134 report1.cumulativeProfit = 3; in testWritingAnalystReportsToDisk()
156 report2.cumulativeProfit = 30; in testWritingAnalystReportsToDisk()
374 eReport.cumulativeProfit, aReport.cumulativeProfit); in assertReportListsEqual()