Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java97 when(mMockBatteryEntry.getConsumerType()) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
163 when(mMockBatteryEntry.getConsumerType()) in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
316 when(mMockBatteryEntry.getConsumerType()) in convertToBatteryHistEntry_returnsExpectedResult()
397 assertThat(batteryUsageDiff.getConsumerType()) in convertToBatteryUsageDiff_returnsExpectedResult()
DBatteryHistEntryTest.java71 when(mMockBatteryEntry.getConsumerType()) in testConstructor_contentValues_returnsExpectedResult()
DDataProcessorTest.java1926 doReturn(ConvertUtils.CONSUMER_TYPE_UID_BATTERY).when(mMockBatteryEntry1).getConsumerType(); in generateBatteryDiffData_returnsExpectedResult()
1935 doReturn(ConvertUtils.CONSUMER_TYPE_UID_BATTERY).when(mMockBatteryEntry2).getConsumerType(); in generateBatteryDiffData_returnsExpectedResult()
1944 doReturn(ConvertUtils.CONSUMER_TYPE_UID_BATTERY).when(mMockBatteryEntry3).getConsumerType(); in generateBatteryDiffData_returnsExpectedResult()
1955 .getConsumerType(); in generateBatteryDiffData_returnsExpectedResult()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtils.java117 BatteryHistEntry.KEY_CONSUMER_TYPE, Integer.valueOf(entry.getConsumerType())); in convertBatteryEntryToContentValues()
586 batteryUsageDiff.getConsumerType(), in convertToBatteryDiffEntry()
DBatteryEntry.java280 public int getConsumerType() { in getConsumerType() method in BatteryEntry