Searched refs:AuthTokenEntry (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore2/src/database/ |
D | perboot.rs | 18 use super::{AuthTokenEntry, MonotonicRawTime}; 48 struct AuthTokenEntryWrap(AuthTokenEntry); 91 pub fn insert_auth_token_entry(&self, entry: AuthTokenEntry) { in insert_auth_token_entry() argument 96 pub fn find_auth_token_entry<P: Fn(&AuthTokenEntry) -> bool>( in find_auth_token_entry() 99 ) -> Option<AuthTokenEntry> { in find_auth_token_entry() argument 119 pub fn get_all_auth_token_entries(&self) -> Vec<AuthTokenEntry> { in get_all_auth_token_entries() argument
|
/system/security/keystore2/src/ |
D | enforcements.rs | 23 database::{AuthTokenEntry, MonotonicRawTime}, 621 let hat_and_last_off_body = Self::find_auth_token(|hat: &AuthTokenEntry| { in authorize_create() 688 fn find_auth_token<F>(p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token() argument 690 F: Fn(&AuthTokenEntry) -> bool, in find_auth_token() 804 let result = Self::find_auth_token(|hat: &AuthTokenEntry| { in get_auth_tokens() 814 let result = Self::find_auth_token(|auth_token_entry: &AuthTokenEntry| { in get_auth_tokens()
|
D | database.rs | 814 pub struct AuthTokenEntry { struct 820 impl AuthTokenEntry { implementation 822 AuthTokenEntry { auth_token, time_received } in new() 1138 size: (self.perboot.auth_tokens_len() * std::mem::size_of::<AuthTokenEntry>()) in get_storage_stat() 3209 self.perboot.insert_auth_token_entry(AuthTokenEntry::new( in insert_auth_token() 3216 pub fn find_auth_token_entry<F>(&self, p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token_entry() argument 3218 F: Fn(&AuthTokenEntry) -> bool, in find_auth_token_entry() 3440 fn get_auth_tokens(db: &KeystoreDB) -> Vec<AuthTokenEntry> { in get_auth_tokens() argument
|