Home
last modified time | relevance | path

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

/bootable/recovery/install/include/private/
Dsetup_commands.h31 int status_fd, std::vector<std::string>* cmd);
38 int SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd,
/bootable/recovery/tests/component/
Dinstall_test.cpp201 int status_fd = 10; in TEST() local
207 ASSERT_EQ(0, SetUpNonAbUpdateCommands(package, zip, 0, status_fd, &cmd)); in TEST()
211 ASSERT_EQ(std::to_string(status_fd), cmd[2]); in TEST()
219 ASSERT_EQ(0, SetUpNonAbUpdateCommands(package, zip, 2, status_fd, &cmd)); in TEST()
223 ASSERT_EQ(std::to_string(status_fd), cmd[2]); in TEST()
241 int status_fd = 10; in TEST() local
246 ASSERT_EQ(INSTALL_CORRUPT, SetUpNonAbUpdateCommands(package, zip, 0, status_fd, &cmd)); in TEST()
282 int status_fd = 10; in VerifyAbUpdateCommands() local
285 ASSERT_EQ(0, SetUpAbUpdateCommands(package, zip, status_fd, &cmd)); in VerifyAbUpdateCommands()
291 ASSERT_EQ("--status_fd=" + std::to_string(status_fd), cmd[4]); in VerifyAbUpdateCommands()
[all …]
/bootable/recovery/install/
Dinstall.cpp232 int SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd, in SetUpAbUpdateCommands() argument
267 android::base::StringPrintf("--status_fd=%d", status_fd), in SetUpAbUpdateCommands()
273 int status_fd, std::vector<std::string>* cmd) { in SetUpNonAbUpdateCommands() argument
308 std::to_string(status_fd), in SetUpNonAbUpdateCommands()