Searched refs:config_read (Results 1 – 2 of 2) sorted by relevance
/system/bt/gd/storage/ |
D | legacy_config_file_test.cc | 48 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST() local 49 EXPECT_TRUE(config_read); in TEST() 52 EXPECT_EQ(config, *config_read); in TEST() 53 EXPECT_THAT(config_read->GetPersistentSections(), ElementsAre("CC:DD:EE:FF:00:11")); in TEST() 54 EXPECT_THAT(config_read->GetProperty("A", "B"), Optional(StrEq("C"))); in TEST() 55 …EXPECT_THAT(config_read->GetProperty("CC:DD:EE:FF:00:11", "LinkKey"), Optional(StrEq("AABBAABBCCDD… in TEST() 86 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST() local 87 EXPECT_TRUE(config_read); in TEST() 88 EXPECT_THAT(config_read->GetPersistentSections(), ElementsAre("01:02:03:ab:cd:ea")); in TEST() 89 EXPECT_THAT(config_read->GetProperty("Info", "FileSource"), Optional(StrEq("Empty"))); in TEST() [all …]
|
/system/nfc/utils/ |
D | config.cc | 117 bool config_read = ReadFileToString(file_name, &config); in parseFromFile() local 118 CHECK(config_read); in parseFromFile()
|