Home
last modified time | relevance | path

Searched defs:consumerType (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryState.java43 public final int consumerType; field in BatteryState
63 int consumerType, in BatteryState()
184 public Builder setConsumerType(int consumerType) { in setConsumerType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java277 private static BatteryHistEntry createEntry(int consumerType) { in createEntry()
281 private static ContentValues getContentValuesWithType(int consumerType) { in getContentValuesWithType()
DBatteryDiffDataTest.java173 final long uid, final long userId, final int consumerType, in createBatteryHistEntry()
DBatteryDiffEntryTest.java481 int consumerType, long uid, boolean isHidden) { in createBatteryDiffEntry()
526 private static ContentValues getContentValuesWithType(int consumerType) { in getContentValuesWithType()
DDataProcessorTest.java1782 final long uid, final long userId, final int consumerType, in createBatteryHistEntry()
1920 final int consumerType, final double consumePercentage, in assertBatteryDiffEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtils.java85 public static boolean isUidConsumer(final int consumerType) { in isUidConsumer()
90 public static boolean isUserConsumer(final int consumerType) { in isUserConsumer()
95 public static boolean isSystemConsumer(final int consumerType) { in isSystemConsumer()
DBatteryDiffEntry.java108 int consumerType, in BatteryDiffEntry()
137 public BatteryDiffEntry(Context context, String key, String legacyLabel, int consumerType) { in BatteryDiffEntry()