Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt45 fun Instant.toLocalDate(): LocalDate { in toLocalDate() method
49 fun Instant.toLocalTime(): LocalTime { in Instant() method
53 fun Instant.toLocalDateTime(): LocalDateTime { in Instant() method
57 fun Instant.withinOneMinuteAfter(other: Instant): Boolean { in Instant() method
61 fun Instant.withinOneHourAfter(other: Instant): Boolean { in Instant() method
65 fun Instant.withinOneDayAfter(other: Instant): Boolean { in withinOneDayAfter() method
69 fun Instant.isOnSameDay(other: Instant): Boolean { in Instant() method
75 fun Instant.isOnDayBefore(other: Instant): Boolean { in Instant() method
81 fun Instant.isOnDayAfter(other: Instant): Boolean { in Instant() method
87 fun Instant.atStartOfDay(): Instant { in atStartOfDay() method
[all …]
/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.java142 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
/packages/modules/UprobeStats/rust/src/bpf_map/
Dmod.rs22 now: Instant, in poll_and_loop()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs2248 _fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_retry() argument
2252 first_conn_ts: Instant, in wait_retry()
2271 fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_disconnect() argument
2275 first_conn_ts: Instant, in wait_disconnect()
2286 fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in async_disconnect() argument
2306 first_conn_ts: Instant, in wait_force_enter_connected()
Dbluetooth_adv.rs1637 fn gen_expire_time_from_now(duration: i32) -> Option<Instant> { in gen_expire_time_from_now()
Dbluetooth.rs386 last_seen: Instant, in new()