Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryLevelData.java90 private int getIndexByTimestamps(long startTimestamp, long endTimestamp) { in getIndexByTimestamps() argument
93 && endTimestamp <= mTimestamps.get(index + 1)) { in getIndexByTimestamps()
139 public Pair<Integer, Integer> getIndexByTimestamps(long startTimestamp, long endTimestamp) { in getIndexByTimestamps() argument
141 mDailyBatteryLevels.getIndexByTimestamps(startTimestamp, endTimestamp); in getIndexByTimestamps()
147 .getIndexByTimestamps(startTimestamp, endTimestamp); in getIndexByTimestamps()
205 final long endTimestamp = timestampList.get(timestampList.size() - 1); in getDailyTimestamps() local
207 timestamp < endTimestamp; in getDailyTimestamps()
211 dailyTimestampList.add(endTimestamp); in getDailyTimestamps()
DDataProcessor.java294 final long endTimestamp = timestamps.get(hourlyIndex + 1); in generateAppUsagePeriodMap() local
298 appUsageEventList, startTimestamp, endTimestamp); in generateAppUsagePeriodMap()
308 endTimestamp)); in generateAppUsagePeriodMap()
467 final long endTimestamp = currentTime; in getTimestampSlots() local
469 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() local
544 final long slotDuration = endTimestamp - startTimestamp; in getBatteryDiffDataMap()
549 timestamp < endTimestamp; in getBatteryDiffDataMap()
[all …]
DAnomalyEventWrapper.java224 final Long endTimestamp = in getHighlightSlotPair() local
226 if (startTimestamp != null && endTimestamp != null) { in getHighlightSlotPair()
228 batteryLevelData.getIndexByTimestamps(startTimestamp, endTimestamp); in getHighlightSlotPair()
DBatteryDiffData.java51 final long endTimestamp, in BatteryDiffData() argument
61 mEndTimestamp = endTimestamp; in BatteryDiffData()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDiscoverableEnabler.java139 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local
140 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); in setEnabled()
148 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(mContext, endTimestamp); in setEnabled()
282 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext); in updateCountdownSummary() local
284 if (currentTimestamp > endTimestamp) { in updateCountdownSummary()
290 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary()
DLocalBluetoothPreferences.java161 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument
163 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUtils.java181 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument
183 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java108 long endTimestamp, INetworkStatsService statsService) in NetworkStats() argument
115 mEndTimeStamp = endTimestamp; in NetworkStats()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessorTest.java761 final long endTimestamp = endCalendar.getTimeInMillis(); in getTimestampSlots_startWithEvenHour_returnExpectedResult() local
777 verifyExpectedTimestampSlots(startTimestamp, endTimestamp, expectedTimestamps); in getTimestampSlots_startWithEvenHour_returnExpectedResult()
789 final long endTimestamp = endCalendar.getTimeInMillis(); in getTimestampSlots_startWithOddHour_returnExpectedResult() local
805 verifyExpectedTimestampSlots(startTimestamp, endTimestamp, expectedTimestamps); in getTimestampSlots_startWithOddHour_returnExpectedResult()
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dopencensus-api-0.24.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...