Searched refs:batteryUsageSlot (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/ |
D | BatteryUsageSlotEntity.java | 42 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/ |
D | ConvertUtils.java | 168 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 …]
|
D | DataProcessManager.java | 500 for (BatteryUsageSlot batteryUsageSlot : mBatteryUsageSlotList) { in generateFinalDataAndApplyCallback() 502 batteryUsageSlot.getStartTimestamp(), in generateFinalDataAndApplyCallback() 505 batteryUsageSlot, in generateFinalDataAndApplyCallback()
|
D | DatabaseUtils.java | 642 batteryUsageSlot -> in sendBatteryUsageSlotData() 645 batteryUsageSlot))); in sendBatteryUsageSlotData()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/ |
D | BatteryUsageSlotDaoTest.java | 72 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()
|
D | BatteryUsageSlotEntityTest.java | 42 assertThat(entity.batteryUsageSlot).isEqualTo(batteryUsageSlotString); in testBuilder_returnsExpectedResult()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/ |
D | LogUtils.java | 124 entity.batteryUsageSlot, BatteryUsageSlot.getDefaultInstance())); in dumpBatteryUsageSlotDatabaseHist()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | ConvertUtilsTest.java | 284 final BatteryUsageSlot batteryUsageSlot = in convertBatteryUsageSlotToContentValues_normalCase_returnsExpectedContentValues() local 293 ConvertUtils.convertBatteryUsageSlotToContentValues(batteryUsageSlot); in convertBatteryUsageSlotToContentValues_normalCase_returnsExpectedContentValues()
|
D | BatteryUsageContentProviderTest.java | 436 assertThat(entities.get(0).batteryUsageSlot).isEqualTo("TEST_STRING"); in insertAndQuery_batteryUsageSlot_returnsExpectedResult()
|