Home
last modified time | relevance | path

Searched refs:SystemTime (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Virtualization/virtualizationmanager/src/
Datom.rs39 use std::time::{Duration, SystemTime};
75 fn get_duration(vm_start_timestamp: Option<SystemTime>) -> Duration { in get_duration()
166 vm_start_timestamp: Option<SystemTime>, in write_vm_booted_stats() argument
Dpayload.rs41 use std::time::SystemTime;
140 Ok(metadata.modified()?.duration_since(SystemTime::UNIX_EPOCH)?.as_secs()) in last_updated()
Dcrosvm.rs43 use std::time::{Duration, SystemTime};
260 pub start_timestamp: Option<SystemTime>,
421 vm_metric.start_timestamp = Some(SystemTime::now()); in start()
/packages/modules/Virtualization/microdroid_manager/src/
Dverify.rs32 use std::time::SystemTime;
52 let start_time = SystemTime::now(); in verify_payload()
/packages/modules/Virtualization/libs/devicemapper/src/
Dlib.rs220 use std::time::{SystemTime, UNIX_EPOCH}; in uuid()
225 let now = SystemTime::now().duration_since(UNIX_EPOCH)?; in uuid()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt758 internal class SystemTime { class
764 private fun getSystemTime(sharedPreferences: SharedPreferences): SystemTime { in getSystemTime()
765 val systemTime = SystemTime() in getSystemTime()
/packages/modules/Virtualization/virtualizationservice/src/maintenance/
Dvmdb.rs34 let now = std::time::SystemTime::now() in db_now()