Searched refs:status_fd (Results 1 – 6 of 6) sorted by relevance
/aosp12/system/extras/postinst/ |
H A D | postinst.sh | 51 status_fd="$2" 57 print -u${status_fd} "global_progress 0" 62 print -u${status_fd} "global_progress 0.5" 67 print -u${status_fd} "global_progress 1.0"
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | install_test.cpp | 121 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 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() 244 int status_fd = 10; in TEST() local [all …]
|
/aosp12/system/libprocinfo/ |
H A D | process.cpp | 68 int status_fd = openat(fd, "status", O_RDONLY | O_CLOEXEC); in GetProcessInfoFromProcPidFd() local 76 if (status_fd == -1) { in GetProcessInfoFromProcPidFd() 81 std::unique_ptr<FILE, decltype(&fclose)> fp(fdopen(status_fd, "r"), fclose); in GetProcessInfoFromProcPidFd() 84 close(status_fd); in GetProcessInfoFromProcPidFd()
|
/aosp12/bootable/recovery/install/include/private/ |
H A D | setup_commands.h | 31 int status_fd, std::vector<std::string>* cmd); 38 bool SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd,
|
/aosp12/system/update_engine/aosp/ |
H A D | sideload_main.cc | 127 int64_t status_fd) { in ApplyUpdatePayload() argument 138 brillo::FileStream::FromFileDescriptor(status_fd, true, nullptr)); in ApplyUpdatePayload() 187 DEFINE_int64(status_fd, -1, "A file descriptor to notify the update status."); in main()
|
/aosp12/bootable/recovery/install/ |
H A D | install.cpp | 238 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()
|