Searched refs:binary_path (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/unit/ |
D | zip_test.cpp | 40 ZipString binary_path(BINARY_PATH); in TEST() local 43 ASSERT_EQ(0, FindEntry(handle, binary_path, &binary_entry)); in TEST()
|
/bootable/recovery/tests/component/ |
D | install_test.cpp | 204 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/ |
D | install.cpp | 285 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()
|