Home
last modified time | relevance | path

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

/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp216 keys_.emplace(id, std::move(key)); in AllowUsbDevice()
425 keys_.emplace(id, public_key); in NotifyAuthenticated()
433 auto it = keys_.find(id); in NotifyDisconnected()
434 if (it == keys_.end()) { in NotifyDisconnected()
439 keys_.erase(it); in NotifyDisconnected()
446 keys_.emplace(id, public_key); in NotifyTlsDeviceConnected()
456 auto it = keys_.find(id); in NotifyTlsDeviceDisconnected()
457 if (it == keys_.end()) { in NotifyTlsDeviceDisconnected()
465 keys_.erase(it); in NotifyTlsDeviceDisconnected()
507 std::unordered_map<uint64_t, std::string> keys_ GUARDED_BY(mutex_);
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1572 theme->keys_.reserve(kInitialReserveSize); in NewTheme()
1653 const auto key_it = std::lower_bound(keys_.begin(), keys_.end(), attr_res_id); in ApplyStyle()
1654 const auto entry_it = entries_.begin() + (key_it - keys_.begin()); in ApplyStyle()
1655 if (key_it != keys_.end() && *key_it == attr_res_id) { in ApplyStyle()
1659 keys_.erase(key_it); in ApplyStyle()
1665 keys_.insert(key_it, attr_res_id); in ApplyStyle()
1677 keys_.clear(); in Rebase()
1689 const auto key_it = std::lower_bound(keys_.begin(), keys_.end(), resid); in GetAttribute()
1690 if (key_it == keys_.end() || *key_it != resid) { in GetAttribute()
1693 const auto entry_it = entries_.begin() + (key_it - keys_.begin()); in GetAttribute()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h613 std::vector<uint32_t> keys_; variable