Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dzip_test.cpp40 ZipString binary_path(BINARY_PATH); in TEST() local
43 ASSERT_EQ(0, FindEntry(handle, binary_path, &binary_entry)); in TEST()
/bootable/recovery/tests/component/
Dinstall_test.cpp204 std::string binary_path = std::string(td.path) + "/update_binary"; in TEST() local
205 Paths::Get().set_temporary_update_binary(binary_path); in TEST()
209 ASSERT_EQ(binary_path, cmd[0]); in TEST()
214 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()
221 ASSERT_EQ(binary_path, cmd[0]); in TEST()
227 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()
/bootable/recovery/install/
Dinstall.cpp285 const std::string binary_path = Paths::Get().temporary_update_binary(); in SetUpNonAbUpdateCommands() local
286 unlink(binary_path.c_str()); in SetUpNonAbUpdateCommands()
288 open(binary_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0755)); in SetUpNonAbUpdateCommands()
290 PLOG(ERROR) << "Failed to create " << binary_path; in SetUpNonAbUpdateCommands()
306 binary_path, in SetUpNonAbUpdateCommands()