Home
last modified time | relevance | path

Searched defs:batteryUsageStats (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryChargeCalculatorTest.java77 BatteryUsageStats batteryUsageStats = mStatsRule.apply(calculator); in testDischargeTotals() local
119 BatteryUsageStats batteryUsageStats = mStatsRule.apply(calculator); in testDischargeTotals_chargeUahUnavailable() local
DBatteryUsageStatsTest.java78 BatteryUsageStats batteryUsageStats = buildBatteryUsageStats1(true).build(); in testBuilder() local
84 BatteryUsageStats batteryUsageStats = buildBatteryUsageStats1(false).build(); in testBuilder_noProcessStateData() local
449 public void assertBatteryUsageStats1(BatteryUsageStats batteryUsageStats, in assertBatteryUsageStats1()
492 private void assertBatteryUsageStats(BatteryUsageStats batteryUsageStats, int consumedPower, in assertBatteryUsageStats()
639 private void assertAggregateBatteryConsumer(BatteryUsageStats batteryUsageStats, in assertAggregateBatteryConsumer()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java79 BatteryUsageStats batteryUsageStats = batteryUsageStatsList.get(0); in populateForUidBatteryConsumer() local
204 BatteryUsageStats batteryUsageStats = batteryUsageStatsList.get(0); in populateForAggregateBatteryConsumer() local
286 private BatteryConsumer getRequestedBatteryConsumer(BatteryUsageStats batteryUsageStats, in getRequestedBatteryConsumer()
321 private void computeTotalPower(BatteryUsageStats batteryUsageStats, in computeTotalPower()
332 BatteryUsageStats batteryUsageStats, double[] powerByComponentMah) { in computeTotalPowerForCustomComponent()
345 private void computeTotalDuration(BatteryUsageStats batteryUsageStats, in computeTotalDuration()
DBatteryConsumerInfoHelper.java44 public static BatteryConsumerInfo makeBatteryConsumerInfo( in makeBatteryConsumerInfo()
138 BatteryUsageStats batteryUsageStats) { in makeAggregateBatteryConsumerInfo()
DBatteryStatsViewerActivity.java171 List<BatteryUsageStats> batteryUsageStats) { in onLoadFinished()
180 private void onBatteryUsageStatsLoaded(List<BatteryUsageStats> batteryUsageStats) { in onBatteryUsageStatsLoaded()
DBatteryConsumerPickerActivity.java150 final BatteryUsageStats batteryUsageStats = in loadInBackground() local
/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/
DBatteryUsageStatsPerfTest.java69 BatteryUsageStats batteryUsageStats = batteryStatsManager.getBatteryUsageStats( in testGetBatteryUsageStats() local
119 final BatteryUsageStats batteryUsageStats = in testBatteryUsageStatsTransferOverBinder() local
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsSection.java31 BatteryUsageStatsSection(BatteryUsageStats batteryUsageStats) { in BatteryUsageStatsSection()
DPowerStatsStore.java222 BatteryUsageStats batteryUsageStats) { in storeBatteryUsageStats()
DBatteryUsageStatsProvider.java252 BatteryUsageStats batteryUsageStats = batteryUsageStatsBuilder.build(); in getCurrentBatteryUsageStats() local
DBatteryStatsImpl.java12088 final BatteryUsageStats batteryUsageStats; in saveBatteryUsageStatsOnReset() local
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetrics.java47 public PowerMetrics(BatteryUsageStats batteryUsageStats, int uid) { in PowerMetrics()
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java377 BatteryUsageStats batteryUsageStats = builder.build(); in testLargeAtomTruncated() local
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java2893 BatteryUsageStats batteryUsageStats = in dumpUsageStats() local