Searched refs:cmd (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/tests/component/ |
D | install_test.cpp | 206 std::vector<std::string> cmd; in TEST() local 207 ASSERT_EQ(0, SetUpNonAbUpdateCommands(package, zip, 0, status_fd, &cmd)); in TEST() 208 ASSERT_EQ(4U, cmd.size()); in TEST() 209 ASSERT_EQ(binary_path, cmd[0]); in TEST() 210 ASSERT_EQ("3", cmd[1]); // RECOVERY_API_VERSION in TEST() 211 ASSERT_EQ(std::to_string(status_fd), cmd[2]); in TEST() 212 ASSERT_EQ(package, cmd[3]); in TEST() 218 cmd.clear(); in TEST() 219 ASSERT_EQ(0, SetUpNonAbUpdateCommands(package, zip, 2, status_fd, &cmd)); in TEST() 220 ASSERT_EQ(5U, cmd.size()); in TEST() [all …]
|
D | updater_test.cpp | 241 std::string cmd = in TEST_F() local 243 expect("t", cmd, kNoCause); in TEST_F() 247 cmd = "patch_partition_check(\"" + source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F() 248 expect("t", cmd, kNoCause); in TEST_F() 252 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F() 253 expect("t", cmd, kNoCause); in TEST_F() 256 cmd = in TEST_F() 258 expect("", cmd, kNoCause); in TEST_F() 571 std::string cmd; in TEST_F() local 572 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F() [all …]
|
/bootable/recovery/install/include/private/ |
D | setup_commands.h | 31 int status_fd, std::vector<std::string>* cmd); 39 std::vector<std::string>* cmd);
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 720 CommandLine cmd; in main() local 722 cmd = new GnuParser().parse(options, args); in main() 729 int imageWidth = Integer.parseUnsignedInt(cmd.getOptionValue("image_width")); in main() 731 if (cmd.hasOption("verbose")) { in main() 740 cmd.getOptionValue("text_name"), in main() 742 cmd.getOptionValue("font_dir"), in main() 743 cmd.hasOption("center_alignment")); in main() 746 if (cmd.hasOption("locales")) { in main() 747 String[] localesList = cmd.getOptionValue("locales").split(","); in main() 753 imageGenerator.readLocalizedStringFromXmls(cmd.getOptionValue("resource_dir"), in main() [all …]
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 218 std::string cmd = command; in reboot() local 220 cmd += ",quiescent"; in reboot() 222 return android::base::SetProperty(ANDROID_RB_PROPERTY, cmd); in reboot()
|
/bootable/recovery/install/ |
D | install.cpp | 233 std::vector<std::string>* cmd) { in SetUpAbUpdateCommands() argument 234 CHECK(cmd != nullptr); in SetUpAbUpdateCommands() 262 *cmd = { in SetUpAbUpdateCommands() 273 int status_fd, std::vector<std::string>* cmd) { in SetUpNonAbUpdateCommands() argument 274 CHECK(cmd != nullptr); in SetUpNonAbUpdateCommands() 305 *cmd = { in SetUpNonAbUpdateCommands() 312 cmd->push_back("retry"); in SetUpNonAbUpdateCommands()
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 67 static bool WriteCommandToFd(MinadbdCommand cmd, int fd) { in WriteCommandToFd() argument 70 android::base::put_unaligned(message + strlen(kMinadbdStatusPrefix), cmd); in WriteCommandToFd()
|