Searched refs:config_has_key (Results 1 – 4 of 4) sorted by relevance
/system/bt/osi/test/ |
D | config_test.cpp | 104 EXPECT_TRUE(config_has_key(config, CONFIG_DEFAULT_SECTION, "first_key")); in TEST_F() 111 EXPECT_TRUE(config_has_key(config, "DID", "recordNumber")); in TEST_F() 112 EXPECT_TRUE(config_has_key(config, "DID", "primaryRecord")); in TEST_F() 113 EXPECT_TRUE(config_has_key(config, "DID", "productId")); in TEST_F() 114 EXPECT_TRUE(config_has_key(config, "DID", "version")); in TEST_F() 120 EXPECT_FALSE(config_has_key(config, "DID_BAD", "primaryRecord")); in TEST_F() 121 EXPECT_FALSE(config_has_key(config, "DID", "primaryRecord_BAD")); in TEST_F() 122 EXPECT_FALSE(config_has_key(config, CONFIG_DEFAULT_SECTION, "primaryRecord")); in TEST_F() 142 EXPECT_FALSE(config_has_key(config, "DID", "productId")); in TEST_F() 156 EXPECT_FALSE(config_has_key(config, "DID", "productId")); in TEST_F()
|
/system/bt/btif/src/ |
D | btif_config.c | 274 bool ret = config_has_key(config, section, key); in btif_config_exist() 287 bool ret = config_has_key(config, section, key); in btif_config_get_int() 510 if (!config_has_key(conf, section, "LinkKey") && in btif_config_remove_unpaired() 511 !config_has_key(conf, section, "LE_KEY_PENC") && in btif_config_remove_unpaired() 512 !config_has_key(conf, section, "LE_KEY_PID") && in btif_config_remove_unpaired() 513 !config_has_key(conf, section, "LE_KEY_PCSRK") && in btif_config_remove_unpaired() 514 !config_has_key(conf, section, "LE_KEY_LENC") && in btif_config_remove_unpaired() 515 !config_has_key(conf, section, "LE_KEY_LCSRK")) { in btif_config_remove_unpaired() 567 if (string_is_bdaddr(section) && config_has_key(config, section, "Restricted")) { in btif_config_remove_restricted()
|
/system/bt/osi/include/ |
D | config.h | 61 bool config_has_key(const config_t *config, const char *section, const char *key);
|
/system/bt/osi/src/ |
D | config.c | 143 bool config_has_key(const config_t *config, const char *section, const char *key) { in config_has_key() function
|