Searched refs:endTimestamp (Results 1 – 11 of 11) sorted by relevance
90 private int getIndexByTimestamps(long startTimestamp, long endTimestamp) { in getIndexByTimestamps() argument93 && endTimestamp <= mTimestamps.get(index + 1)) { in getIndexByTimestamps()139 public Pair<Integer, Integer> getIndexByTimestamps(long startTimestamp, long endTimestamp) { in getIndexByTimestamps() argument141 mDailyBatteryLevels.getIndexByTimestamps(startTimestamp, endTimestamp); in getIndexByTimestamps()147 .getIndexByTimestamps(startTimestamp, endTimestamp); in getIndexByTimestamps()205 final long endTimestamp = timestampList.get(timestampList.size() - 1); in getDailyTimestamps() local207 timestamp < endTimestamp; in getDailyTimestamps()211 dailyTimestampList.add(endTimestamp); in getDailyTimestamps()
294 final long endTimestamp = timestamps.get(hourlyIndex + 1); in generateAppUsagePeriodMap() local298 appUsageEventList, startTimestamp, endTimestamp); in generateAppUsagePeriodMap()308 endTimestamp)); in generateAppUsagePeriodMap()467 final long endTimestamp = currentTime; in getTimestampSlots() local469 if (startTimestamp >= endTimestamp) { in getTimestampSlots()474 timestamp < endTimestamp; in getTimestampSlots()478 timestampSlots.add(endTimestamp); in getTimestampSlots()539 final Long endTimestamp = hourlyTimestamps.get(hourlyIndex + 1); in getBatteryDiffDataMap() local544 final long slotDuration = endTimestamp - startTimestamp; in getBatteryDiffDataMap()549 timestamp < endTimestamp; in getBatteryDiffDataMap()[all …]
224 final Long endTimestamp = in getHighlightSlotPair() local226 if (startTimestamp != null && endTimestamp != null) { in getHighlightSlotPair()228 batteryLevelData.getIndexByTimestamps(startTimestamp, endTimestamp); in getHighlightSlotPair()
51 final long endTimestamp, in BatteryDiffData() argument61 mEndTimestamp = endTimestamp; in BatteryDiffData()
139 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local140 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); in setEnabled()148 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(mContext, endTimestamp); in setEnabled()282 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext); in updateCountdownSummary() local284 if (currentTimestamp > endTimestamp) { in updateCountdownSummary()290 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary()
161 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument163 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
181 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument183 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
108 long endTimestamp, INetworkStatsService statsService) in NetworkStats() argument115 mEndTimeStamp = endTimestamp; in NetworkStats()
761 final long endTimestamp = endCalendar.getTimeInMillis(); in getTimestampSlots_startWithEvenHour_returnExpectedResult() local777 verifyExpectedTimestampSlots(startTimestamp, endTimestamp, expectedTimestamps); in getTimestampSlots_startWithEvenHour_returnExpectedResult()789 final long endTimestamp = endCalendar.getTimeInMillis(); in getTimestampSlots_startWithOddHour_returnExpectedResult() local805 verifyExpectedTimestampSlots(startTimestamp, endTimestamp, expectedTimestamps); in getTimestampSlots_startWithOddHour_returnExpectedResult()
META-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...