Home
last modified time | relevance | path

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

/aosp12/art/compiler/utils/
H A Ddedupe_set-inl.h61 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_);
/aosp12/frameworks/native/libs/adbd_auth/
H A Dadbd_auth.cpp214 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_);
/aosp12/system/core/healthd/
H A Dhealthd_mode_charger.cpp433 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()
H A Dhealthd_mode_charger.h80 key_state keys_[KEY_MAX + 1] = {}; variable
/aosp12/packages/modules/adb/
H A Dtransport.cpp1542 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()
H A Dtransport.h398 std::deque<std::shared_ptr<RSA>> keys_; variable