Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dinstall_test.cpp121 int status_fd = 10; in TEST() local
127 ASSERT_TRUE(SetUpNonAbUpdateCommands(package, zip, 0, status_fd, &cmd)); in TEST()
131 ASSERT_EQ(std::to_string(status_fd), cmd[2]); in TEST()
139 ASSERT_TRUE(SetUpNonAbUpdateCommands(package, zip, 2, status_fd, &cmd)); in TEST()
143 ASSERT_EQ(std::to_string(status_fd), cmd[2]); in TEST()
161 int status_fd = 10; in TEST() local
166 ASSERT_FALSE(SetUpNonAbUpdateCommands(package, zip, 0, status_fd, &cmd)); in TEST()
201 int status_fd = 10; in VerifyAbUpdateCommands() local
204 ASSERT_TRUE(SetUpAbUpdateCommands(package, zip, status_fd, &cmd)); in VerifyAbUpdateCommands()
210 ASSERT_EQ("--status_fd=" + std::to_string(status_fd), cmd[4]); in VerifyAbUpdateCommands()
[all …]
/bootable/recovery/install/include/private/
Dsetup_commands.h31 int status_fd, std::vector<std::string>* cmd);
38 bool SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd,
/bootable/recovery/install/
Dinstall.cpp238 bool SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd, in SetUpAbUpdateCommands() argument
277 android::base::StringPrintf("--status_fd=%d", status_fd), in SetUpAbUpdateCommands()
283 int status_fd, std::vector<std::string>* cmd) { in SetUpNonAbUpdateCommands() argument
316 std::to_string(status_fd), in SetUpNonAbUpdateCommands()