Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapperTest.kt85 val localDateTime = in nextAlarmSet24HourFormat() constant
90 val expectedSecondaryLabel = AlarmTileMapper.formatter24Hour.format(localDateTime) in nextAlarmSet24HourFormat()
104 val localDateTime = in nextAlarmSet12HourFormat() constant
109 val expectedSecondaryLabel = AlarmTileMapper.formatter12Hour.format(localDateTime) in nextAlarmSet12HourFormat()
124 val localDateTime = in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
129 val expectedSecondaryLabel = AlarmTileMapper.formatterDateOnly.format(localDateTime) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
144 val localDateTime = in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime() constant
149 val expectedSecondaryLabel = AlarmTileMapper.formatter12Hour.format(localDateTime) in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime()
164 val localDateTime = in nextAlarmSetExactlyAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
169 val expectedSecondaryLabel = AlarmTileMapper.formatterDateOnly.format(localDateTime) in nextAlarmSetExactlyAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DTestUtils.java36 private static long toEpochMilli(LocalDateTime localDateTime) { in toEpochMilli() argument
37 return localDateTime.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in toEpochMilli()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java115 LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); in formatMillisWithFixedFormat() local
126 stringBuilder.append(localDateTime.getYear()); in formatMillisWithFixedFormat()
128 append2DigitNumber(stringBuilder, localDateTime.getMonthValue()); in formatMillisWithFixedFormat()
130 append2DigitNumber(stringBuilder, localDateTime.getDayOfMonth()); in formatMillisWithFixedFormat()
132 append2DigitNumber(stringBuilder, localDateTime.getHour()); in formatMillisWithFixedFormat()
134 append2DigitNumber(stringBuilder, localDateTime.getMinute()); in formatMillisWithFixedFormat()
136 append2DigitNumber(stringBuilder, localDateTime.getSecond()); in formatMillisWithFixedFormat()
/frameworks/base/telephony/java/android/telephony/
DSmsCbEtwsInfo.java206 LocalDateTime localDateTime = LocalDateTime.of( in getPrimaryNotificationTimestamp() local
215 long epochSeconds = localDateTime.toEpochSecond(ZoneOffset.UTC) - timeZoneOffsetSeconds; in getPrimaryNotificationTimestamp()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java808 LocalDateTime localDateTime = zoneDateTime.toLocalDateTime(); in getDeliverPdu() local
817 int year = localDateTime.getYear(); in getDeliverPdu()
818 int month = localDateTime.getMonthValue(); in getDeliverPdu()
819 int day = localDateTime.getDayOfMonth(); in getDeliverPdu()
820 int hour = localDateTime.getHour(); in getDeliverPdu()
821 int minute = localDateTime.getMinute(); in getDeliverPdu()
822 int second = localDateTime.getSecond(); in getDeliverPdu()
954 LocalDateTime localDateTime = LocalDateTime.of( in getSCTimestampMillis() local
962 localDateTime.toEpochSecond(ZoneOffset.UTC) - timeZoneOffsetSeconds; in getSCTimestampMillis()
/frameworks/base/core/java/android/widget/
DDateTimeView.java281 LocalDateTime localDateTime = mLocalTime; local
285 count = Math.max(Math.abs(dayDistance(localDateTime, localNow)), 1);
399 LocalDateTime localDateTime = mLocalTime; in onInitializeAccessibilityNodeInfoInternal() local
403 count = Math.max(Math.abs(dayDistance(localDateTime, localNow)), 1); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java294 LocalDateTime localDateTime = in fromMillis() local
296 int year = localDateTime.getYear(); in fromMillis()
299 ts.monthOrdinal = localDateTime.getMonthValue(); in fromMillis()
300 ts.monthDay = localDateTime.getDayOfMonth(); in fromMillis()
301 ts.hour = localDateTime.getHour(); in fromMillis()
302 ts.minute = localDateTime.getMinute(); in fromMillis()
303 ts.second = localDateTime.getSecond(); in fromMillis()
321 LocalDateTime localDateTime = in toMillis() local
324 localDateTime.toInstant(mZoneId.getRules().getOffset(localDateTime)); in toMillis()
/frameworks/base/services/people/java/com/android/server/people/data/
DEventIndex.java311 private static long toEpochMilli(LocalDateTime localDateTime) { in toEpochMilli() argument
312 return localDateTime.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli(); in toEpochMilli()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1320 LocalDateTime localDateTime = LocalDateTime.now(Clock.systemDefaultZone());
1321 String logNameTimeString = LOG_NAME_TIME_FORMATTER.format(localDateTime);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt21171 HSPLcom/android/icu/util/ExtendedTimeZone;->localDateTime(JLjava/time/ZoneOffset;)Ljava/time/LocalD…
/frameworks/base/config/
Dboot-image-profile.txt21235 HSPLcom/android/icu/util/ExtendedTimeZone;->localDateTime(JLjava/time/ZoneOffset;)Ljava/time/LocalD…