Lines Matching refs:entry
90 ALOGW("Auth token table filled up; replacing oldest entry");
155 for (auto& entry : entries_)
156 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match))
157 newest_match = &entry;
186 void AuthTokenTable::RemoveEntriesSupersededBy(const Entry& entry) {
187 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }),
199 bool AuthTokenTable::IsSupersededBySomeEntry(const Entry& entry) {
201 [&](Entry& e) { return e.Supersedes(entry); });
241 bool AuthTokenTable::Entry::Supersedes(const Entry& entry) const {
242 if (!entry.completed()) return false;
244 return (token_->userId == entry.token_->userId &&
245 token_->authenticatorType == entry.token_->authenticatorType &&
246 token_->authenticatorId == entry.token_->authenticatorId &&
247 is_newer_than(&entry));