Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp138 auto matching_op = find_if( in FindAuthPerOpAuthorization() local
141 if (matching_op == entries_.end()) return {AUTH_TOKEN_NOT_FOUND, {}}; in FindAuthPerOpAuthorization()
143 if (!matching_op->SatisfiesAuth(sids, auth_type)) return {AUTH_TOKEN_WRONG_SID, {}}; in FindAuthPerOpAuthorization()
145 return {OK, matching_op->token()}; in FindAuthPerOpAuthorization()
186 auto matching_op = find_if( in FindAuthorizationForCredstore() local
188 if (matching_op == entries_.end()) { in FindAuthorizationForCredstore()
192 if (!matching_op->SatisfiesAuth(sids, auth_type)) { in FindAuthorizationForCredstore()
197 if (static_cast<int64_t>(matching_op->time_received()) + authTokenMaxAgeMillis < in FindAuthorizationForCredstore()
203 return {OK, matching_op->token()}; in FindAuthorizationForCredstore()