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 | 22 database::{AuthTokenEntry, MonotonicRawTime}, 635 let hat_and_last_off_body = Self::find_auth_token(|hat: &AuthTokenEntry| { in authorize_create() 702 fn find_auth_token<F>(p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token() argument 704 F: Fn(&AuthTokenEntry) -> bool, in find_auth_token() 818 let result = Self::find_auth_token(|hat: &AuthTokenEntry| { in get_auth_tokens() 828 let result = Self::find_auth_token(|auth_token_entry: &AuthTokenEntry| { in get_auth_tokens()
|
D | database.rs | 784 pub struct AuthTokenEntry { struct 790 impl AuthTokenEntry { argument 792 AuthTokenEntry { auth_token, time_received } in new() 1108 size: (self.perboot.auth_tokens_len() * std::mem::size_of::<AuthTokenEntry>()) in get_storage_stat() 3158 self.perboot.insert_auth_token_entry(AuthTokenEntry::new( in insert_auth_token() 3165 pub fn find_auth_token_entry<F>(&self, p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)> in find_auth_token_entry() argument 3167 F: Fn(&AuthTokenEntry) -> bool, in find_auth_token_entry() 3388 fn get_auth_tokens(db: &KeystoreDB) -> Vec<AuthTokenEntry> { in get_auth_tokens() argument
|