Home
last modified time | relevance | path

Searched refs:temporary_device_cache_ (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dmetric_id_manager.cc52 temporary_device_cache_(kMaxNumUnpairedDevicesInMemory) {} in MetricIdManager()
108 temporary_device_cache_.clear(); in Close()
122 temporary_device_cache_.size() == 0; in IsEmpty()
133 it = temporary_device_cache_.find(mac_address); in AllocateId()
134 if (it != temporary_device_cache_.end()) { in AllocateId()
148 auto evicted = temporary_device_cache_.insert_or_assign(mac_address, id); in AllocateId()
165 if (!temporary_device_cache_.contains(mac_address)) { in SaveDevice()
169 auto opt = temporary_device_cache_.extract(mac_address); in SaveDevice()
Dmetric_id_manager.h123 LruCache<hci::Address, int> temporary_device_cache_; variable
/packages/modules/Bluetooth/system/common/
Dmetric_id_allocator.cc49 temporary_device_cache_(kMaxNumUnpairedDevicesInMemory, LOGGING_TAG) {} in MetricIdAllocator()
99 temporary_device_cache_.Clear(); in Close()
113 temporary_device_cache_.Size() == 0; in IsEmpty()
124 if (temporary_device_cache_.Get(mac_address, &id)) { in AllocateId()
138 auto evicted = temporary_device_cache_.Put(mac_address, id); in AllocateId()
156 if (!temporary_device_cache_.Get(mac_address, &id)) { in SaveDevice()
163 if (!temporary_device_cache_.Remove(mac_address)) { in SaveDevice()
Dmetric_id_allocator.h123 LegacyLruCache<RawAddress, int> temporary_device_cache_; variable