Home
last modified time | relevance | path

Searched refs:batteryUsageSlot (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryUsageSlotEntity.java42 public final String batteryUsageSlot; field in BatteryUsageSlotEntity
44 public BatteryUsageSlotEntity(final long timestamp, final String batteryUsageSlot) { in BatteryUsageSlotEntity() argument
46 this.batteryUsageSlot = batteryUsageSlot; in BatteryUsageSlotEntity()
70 batteryUsageSlot)) in toString()
106 public Builder setBatteryUsageSlot(final String batteryUsageSlot) { in setBatteryUsageSlot() argument
107 mBatteryUsageSlot = batteryUsageSlot; in setBatteryUsageSlot()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtils.java168 final BatteryUsageSlot batteryUsageSlot) { in convertBatteryUsageSlotToContentValues() argument
170 values.put(BatteryUsageSlotEntity.KEY_TIMESTAMP, batteryUsageSlot.getStartTimestamp()); in convertBatteryUsageSlotToContentValues()
173 Base64.encodeToString(batteryUsageSlot.toByteArray(), Base64.DEFAULT)); in convertBatteryUsageSlotToContentValues()
600 final BatteryUsageSlot batteryUsageSlot, in convertToBatteryDiffData() argument
605 for (BatteryUsageDiff batteryUsageDiff : batteryUsageSlot.getAppUsageList()) { in convertToBatteryDiffData()
608 for (BatteryUsageDiff batteryUsageDiff : batteryUsageSlot.getSystemUsageList()) { in convertToBatteryDiffData()
613 batteryUsageSlot.getStartTimestamp(), in convertToBatteryDiffData()
614 batteryUsageSlot.getEndTimestamp(), in convertToBatteryDiffData()
615 batteryUsageSlot.getStartBatteryLevel(), in convertToBatteryDiffData()
616 batteryUsageSlot.getEndBatteryLevel(), in convertToBatteryDiffData()
[all …]
DDataProcessManager.java500 for (BatteryUsageSlot batteryUsageSlot : mBatteryUsageSlotList) { in generateFinalDataAndApplyCallback()
502 batteryUsageSlot.getStartTimestamp(), in generateFinalDataAndApplyCallback()
505 batteryUsageSlot, in generateFinalDataAndApplyCallback()
DDatabaseUtils.java642 batteryUsageSlot -> in sendBatteryUsageSlotData()
645 batteryUsageSlot))); in sendBatteryUsageSlotData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryUsageSlotDaoTest.java72 assertThat(entities.get(0).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING1); in getAll_normalFlow_expectedBehavior()
74 assertThat(entities.get(1).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING2); in getAll_normalFlow_expectedBehavior()
101 assertThat(entities.get(0).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING2); in clearAllBefore_normalFlow_expectedBehavior()
DBatteryUsageSlotEntityTest.java42 assertThat(entity.batteryUsageSlot).isEqualTo(batteryUsageSlotString); in testBuilder_returnsExpectedResult()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java124 entity.batteryUsageSlot, BatteryUsageSlot.getDefaultInstance())); in dumpBatteryUsageSlotDatabaseHist()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java284 final BatteryUsageSlot batteryUsageSlot = in convertBatteryUsageSlotToContentValues_normalCase_returnsExpectedContentValues() local
293 ConvertUtils.convertBatteryUsageSlotToContentValues(batteryUsageSlot); in convertBatteryUsageSlotToContentValues_normalCase_returnsExpectedContentValues()
DBatteryUsageContentProviderTest.java436 assertThat(entities.get(0).batteryUsageSlot).isEqualTo("TEST_STRING"); in insertAndQuery_batteryUsageSlot_returnsExpectedResult()