Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessor.java419 final List<Long> rawTimestampList = new ArrayList<>(batteryHistoryMap.keySet()); in getHistoryMapWithExpectedTimestamps() local
421 if (rawTimestampList.isEmpty()) { in getHistoryMapWithExpectedTimestamps()
425 Collections.sort(rawTimestampList); in getHistoryMapWithExpectedTimestamps()
427 final List<Long> expectedTimestampList = getTimestampSlots(rawTimestampList, currentTime); in getHistoryMapWithExpectedTimestamps()
429 context, rawTimestampList, expectedTimestampList, batteryHistoryMap, resultMap); in getHistoryMapWithExpectedTimestamps()
461 static List<Long> getTimestampSlots(final List<Long> rawTimestampList, final long currentTime) { in getTimestampSlots() argument
463 if (rawTimestampList.isEmpty()) { in getTimestampSlots()
466 final long startTimestamp = rawTimestampList.get(0); in getTimestampSlots()
1112 final List<Long> rawTimestampList, in interpolateHistory() argument
1116 if (rawTimestampList.isEmpty() || expectedTimestampSlots.isEmpty()) { in interpolateHistory()
[all …]