/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | TestUtils.java | 33 return toEpochMilli(LocalDateTime.parse(str, formatter)); in timestamp() 36 private static long toEpochMilli(LocalDateTime localDateTime) { in toEpochMilli() method in TestUtils 37 return localDateTime.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in toEpochMilli()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 311 private static long toEpochMilli(LocalDateTime localDateTime) { in toEpochMilli() method in EventIndex 312 return localDateTime.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in toEpochMilli() 394 return Range.create(toEpochMilli(beginTime), toEpochMilli(beginTime.plusDays(1))); in createOneDayLongTimeSlot() 405 return Range.create(toEpochMilli(beginTime), toEpochMilli(beginTime.plusHours(4))); in createFourHoursLongTimeSlot() 414 return Range.create(toEpochMilli(beginTime), toEpochMilli(beginTime.plusHours(1))); in createOneHourLongTimeSlot() 425 return Range.create(toEpochMilli(beginTime), toEpochMilli(beginTime.plusMinutes(2))); in createTwoMinutesLongTimeSlot()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 180 when(mClock.millis()).thenReturn(now.toInstant().toEpochMilli()); in testGetMultipathPreference() 205 snoozeWarning ? recurrenceStart.toEpochMilli() + 1 : SNOOZE_NEVER, in testGetMultipathPreference() 206 snoozeLimit ? recurrenceStart.toEpochMilli() + 1 : SNOOZE_NEVER, in testGetMultipathPreference() 224 eq(startOfDay.toInstant().toEpochMilli()), in testGetMultipathPreference() 225 eq(now.toInstant().toEpochMilli()))).thenReturn(usedBytesToday); in testGetMultipathPreference()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 248 start.toInstant().toEpochMilli(), in getDailyNonDefaultDataUsage() 249 end.toInstant().toEpochMilli()); in getDailyNonDefaultDataUsage() 277 final long start = cycle.getLower().toInstant().toEpochMilli(); in getRemainingDailyBudget() 278 final long end = cycle.getUpper().toInstant().toEpochMilli(); in getRemainingDailyBudget() 299 .toInstant().toEpochMilli(); in getUserPolicyOpportunisticQuotaBytes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoader.java | 95 final long cycleStart = cycle.first.toInstant().toEpochMilli(); in loadPolicyData() 96 final long cycleEnd = cycle.second.toInstant().toEpochMilli(); in loadPolicyData()
|
D | DataUsageController.java | 130 start = cycle.getLower().toInstant().toEpochMilli(); in getDataUsageInfo() 131 end = cycle.getUpper().toInstant().toEpochMilli(); in getDataUsageInfo()
|
/frameworks/base/core/tests/benchmarks/src/android/text/format/ |
D | AndroidTimeVsOthersBenchmark.java | 52 answer = time.toInstant(offset).toEpochMilli(); in toMillis_javaTime()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1175 final long cycleStart = cycle.first.toInstant().toEpochMilli(); 1176 final long cycleEnd = cycle.second.toInstant().toEpochMilli(); 1731 final long start = cycle.first.toInstant().toEpochMilli(); in updateNetworkEnabledNL() 1732 final long end = cycle.second.toInstant().toEpochMilli(); in updateNetworkEnabledNL() 1916 final long start = cycle.first.toInstant().toEpochMilli(); 1917 final long end = cycle.second.toInstant().toEpochMilli(); 2013 final long start = cycle.getLower().toInstant().toEpochMilli(); 2014 final long end = cycle.getUpper().toInstant().toEpochMilli(); 2018 .toInstant().toEpochMilli(); 2025 1 + ((end - now.toEpochMilli() - 1) / TimeUnit.DAYS.toMillis(1)); [all …]
|
D | NetworkStatsCollection.java | 272 final long cycleStart = cycle.getLower().toInstant().toEpochMilli(); in getHistory() 273 final long cycleEnd = cycle.getUpper().toInstant().toEpochMilli(); in getHistory()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/ |
D | ColorDisplayServiceTest.java | 1321 .toEpochMilli(); in getTwilightStateRelativeToNow() 1325 .toEpochMilli(); in getTwilightStateRelativeToNow() 1330 .toEpochMilli(); in getTwilightStateRelativeToNow() 1335 .toEpochMilli(); in getTwilightStateRelativeToNow()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationUsageLogger.java | 230 long currentHour = Instant.now().toEpochMilli() / ONE_HOUR_IN_MILLIS; in hitApiUsageLogCap()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoaderTest.java | 122 final long nowInMs = now.toInstant().toEpochMilli(); in loadPolicyData_shouldRecordUsageFromPolicyCycle()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MissedIncomingCallSmsFilter.java | 144 return instant.toEpochMilli(); in getEpochTime()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 681 .toEpochMilli(); in dateToMillis()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 935 if (cycle.getLower().toInstant().toEpochMilli() < currentTime) { 936 return cycle.getLower().toInstant().toEpochMilli(); 946 return policy.cycleIterator().next().getUpper().toInstant().toEpochMilli(); 1951 return ZonedDateTime.parse(time).toInstant().toEpochMilli(); in parseTime()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 511 .toInstant().toEpochMilli(); in toMillis()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 538 return instant.toEpochMilli(); in toEpochMillis()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 392 final long millis = next.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in customTime_alarmSetInTheFutureWhenOn()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 1004 final long millis = next.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in updateNextAlarm()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 1144 final long millis = next.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in scheduleNextCustomTimeListener()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 319 return instant.toEpochMilli(); in toMillis()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 5845 Instant.now().plus(1, ChronoUnit.HOURS).toEpochMilli()); in reportRuntimeAppOpAccessMessageAndGetConfig() 5856 Instant.now().plus(1, ChronoUnit.HOURS).toEpochMilli()); in reportRuntimeAppOpAccessMessageAndGetConfig() 5978 Math.max(Instant.now().minus(7, ChronoUnit.DAYS).toEpochMilli(), 0), in initializeRarelyUsedPackagesList()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 3539 Math.max(Instant.now().minus(1, ChronoUnit.DAYS).toEpochMilli(), 0),
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/config/ |
D | boot-image-profile.txt | 34934 HSPLjava/time/Instant;->toEpochMilli()J
|