Home
last modified time | relevance | path

Searched refs:mEnergyConsumerStatsConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMockBatteryStatsImpl.java105 mEnergyConsumerStatsConfig = new EnergyConsumerStats.Config(supportedStandardBuckets, in initMeasuredEnergyStats()
107 mGlobalEnergyConsumerStats = new EnergyConsumerStats(mEnergyConsumerStatsConfig); in initMeasuredEnergyStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java1529 protected @Nullable EnergyConsumerStats.Config mEnergyConsumerStatsConfig; field in BatteryStatsImpl
7930 if (mEnergyConsumerStatsConfig == null) { in getCustomEnergyConsumerNames()
7933 final String[] names = mEnergyConsumerStatsConfig.getCustomBucketNames(); in getCustomEnergyConsumerNames()
8786 mUidEnergyConsumerStats = new EnergyConsumerStats(mBsi.mEnergyConsumerStatsConfig); in getOrCreateEnergyConsumerStatsLocked()
8793 if (mUidEnergyConsumerStats == null && mBsi.mEnergyConsumerStatsConfig != null) { in getOrCreateEnergyConsumerStatsIfSupportedLocked()
8794 mUidEnergyConsumerStats = new EnergyConsumerStats(mBsi.mEnergyConsumerStatsConfig); in getOrCreateEnergyConsumerStatsIfSupportedLocked()
15793 if (mEnergyConsumerStatsConfig != null
15794 && !mEnergyConsumerStatsConfig.isCompatible(config)) {
15801 mEnergyConsumerStatsConfig = config;
15814 if (mEnergyConsumerStatsConfig != null) {
[all …]