Home
last modified time | relevance | path

Searched defs:Instant (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt44 fun Instant.toLocalDate(): LocalDate { in toLocalDate() method
48 fun Instant.toLocalTime(): LocalTime { in Instant() method
52 fun Instant.toLocalDateTime(): LocalDateTime { in Instant() method
56 fun Instant.isOnSameDay(other: Instant): Boolean { in Instant() method
62 fun Instant.isOnDayBefore(other: Instant): Boolean { in Instant() method
68 fun Instant.isOnDayAfter(other: Instant): Boolean { in Instant() method
74 fun Instant.atStartOfDay(): Instant { in atStartOfDay() method
78 fun Instant.isAtLeastOneDayAfter(other: Instant): Boolean { in Instant() method
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/storage/
DExtensions.kt24 fun Instant.toProtoTimestamp(): Timestamp = Timestamp.newBuilder().setSeconds(this.getEpochSecond()… in Instant() method
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeriveTotalCaloriesBurnedHelper.java137 public double getDerivedCalories(List<Pair<Instant, Instant>> emptyIntervalList) { in getDerivedCalories()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptor.kt119 object Instant : FieldType() in build() object in com.android.libraries.pcc.chronicle.api.FieldType
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs2165 _fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_retry() argument
2169 first_conn_ts: Instant, in wait_retry()
2188 fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_disconnect() argument
2192 first_conn_ts: Instant, in wait_disconnect()
2203 fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in async_disconnect() argument
2223 first_conn_ts: Instant, in wait_force_enter_connected()
Dbluetooth_adv.rs1664 fn gen_expire_time_from_now(duration: i32) -> Option<Instant> { in gen_expire_time_from_now()
Dbluetooth.rs393 last_seen: Instant, in new()