Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java96 when(mMockBatteryEntry.getPowerComponentId()).thenReturn(-1); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
151 when(mMockBatteryEntry.getPowerComponentId()) in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
315 when(mMockBatteryEntry.getPowerComponentId()).thenReturn(expectedType); in convertToBatteryHistEntry_returnsExpectedResult()
DBatteryHistEntryTest.java70 when(mMockBatteryEntry.getPowerComponentId()).thenReturn(expectedType); in testConstructor_contentValues_returnsExpectedResult()
DDataProcessorTest.java1958 .getPowerComponentId(); in generateBatteryDiffData_returnsExpectedResult()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntry.java285 public int getPowerComponentId() { in getPowerComponentId() method in BatteryEntry
DConvertUtils.java655 .setDrainType(entry.getPowerComponentId()) in constructBatteryInformation()