Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/watchdog/
DTimeSource.java28 public static final ZoneOffset ZONE_OFFSET = ZoneOffset.UTC; field in TimeSource
35 return now().atZone(ZONE_OFFSET); in getCurrentDateTime()
40 return now().atZone(ZONE_OFFSET).truncatedTo(ChronoUnit.DAYS); in getCurrentDate()
DWatchdogStorage.java20 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;
393 mTimeSource.now().atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in getNotForgivenHistoricalIoOveruses()
428 mTimeSource.now().atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in forgiveHistoricalOveruses()
483 .atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in saveIoUsageStats()
DWatchdogPerfHandler.java60 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;
1337 ZonedDateTime usageModifiedDate = lastModifiedDate.atZone(ZONE_OFFSET); in readFromDatabase()
2204 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in readMetadataFileLocked()
2209 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in readMetadataFileLocked()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java397 (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) in gsmWriteDate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java46 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;
1422 ZonedDateTime.ofInstant(Instant.ofEpochSecond(startEpochSeconds), ZONE_OFFSET), in sampleDailyIoUsageSummariesForAWeek()
DWatchdogPerfHandlerUnitTest.java47 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;
688 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in testWriteMetadataFile()
692 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in testWriteMetadataFile()
4715 ZonedDateTime.ofInstant(Instant.ofEpochSecond(startEpochSeconds), ZONE_OFFSET), in sampleDailyIoUsageSummariesForAWeek()