Home
last modified time | relevance | path

Searched refs:getInstant (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DObexTimeTest.java76 timestamp.getInstant()); in createWithValidDateTimeString_TimestampCorrect()
87 timestamp.getInstant()); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect()
98 timestamp.getInstant()); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect()
109 timestamp.getInstant()); in createWithValidDate_TimestampCorrect()
123 timestamp.getInstant()); in createWithValidInstant_TimestampCorrect()
DEventReportTest.java106 .isEqualTo(new ObexTime(dateTime).getInstant().toEpochMilli()); in fromStreamWithDateTime()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java96 final boolean toDst = getDSTSavings(timeZone, nextDstTransition.getInstant()) != 0; in formatInfo()
107 transitionTime.setTimeInMillis(nextDstTransition.getInstant().toEpochMilli()); in formatInfo()
141 Instant to = transition.getInstant(); in findNextDstTransition()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDateNavigationView.kt32 import com.android.healthconnect.controller.utils.getInstant in <lambda>()
126 selectedDate = getInstant(year, month + 1, day) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeExtensionsTest.kt19 import com.android.healthconnect.controller.utils.getInstant
45 assertThat(getInstant(2022, 10, 23).toEpochMilli()).isEqualTo(1666483200000) in getInstant_returnsCorrectInstant()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt35 fun getInstant(year: Int, month: Int, day: Int): Instant { in getInstant() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DObexTime.java120 public Instant getInstant() { in getInstant() method in ObexTime
DEventReport.java204 return obexTime.getInstant().toEpochMilli(); in getTimestamp()