Home
last modified time | relevance | path

Searched refs:consumerType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java40 public BatteryConsumerData.ConsumerType consumerType; field in BatteryConsumerInfoHelper.BatteryConsumerInfo
47 BatteryConsumerData.ConsumerType consumerType = BatteryConsumerData.getConsumerType( in makeBatteryConsumerInfo() local
49 switch (consumerType) { in makeBatteryConsumerInfo()
71 info.consumerType = BatteryConsumerData.ConsumerType.UID_BATTERY_CONSUMER; in makeBatteryConsumerInfo()
140 info.consumerType = BatteryConsumerData.ConsumerType.DEVICE_POWER_COMPONENT; in makeAggregateBatteryConsumerInfo()
DBatteryStatsViewerActivity.java217 if (batteryConsumerInfo.consumerType in onBatteryStatsDataLoaded()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java807 public BaseBuilder(BatteryConsumer.BatteryConsumerData data, int consumerType, in BaseBuilder() argument
810 data.putLong(COLUMN_INDEX_BATTERY_CONSUMER_TYPE, consumerType); in BaseBuilder()
DBatteryUsageStats.java368 int consumerType = mBatteryConsumersCursorWindow.getInt(i, in BatteryUsageStats() local
370 switch (consumerType) { in BatteryUsageStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java1056 final int consumerType = tempTypeToId.keyAt(i);
1058 mEnergyConsumerTypeToIdMap.put(consumerType, consumerIds);