Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DAnalyst.java74 public long cumulativeRewards = 0; field in Analyst.Report
110 cumulativeRewards = 0; in clear()
273 report.cumulativeRewards += transaction.delta; in noteTransaction()
370 ? cakeToString(report.cumulativeRewards / report.cumulativeBatteryDischarge) in dump()
373 cakeToString(report.cumulativeRewards), in dump()
374 cakeToString(report.cumulativeRewards / report.numRewards), in dump()
H A DScribe.java592 report.cumulativeRewards = parser.getAttributeLong(null, XML_ATTR_PR_REWARDS); in readReportFromXml()
794 out.attributeLong(null, XML_ATTR_PR_REWARDS, report.cumulativeRewards); in writeReport()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/tare/
H A DAnalystTest.java166 expected.cumulativeRewards += 51; in runTestTransactions()
210 report1.cumulativeRewards = 7; in testLoadReports()
227 report2.cumulativeRewards = 70; in testLoadReports()
250 assertEquals(expected.cumulativeRewards, actual.cumulativeRewards); in assertReportsEqual()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DScribeTest.java138 report1.cumulativeRewards = 7; in testWritingAnalystReportsToDisk()
160 report2.cumulativeRewards = 70; in testWritingAnalystReportsToDisk()
382 eReport.cumulativeRewards, aReport.cumulativeRewards); in assertReportListsEqual()