Searched refs:version_file (Results 1 – 2 of 2) sorted by relevance
175 std::string version_file = std::string(tmp_dir.path) + "/.version"; in run_linker_config_smoke_test() local178 android::base::make_scope_guard([&version_file] { unlink(version_file.c_str()); }); in run_linker_config_smoke_test()180 ASSERT_TRUE(write_version(version_file, 113U)) << strerror(errno); in run_linker_config_smoke_test()
492 std::string version_file = dirname(binary_realpath) + "/.version"; in read_binary_config() local494 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config()497 version_file + "\": " + strerror(errno); in read_binary_config()510 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()