Searched refs:MonotonicRawTime (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore2/src/database/ |
D | perboot.rs | 18 use super::{AuthTokenEntry, MonotonicRawTime}; 106 pub fn get_last_off_body(&self) -> MonotonicRawTime { in get_last_off_body() argument 107 MonotonicRawTime(self.last_off_body.load(Ordering::Relaxed)) in get_last_off_body() 110 pub fn set_last_off_body(&self, last_off_body: MonotonicRawTime) { in set_last_off_body() argument
|
/system/security/keystore2/src/ |
D | maintenance.rs | 17 use crate::database::{KeyEntryLoadBits, KeyType, MonotonicRawTime}; 215 DB.with(|db| db.borrow_mut().update_last_off_body(MonotonicRawTime::now())); in on_device_off_body()
|
D | enforcements.rs | 22 database::{AuthTokenEntry, MonotonicRawTime}, 654 let now = MonotonicRawTime::now(); in authorize_create() 702 fn find_auth_token<F>(p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token() 827 let now_in_millis = MonotonicRawTime::now(); in get_auth_tokens()
|
D | globals.rs | 25 use crate::{async_task::AsyncTask, database::MonotonicRawTime}; 63 db.insert_last_off_body(MonotonicRawTime::now()); in create_thread_local_db()
|
D | database.rs | 745 pub struct MonotonicRawTime(i64); struct 747 impl MonotonicRawTime { implementation 769 impl ToSql for MonotonicRawTime { implementation 775 impl FromSql for MonotonicRawTime { implementation 787 time_received: MonotonicRawTime, 791 fn new(auth_token: HardwareAuthToken, time_received: MonotonicRawTime) -> Self { in new() 814 pub fn time_received(&self) -> MonotonicRawTime { in time_received() argument 3160 MonotonicRawTime::now(), in insert_auth_token() 3165 pub fn find_auth_token_entry<F>(&self, p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token_entry() 3173 pub fn insert_last_off_body(&self, last_off_body: MonotonicRawTime) { in insert_last_off_body() argument [all …]
|