Searched refs:keys_ (Results 1 – 6 of 6) sorted by relevance
61 keys_() {65 for (const HashedKey<StoreKey>& key : keys_) {74 auto it = keys_.find(hashed_in_key);75 if (it != keys_.end()) {80 keys_.insert(HashedKey<StoreKey> { hash, store_key });92 global_stats->total_probe_distance += keys_.TotalProbeDistance();93 global_stats->total_size += keys_.size();94 for (const HashedKey<StoreKey>& key : keys_) {180 HashSet<HashedKey<StoreKey>, ShardEmptyFn, ShardHashFn, ShardPred> keys_ GUARDED_BY(lock_);
214 keys_.emplace(id, std::move(key)); in AllowUsbDevice()423 keys_.emplace(id, public_key); in NotifyAuthenticated()431 auto it = keys_.find(id); in NotifyDisconnected()432 if (it == keys_.end()) { in NotifyDisconnected()437 keys_.erase(it); in NotifyDisconnected()444 keys_.emplace(id, public_key); in NotifyTlsDeviceConnected()454 auto it = keys_.find(id); in NotifyTlsDeviceDisconnected()455 if (it == keys_.end()) { in NotifyTlsDeviceDisconnected()463 keys_.erase(it); in NotifyTlsDeviceDisconnected()505 std::unordered_map<uint64_t, std::string> keys_ GUARDED_BY(mutex_);
433 if (keys_[code].down == down) return 0; in SetKeyCallback()437 if (down) keys_[code].timestamp = now; in SetKeyCallback()438 keys_[code].down = down; in SetKeyCallback()439 keys_[code].pending = true; in SetKeyCallback()443 int64_t duration = now - keys_[code].timestamp; in SetKeyCallback()465 key_state* key = &keys_[code]; in ProcessKey()
80 key_state keys_[KEY_MAX + 1] = {}; variable
1542 if (keys_.empty()) { in Key()1546 std::shared_ptr<RSA> result = keys_[0]; in Key()1551 if (keys_.empty()) { in NextKey()1553 keys_ = adb_auth_get_private_keys(); in NextKey()1556 CHECK(!keys_.empty()); in NextKey()1558 keys_.pop_front(); in NextKey()1565 keys_.clear(); in ResetKeys()
398 std::deque<std::shared_ptr<RSA>> keys_; variable