Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/tare/
H A DAnalystTest.java151 expected.numProfitableActions += 1; in runTestTransactions()
207 report1.numProfitableActions = 4; in testLoadReports()
224 report2.numProfitableActions = 40; in testLoadReports()
247 assertEquals(expected.numProfitableActions, actual.numProfitableActions); in assertReportsEqual()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DAnalyst.java63 public int numProfitableActions = 0; field in Analyst.Report
107 numProfitableActions = 0; in clear()
256 report.numProfitableActions++; in noteTransaction()
344 if (report.numProfitableActions > 0) { in dump()
350 cakeToString(report.cumulativeProfit / report.numProfitableActions), in dump()
H A DScribe.java589 report.numProfitableActions = parser.getAttributeInt(null, XML_ATTR_PR_NUM_PROFIT); in readReportFromXml()
791 out.attributeInt(null, XML_ATTR_PR_NUM_PROFIT, report.numProfitableActions); in writeReport()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DScribeTest.java135 report1.numProfitableActions = 4; in testWritingAnalystReportsToDisk()
157 report2.numProfitableActions = 40; in testWritingAnalystReportsToDisk()
376 eReport.numProfitableActions, aReport.numProfitableActions); in assertReportListsEqual()