Home
last modified time | relevance | path

Searched refs:paired_device_cache_ (Results 1 – 2 of 2) sorted by relevance

/system/bt/common/
Dmetric_id_allocator.cc45 : paired_device_cache_(kMaxNumPairedDevicesInMemory, LOGGING_TAG), in MetricIdAllocator()
70 auto evicted = paired_device_cache_.Put(p.first, p.second); in Init()
95 paired_device_cache_.Clear(); in Close()
109 return paired_device_cache_.Size() == 0 && in IsEmpty()
118 if (paired_device_cache_.Get(mac_address, &id)) { in AllocateId()
150 if (paired_device_cache_.Get(mac_address, &id)) { in SaveDevice()
164 auto evicted = paired_device_cache_.Put(mac_address, id); in SaveDevice()
180 if (!paired_device_cache_.Get(mac_address, &id)) { in ForgetDevice()
186 if (!paired_device_cache_.Remove(mac_address)) { in ForgetDevice()
Dmetric_id_allocator.h122 LruCache<RawAddress, int> paired_device_cache_; variable