Home
last modified time | relevance | path

Searched refs:AggregatedPowerStats (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAggregatedPowerStatsTest.java74 AggregatedPowerStats stats = prepareAggregatePowerStats(); in aggregation()
81 AggregatedPowerStats stats = prepareAggregatePowerStats(); in xmlPersistence()
91 AggregatedPowerStats actualStats = AggregatedPowerStats.createFromXml(parser, in xmlPersistence()
97 private AggregatedPowerStats prepareAggregatePowerStats() { in prepareAggregatePowerStats()
98 AggregatedPowerStats stats = new AggregatedPowerStats(mAggregatedPowerStatsConfig); in prepareAggregatePowerStats()
143 private void verifyAggregatedPowerStats(AggregatedPowerStats stats) { in verifyAggregatedPowerStats()
230 private static long[] getDeviceStats(AggregatedPowerStats stats, int... states) { in getDeviceStats()
238 private static long[] getStateStats(AggregatedPowerStats stats, int key, int... states) { in getStateStats()
246 private static long[] getUidDeviceStats(AggregatedPowerStats stats, int uid, int... states) { in getUidDeviceStats()
DPowerStatsSchedulerTest.java116 Consumer<AggregatedPowerStats> consumer = invocation.getArgument(2); in storeAggregatePowerStats()
134 Consumer<AggregatedPowerStats> consumer = invocation.getArgument(2); in storeAggregatePowerStats()
177 private AggregatedPowerStats createAggregatedPowerStats(long monotonicTime, long currentTime, in createAggregatedPowerStats()
179 AggregatedPowerStats stats = new AggregatedPowerStats(mAggregatedPowerStatsConfig); in createAggregatedPowerStats()
DPowerStatsAggregatorTest.java126 List<AggregatedPowerStats.ClockUpdate> clockUpdates = stats.getClockUpdates(); in stateUpdates()
129 AggregatedPowerStats.ClockUpdate clockUpdate0 = clockUpdates.get(0); in stateUpdates()
133 AggregatedPowerStats.ClockUpdate clockUpdate1 = clockUpdates.get(1); in stateUpdates()
DPhoneCallPowerStatsProcessorTest.java174 AggregatedPowerStats aggregatedPowerStats = in copyEstimatesFromMobileRadioPowerStats()
175 new AggregatedPowerStats(aggregatedPowerStatsConfig); in copyEstimatesFromMobileRadioPowerStats()
DBinaryStatePowerStatsProcessorTest.java271 AggregatedPowerStats aggregatedPowerStats = new AggregatedPowerStats(config); in createAggregatedPowerStats()
DMobileRadioPowerStatsProcessorTest.java187 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in powerProfileModel()
426 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in prepareAggregatedStats_energyConsumerModel()
DCpuPowerStatsProcessorTest.java211 super(new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in MockPowerComponentAggregatedPowerStats()
DBluetoothPowerStatsProcessorTest.java479 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in createAggregatedPowerStats()
DWifiPowerStatsProcessorTest.java532 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in createAggregatedPowerStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsSection.java28 private final AggregatedPowerStats mAggregatedPowerStats;
30 AggregatedPowerStatsSection(AggregatedPowerStats aggregatedPowerStats) { in AggregatedPowerStatsSection()
35 public AggregatedPowerStats getAggregatedPowerStats() { in getAggregatedPowerStats()
DPowerStatsAggregator.java36 private AggregatedPowerStats mStats;
68 Consumer<AggregatedPowerStats> consumer) { in aggregatePowerStats()
71 mStats = new AggregatedPowerStats(mAggregatedPowerStatsConfig); in aggregatePowerStats()
162 private void start(AggregatedPowerStats stats, long timestampMs) { in start()
172 private void finish(AggregatedPowerStats stats, long timestampMs) { in finish()
DAggregatedPowerStats.java51 class AggregatedPowerStats { class
68 AggregatedPowerStats(AggregatedPowerStatsConfig aggregatedPowerStatsConfig) { in AggregatedPowerStats() method in AggregatedPowerStats
188 public static AggregatedPowerStats createFromXml( in createFromXml()
191 AggregatedPowerStats stats = new AggregatedPowerStats(aggregatedPowerStatsConfig); in createFromXml()
DPowerStatsStore.java182 void storeAggregatedPowerStats(AggregatedPowerStats stats) { in storeAggregatedPowerStats()
190 static PowerStatsSpan createPowerStatsSpan(AggregatedPowerStats stats) { in createPowerStatsSpan()
191 List<AggregatedPowerStats.ClockUpdate> clockUpdates = stats.getClockUpdates(); in createPowerStatsSpan()
201 AggregatedPowerStats.ClockUpdate clockUpdate = clockUpdates.get(i); in createPowerStatsSpan()
361 AggregatedPowerStats.createFromXml(parser, in read()
DPowerStatsExporter.java117 BatteryUsageStats.Builder batteryUsageStatsBuilder, AggregatedPowerStats stats) { in populateBatteryUsageStatsBuilder()
128 BatteryUsageStats.Builder batteryUsageStatsBuilder, AggregatedPowerStats stats, in populateBatteryUsageStatsBuilder()
DPowerComponentAggregatedPowerStats.java58 private final AggregatedPowerStats mAggregatedPowerStats;
81 PowerComponentAggregatedPowerStats(@NonNull AggregatedPowerStats aggregatedPowerStats, in PowerComponentAggregatedPowerStats()
93 AggregatedPowerStats getAggregatedPowerStats() { in getAggregatedPowerStats()
DPowerStatsScheduler.java244 private void storeAggregatedPowerStats(AggregatedPowerStats stats) { in storeAggregatedPowerStats()
/frameworks/base/services/
Dart-profile3039 HSPLcom/android/server/power/stats/AggregatedPowerStats;->setUidState(IIIJ)V+]Lcom/android/server/p…
3169 …erator;]Lcom/android/server/power/stats/AggregatedPowerStats;Lcom/android/server/power/stats/Aggre…