Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp152 Entry* newest_match = nullptr; in FindTimedAuthorization() local
154 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match)) in FindTimedAuthorization()
155 newest_match = &entry; in FindTimedAuthorization()
157 if (!newest_match) return {AUTH_TOKEN_NOT_FOUND, {}}; in FindTimedAuthorization()
162 if (static_cast<int64_t>(newest_match->time_received()) + timeout < static_cast<int64_t>(now)) in FindTimedAuthorization()
166 if (static_cast<int64_t>(newest_match->time_received()) < in FindTimedAuthorization()
172 newest_match->UpdateLastUse(now); in FindTimedAuthorization()
173 return {OK, newest_match->token()}; in FindTimedAuthorization()
208 Entry* newest_match = nullptr; in FindAuthorizationForCredstore() local
210 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match)) { in FindAuthorizationForCredstore()
[all …]