Home
last modified time | relevance | path

Searched refs:ReadSmallFile (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/os/linux_generic/
Dfiles_test.cc27 using bluetooth::os::ReadSmallFile;
46 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST()
50 EXPECT_THAT(ReadSmallFile(to_file.string()), Optional(StrEq(text))); in TEST()
60 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST()
69 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST()
72 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST()
81 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST()
86 EXPECT_FALSE(ReadSmallFile("/woof")); in TEST()
Dfiles.cc66 std::optional<std::string> ReadSmallFile(const std::string& path) { in ReadSmallFile() function
/system/bt/gd/os/
Dfiles.h34 std::optional<std::string> ReadSmallFile(const std::string& path);
/system/bt/gd/storage/
Dlegacy_config_file_test.cc29 using bluetooth::os::ReadSmallFile;
122 EXPECT_THAT(ReadSmallFile(temp_config.string()), Optional(StrEq(kWriteTestConfig))); in TEST()
Dstorage_module_test.cc231 auto config = bluetooth::os::ReadSmallFile(temp_config_.string()); in TEST_F()