/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | AggregatedPowerStatsTest.java | 74 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()
|
D | PowerStatsSchedulerTest.java | 116 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()
|
D | PowerStatsAggregatorTest.java | 126 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()
|
D | PhoneCallPowerStatsProcessorTest.java | 174 AggregatedPowerStats aggregatedPowerStats = in copyEstimatesFromMobileRadioPowerStats() 175 new AggregatedPowerStats(aggregatedPowerStatsConfig); in copyEstimatesFromMobileRadioPowerStats()
|
D | BinaryStatePowerStatsProcessorTest.java | 271 AggregatedPowerStats aggregatedPowerStats = new AggregatedPowerStats(config); in createAggregatedPowerStats()
|
D | MobileRadioPowerStatsProcessorTest.java | 187 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in powerProfileModel() 426 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in prepareAggregatedStats_energyConsumerModel()
|
D | CpuPowerStatsProcessorTest.java | 211 super(new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in MockPowerComponentAggregatedPowerStats()
|
D | BluetoothPowerStatsProcessorTest.java | 479 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in createAggregatedPowerStats()
|
D | WifiPowerStatsProcessorTest.java | 532 new AggregatedPowerStats(mock(AggregatedPowerStatsConfig.class)), config); in createAggregatedPowerStats()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | AggregatedPowerStatsSection.java | 28 private final AggregatedPowerStats mAggregatedPowerStats; 30 AggregatedPowerStatsSection(AggregatedPowerStats aggregatedPowerStats) { in AggregatedPowerStatsSection() 35 public AggregatedPowerStats getAggregatedPowerStats() { in getAggregatedPowerStats()
|
D | PowerStatsAggregator.java | 36 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()
|
D | AggregatedPowerStats.java | 51 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()
|
D | PowerStatsStore.java | 182 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()
|
D | PowerStatsExporter.java | 117 BatteryUsageStats.Builder batteryUsageStatsBuilder, AggregatedPowerStats stats) { in populateBatteryUsageStatsBuilder() 128 BatteryUsageStats.Builder batteryUsageStatsBuilder, AggregatedPowerStats stats, in populateBatteryUsageStatsBuilder()
|
D | PowerComponentAggregatedPowerStats.java | 58 private final AggregatedPowerStats mAggregatedPowerStats; 81 PowerComponentAggregatedPowerStats(@NonNull AggregatedPowerStats aggregatedPowerStats, in PowerComponentAggregatedPowerStats() 93 AggregatedPowerStats getAggregatedPowerStats() { in getAggregatedPowerStats()
|
D | PowerStatsScheduler.java | 244 private void storeAggregatedPowerStats(AggregatedPowerStats stats) { in storeAggregatedPowerStats()
|
/frameworks/base/services/ |
D | art-profile | 3039 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…
|