Home
last modified time | relevance | path

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

/system/bt/btif/test/
Dbtif_config_cache_test.cc73 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddr1, "Name")); in TEST()
76 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddr1, "Property_Int")); in TEST()
80 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddr2, "Name")); in TEST()
84 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddr3, "Name")); in TEST()
88 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddr4, "Name")); in TEST()
106 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddrInvalid1, "Name")); in TEST()
111 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddrInvalid1, "LinkKey")); in TEST()
117 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddrInvalid2, "Name")); in TEST()
122 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddrInvalid2, "LinkKey")); in TEST()
128 EXPECT_TRUE(test_btif_config_cache.HasKey(kBtAddrInvalid3, "Name")); in TEST()
[all …]
/system/bt/common/
Dlru_unittest.cc87 EXPECT_FALSE(cache.HasKey(1)); in TEST()
96 EXPECT_FALSE(cache.HasKey(2)); in TEST()
107 EXPECT_FALSE(cache.HasKey(4)); in TEST()
121 EXPECT_FALSE(cache.HasKey(2)); in TEST()
122 EXPECT_FALSE(cache.HasKey(3)); in TEST()
153 EXPECT_TRUE(cache.HasKey(1)); in TEST()
154 EXPECT_TRUE(cache.HasKey(2)); in TEST()
155 EXPECT_FALSE(cache.HasKey(3)); in TEST()
166 EXPECT_FALSE(cache.HasKey(key)); in TEST()
169 EXPECT_TRUE(cache.HasKey(key)); in TEST()
[all …]
Dlru.h113 bool HasKey(const K& key) { in HasKey() function
/system/bt/btif/include/
Dbtif_config_cache.h39 bool HasKey(const std::string& section_name, const std::string& key);
/system/bt/btif/src/
Dbtif_config_cache.cc83 return unpaired_devices_cache_.HasKey(section_name); in HasUnpairedSection()
90 bool BtifConfigCache::HasKey(const std::string& section_name, in HasKey() function in BtifConfigCache
Dbtif_config.cc412 return btif_config_cache.HasKey(section, key); in btif_config_exist()