Home
last modified time | relevance | path

Searched refs:binary_path (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/tests/unit/
Dinstall_test.cpp124 std::string binary_path = std::string(td.path) + "/update_binary"; in TEST() local
125 Paths::Get().set_temporary_update_binary(binary_path); in TEST()
129 ASSERT_EQ(binary_path, cmd[0]); in TEST()
134 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()
141 ASSERT_EQ(binary_path, cmd[0]); in TEST()
147 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()
/bootable/recovery/install/
Dinstall.cpp287 const std::string binary_path = Paths::Get().temporary_update_binary(); in SetUpNonAbUpdateCommands() local
288 unlink(binary_path.c_str()); in SetUpNonAbUpdateCommands()
290 open(binary_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0755)); in SetUpNonAbUpdateCommands()
292 PLOG(ERROR) << "Failed to create " << binary_path; in SetUpNonAbUpdateCommands()
307 binary_path, in SetUpNonAbUpdateCommands()