Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistEntry.java68 public final int mConsumerType; field in BatteryHistEntry
92 mConsumerType = getInteger(values, KEY_CONSUMER_TYPE); in BatteryHistEntry()
113 mConsumerType = getInteger(cursor, KEY_CONSUMER_TYPE); in BatteryHistEntry()
142 mConsumerType = fromEntry.mConsumerType; in BatteryHistEntry()
155 return mConsumerType == ConvertUtils.CONSUMER_TYPE_USER_BATTERY; in isUserEntry()
160 return mConsumerType == ConvertUtils.CONSUMER_TYPE_UID_BATTERY; in isAppEntry()
165 return mConsumerType == ConvertUtils.CONSUMER_TYPE_SYSTEM_BATTERY; in isSystemEntry()
171 switch (mConsumerType) { in getKey()
201 mDrainType, mConsumerType)) in toString()
DBatteryEntry.java165 private final int mConsumerType; field in BatteryEntry
203 mConsumerType = ConvertUtils.CONSUMER_TYPE_UID_BATTERY; in BatteryEntry()
234 mConsumerType = ConvertUtils.CONSUMER_TYPE_USER_BATTERY; in BatteryEntry()
258 mConsumerType = ConvertUtils.CONSUMER_TYPE_SYSTEM_BATTERY; in BatteryEntry()
284 mConsumerType = ConvertUtils.CONSUMER_TYPE_SYSTEM_BATTERY; in BatteryEntry()
300 return mConsumerType; in getConsumerType()
DBatteryDiffEntry.java146 switch (mBatteryHistEntry.mConsumerType) { in isSystemEntry()
183 switch (mBatteryHistEntry.mConsumerType) { in loadLabelAndIcon()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceController.java188 .filter(entry -> entry.mBatteryHistEntry.mConsumerType in loadBatteryDiffEntries()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHistEntryTest.java290 assertThat(entry.mConsumerType) in assertBatteryHistEntry()