Home
last modified time | relevance | path

Searched refs:HasSection (Results 1 – 13 of 13) sorted by relevance

/system/bt/gd/storage/
Dmutation_test.cc57 ASSERT_TRUE(config.HasSection("A")); in TEST()
60 ASSERT_TRUE(config.HasSection("B")); in TEST()
68 ASSERT_TRUE(config.HasSection("A")); in TEST()
71 ASSERT_TRUE(config.HasSection("B")); in TEST()
79 ASSERT_TRUE(config.HasSection("A")); in TEST()
82 ASSERT_FALSE(config.HasSection("B")); in TEST()
90 ASSERT_FALSE(config.HasSection("A")); in TEST()
93 ASSERT_FALSE(config.HasSection("B")); in TEST()
101 ASSERT_FALSE(config.HasSection("A")); in TEST()
106 ASSERT_FALSE(config.HasSection("A")); in TEST()
[all …]
Dconfig_cache_test.cc139 ASSERT_TRUE(config.HasSection("A")); in TEST()
140 ASSERT_TRUE(config.HasSection("AA:BB:CC:DD:EE:FF")); in TEST()
154 ASSERT_FALSE(config.HasSection("Ab")); in TEST()
155 ASSERT_FALSE(config.HasSection("AA:11:CC:DD:EE:FF")); in TEST()
165 ASSERT_TRUE(config.HasSection("A")); in TEST()
166 ASSERT_TRUE(config.HasSection("AA:BB:CC:DD:EE:FF")); in TEST()
180 ASSERT_TRUE(config.HasSection("A")); in TEST()
181 ASSERT_TRUE(config.HasSection("AA:BB:CC:DD:EE:FF")); in TEST()
195 ASSERT_TRUE(config.HasSection("A")); in TEST()
196 ASSERT_TRUE(config.HasSection("AA:BB:CC:DD:EE:FF")); in TEST()
[all …]
Dstorage_module_test.cc149 ASSERT_TRUE(config->HasSection(StorageModule::kInfoSection)); in TEST_F()
218 ASSERT_TRUE(storage->GetConfigCachePublic()->HasSection("Metrics")); in TEST_F()
270 ASSERT_FALSE(config->HasSection("01:02:03:ab:cd:ea")); in TEST_F()
277 ASSERT_TRUE(config->HasSection("01:02:03:ab:cd:eb")); in TEST_F()
Dstorage_module.cc151 if (!config || !config->HasSection(kAdapterSection)) { in Start()
156 if (!config || !config->HasSection(kAdapterSection)) { in Start()
Ddevice.cc84 return config_->HasSection(section_); in Exists()
Dconfig_cache.h69 virtual bool HasSection(const std::string& section) const;
Dconfig_cache.cc114 bool ConfigCache::HasSection(const std::string& section) const { in HasSection() function in bluetooth::storage::ConfigCache
/system/bt/btif/test/
Dbtif_config_cache_test.cc69 EXPECT_TRUE(test_btif_config_cache.HasSection(kBtAdapter)); in TEST()
91 EXPECT_FALSE(test_btif_config_cache.HasSection(kBtAddr1)); in TEST()
92 EXPECT_TRUE(test_btif_config_cache.HasSection(kBtAddr2)); in TEST()
93 EXPECT_TRUE(test_btif_config_cache.HasSection(kBtAddr3)); in TEST()
94 EXPECT_TRUE(test_btif_config_cache.HasSection(kBtAddr4)); in TEST()
456 EXPECT_FALSE(test_btif_config_cache.HasSection(kBtAddr1)); in TEST()
457 EXPECT_TRUE(test_btif_config_cache.HasSection(kBtAddr2)); in TEST()
458 EXPECT_FALSE(test_btif_config_cache.HasSection(kBtAddr3)); in TEST()
/system/bt/main/shim/
Dconfig.cc36 bool BtifConfigInterface::HasSection(const std::string& section) { in HasSection() function in bluetooth::shim::BtifConfigInterface
37 return GetStorage()->GetConfigCache()->HasSection(section); in HasSection()
Dconfig.h30 static bool HasSection(const std::string& section);
/system/bt/btif/include/
Dbtif_config_cache.h36 bool HasSection(const std::string& section_name);
/system/bt/test/mock/
Dmock_main_shim_BtifConfigInterface.cc21 bool bluetooth::shim::BtifConfigInterface::HasSection( in HasSection() function in bluetooth::shim::BtifConfigInterface
/system/bt/btif/src/
Dbtif_config_cache.cc86 bool BtifConfigCache::HasSection(const std::string& section_name) { in HasSection() function in BtifConfigCache