Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache.cc137 auto section_iter = information_sections_.find(section); in HasProperty() local
138 if (section_iter != information_sections_.end()) { in HasProperty()
139 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()
141 section_iter = persistent_devices_.find(section); in HasProperty()
142 if (section_iter != persistent_devices_.end()) { in HasProperty()
143 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()
145 section_iter = temporary_devices_.find(section); in HasProperty()
146 if (section_iter != temporary_devices_.end()) { in HasProperty()
147 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()
154 auto section_iter = information_sections_.find(section); in GetProperty() local
[all …]
/packages/modules/Bluetooth/system/osi/test/
Dconfig_test.cc90 auto section_iter = config->Find("DID"); in TEST_F() local
91 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
100 auto section_iter = config->Find("DID"); in TEST_F() local
101 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
102 EXPECT_EQ(section_iter->name, "DID"); in TEST_F()
103 EXPECT_TRUE(section_iter->Has("version")); in TEST_F()
104 auto entry_iter = section_iter->Find("version"); in TEST_F()
105 ASSERT_NE(entry_iter, section_iter->entries.end()); in TEST_F()
108 EXPECT_EQ(section_iter->Find("random"), section_iter->entries.end()); in TEST_F()
109 EXPECT_FALSE(section_iter->Has("random")); in TEST_F()
[all …]