Searched refs:getConsumerType (Results 1 – 5 of 5) sorted by relevance
97 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()
71 when(mMockBatteryEntry.getConsumerType()) in testConstructor_contentValues_returnsExpectedResult()
1926 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()
117 BatteryHistEntry.KEY_CONSUMER_TYPE, Integer.valueOf(entry.getConsumerType())); in convertBatteryEntryToContentValues()586 batteryUsageDiff.getConsumerType(), in convertToBatteryDiffEntry()
280 public int getConsumerType() { in getConsumerType() method in BatteryEntry