Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/common/
Dlist_map_test.cc26 using bluetooth::common::ListMap;
29 ListMap<int, int> list_map; in TEST()
39 ListMap<int, int> list_map_1; in TEST()
42 ListMap<int, int> list_map_2; in TEST()
50 ListMap<int, int> list_map_3; in TEST()
55 ListMap<int, int> list_map_4; in TEST()
58 ListMap<int, int> list_map_5; in TEST()
63 ListMap<int, std::shared_ptr<int>> list_map; in TEST()
67 ListMap<int, std::shared_ptr<int>> new_list_map = list_map; in TEST()
78 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.h57 using value_type = typename ListMap<Key, T>::value_type;
59 using node_type = typename ListMap<Key, T>::node_type;
60 using iterator = typename ListMap<Key, T>::iterator;
61 using const_iterator = typename ListMap<Key, T>::const_iterator;
217 ListMap<Key, T> list_map_;
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLogEventChecker.java36 private final ListMap<Pattern> mExpectedEvents = new ListMap<>();
52 private ListMap<String> finishSync(long waitForExpectedCountMs) { in finishSync()
74 final ListMap<String> eventSequences = new ListMap<>(); in finishSync()
87 final ListMap<String> actualEvents = finishSync(waitForExpectedCountMs); in verify()
93 private String lowLevelMismatchDiagnostics(ListMap<String> actualEvents) { in lowLevelMismatchDiagnostics()
163 private static class ListMap<T> extends HashMap<String, List<T>> { class in LogEventChecker
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache.h137 common::ListMap<std::string, common::ListMap<std::string, std::string>> information_sections_;
139 common::ListMap<std::string, common::ListMap<std::string, std::string>> persistent_devices_;
142 common::LruCache<std::string, common::ListMap<std::string, std::string>> temporary_devices_;
Dconfig_cache.cc192 …section_iter = information_sections_.try_emplace_back(section, common::ListMap<std::string, std::s… in SetProperty()
205 …section_iter = persistent_devices_.try_emplace_back(section, common::ListMap<std::string, std::str… in SetProperty()
223 …auto triple = temporary_devices_.try_emplace(section, common::ListMap<std::string, std::string>{}); in SetProperty()
450 …const std::string& section_name, common::ListMap<std::string, std::string>& device_section_entries… in FixDeviceTypeInconsistencyInSection()
523 const common::ListMap<std::string, std::string>* section_ptr; in HasAtLeastOneMatchingPropertiesInSection()