Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp127 Entry* newest_match = NULL; in FindTimedAuthorization() local
129 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match)) in FindTimedAuthorization()
130 newest_match = &entry; in FindTimedAuthorization()
132 if (!newest_match) in FindTimedAuthorization()
138 if (static_cast<int64_t>(newest_match->time_received()) + timeout < static_cast<int64_t>(now)) in FindTimedAuthorization()
141 newest_match->UpdateLastUse(now); in FindTimedAuthorization()
142 *found = newest_match->token(); in FindTimedAuthorization()