Searched refs:temporary_device_cache_ (Results 1 – 4 of 4) sorted by relevance
52 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()
123 LruCache<hci::Address, int> temporary_device_cache_; variable
49 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()
123 LegacyLruCache<RawAddress, int> temporary_device_cache_; variable