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