Home
last modified time | relevance | path

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

/system/bt/gd/common/
Dlist_map_test.cc27 using bluetooth::common::ListMap;
30 ListMap<int, int> list_map; in TEST()
40 ListMap<int, int> list_map_1; in TEST()
43 ListMap<int, int> list_map_2; in TEST()
51 ListMap<int, int> list_map_3; in TEST()
56 ListMap<int, int> list_map_4; in TEST()
59 ListMap<int, int> list_map_5; in TEST()
64 ListMap<int, std::shared_ptr<int>> list_map; in TEST()
68 ListMap<int, std::shared_ptr<int>> new_list_map = list_map; in TEST()
79 ListMap<int, std::shared_ptr<int>> list_map; in TEST()
[all …]
Dlist_map.h45 class ListMap {
54 ListMap() = default;
57 ListMap(ListMap&& other) noexcept = default;
58 ListMap& operator=(ListMap&& other) noexcept = default;
62 ListMap(const ListMap& other) : node_list_(other.node_list_) { in ListMap() function
70 ListMap& operator=(const ListMap& other) {
83 bool operator==(const ListMap& rhs) const {
86 bool operator!=(const ListMap& rhs) const {
90 ~ListMap() { in ~ListMap()
102 return const_cast<ListMap*>(this)->find(key); in find()
[all …]
Dlru_cache.h55 using value_type = typename ListMap<Key, T>::value_type;
57 using node_type = typename ListMap<Key, T>::node_type;
58 using iterator = typename ListMap<Key, T>::iterator;
59 using const_iterator = typename ListMap<Key, T>::const_iterator;
215 ListMap<Key, T> list_map_;
/system/bt/gd/storage/
Dconfig_cache.h131 common::ListMap<std::string, common::ListMap<std::string, std::string>> information_sections_;
133 common::ListMap<std::string, common::ListMap<std::string, std::string>> persistent_devices_;
136 common::LruCache<std::string, common::ListMap<std::string, std::string>> temporary_devices_;
Dconfig_cache.cc173 …section_iter = information_sections_.try_emplace_back(section, common::ListMap<std::string, std::s… in SetProperty()
186 …section_iter = persistent_devices_.try_emplace_back(section, common::ListMap<std::string, std::str… in SetProperty()
196 …auto triple = temporary_devices_.try_emplace(section, common::ListMap<std::string, std::string>{}); in SetProperty()
364 …const std::string& section_name, common::ListMap<std::string, std::string>& device_section_entries… in FixDeviceTypeInconsistencyInSection()
428 const common::ListMap<std::string, std::string>* section_ptr; in HasAtLeastOneMatchingPropertiesInSection()
Dstorage_module.cc38 using common::ListMap;