Searched refs:config_has_key (Results 1 – 4 of 4) sorted by relevance
/system/bt/osi/test/ |
D | config_test.cc | 99 EXPECT_TRUE(config_has_key(*config, CONFIG_DEFAULT_SECTION, "first_key")); in TEST_F() 108 EXPECT_TRUE(config_has_key(*config, "DID", "recordNumber")); in TEST_F() 109 EXPECT_TRUE(config_has_key(*config, "DID", "primaryRecord")); in TEST_F() 110 EXPECT_TRUE(config_has_key(*config, "DID", "productId")); in TEST_F() 111 EXPECT_TRUE(config_has_key(*config, "DID", "version")); in TEST_F() 116 EXPECT_FALSE(config_has_key(*config, "DID_BAD", "primaryRecord")); in TEST_F() 117 EXPECT_FALSE(config_has_key(*config, "DID", "primaryRecord_BAD")); in TEST_F() 119 config_has_key(*config, CONFIG_DEFAULT_SECTION, "primaryRecord")); in TEST_F() 150 EXPECT_FALSE(config_has_key(*config, "DID", "productId")); in TEST_F() 162 EXPECT_FALSE(config_has_key(*config, "DID", "productId")); in TEST_F()
|
/system/bt/btif/src/ |
D | btif_config.cc | 245 return config_has_key(*config, section, key); in btif_config_exist() 254 bool ret = config_has_key(*config, section, key); in btif_config_get_int() 276 bool ret = config_has_key(*config, section, key); in btif_config_get_uint64() 449 if (!config_has_key(*conf, section, "LinkKey") && in btif_config_remove_unpaired() 450 !config_has_key(*conf, section, "LE_KEY_PENC") && in btif_config_remove_unpaired() 451 !config_has_key(*conf, section, "LE_KEY_PID") && in btif_config_remove_unpaired() 452 !config_has_key(*conf, section, "LE_KEY_PCSRK") && in btif_config_remove_unpaired() 453 !config_has_key(*conf, section, "LE_KEY_LENC") && in btif_config_remove_unpaired() 454 !config_has_key(*conf, section, "LE_KEY_LCSRK")) { in btif_config_remove_unpaired() 507 config_has_key(*config, section, "Restricted")) { in btif_config_remove_restricted()
|
/system/bt/osi/include/ |
D | config.h | 65 bool config_has_key(const config_t& config, const std::string& section,
|
/system/bt/osi/src/ |
D | config.cc | 103 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() function
|