Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp89 if (entries_.size() >= max_entries_) { in AddAuthenticationToken()
91 *min_element(entries_) = std::move(new_entry); in AddAuthenticationToken()
93 entries_.push_back(std::move(new_entry)); in AddAuthenticationToken()
140 entries_, [&](Entry& e) { return e.token()->challenge == op_handle && !e.completed(); }); in FindAuthPerOpAuthorization()
142 if (matching_op == entries_.end()) return AUTH_TOKEN_NOT_FOUND; in FindAuthPerOpAuthorization()
155 for (auto& entry : entries_) in FindTimedAuthorization()
187 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy()
188 entries_.end()); in RemoveEntriesSupersededBy()
196 entries_.clear(); in Clear()
200 return std::any_of(entries_.begin(), entries_.end(), in IsSupersededBySomeEntry()
[all …]
Dauth_token_table.h93 size_t size() { return entries_.size(); } in size()
153 std::vector<Entry> entries_; variable