Home
last modified time | relevance | path

Searched refs:options (Results 1 – 10 of 10) sorted by relevance

/bootable/recovery/tests/unit/
Dbootloader_message_test.cpp54 std::vector<std::string> options = { "option1", "option2" }; in TEST() local
63 ASSERT_TRUE(update_bootloader_message_in_struct(&boot, options)); in TEST()
67 std::string expected = "recovery\n" + android::base::Join(options, "\n") + "\n"; in TEST()
78 std::vector<std::string> options; in TEST() local
82 ASSERT_TRUE(update_bootloader_message_in_struct(&boot, options)); in TEST()
97 std::vector<std::string> options; in TEST() local
99 options.push_back("option: " + std::to_string(i)); in TEST()
104 ASSERT_TRUE(update_bootloader_message_in_struct(&boot, options)); in TEST()
107 std::string expected = "recovery\n" + android::base::Join(options, "\n") + "\n"; in TEST()
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp180 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err) { in write_bootloader_message() argument
182 update_bootloader_message_in_struct(&boot, options); in write_bootloader_message()
187 bool write_bootloader_message_to(const std::vector<std::string>& options, in write_bootloader_message_to() argument
190 update_bootloader_message_in_struct(&boot, options); in write_bootloader_message_to()
195 bool update_bootloader_message(const std::vector<std::string>& options, std::string* err) { in update_bootloader_message() argument
200 update_bootloader_message_in_struct(&boot, options); in update_bootloader_message()
206 const std::vector<std::string>& options) { in update_bootloader_message_in_struct() argument
215 for (const auto& s : options) { in update_bootloader_message_in_struct()
312 extern "C" bool write_bootloader_message(const char* options) { in write_bootloader_message() argument
314 return write_bootloader_message({options}, &err); in write_bootloader_message()
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h143 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err);
147 bool write_bootloader_message_to(const std::vector<std::string>& options,
152 bool update_bootloader_message(const std::vector<std::string>& options, std::string* err);
157 const std::vector<std::string>& options);
180 bool write_bootloader_message(const char* options);
/bootable/recovery/tools/image_generator/
DImageGenerator.java645 public static void printUsage(Options options) { in printUsage() argument
646 new HelpFormatter().printHelp("java -jar path_to_jar [required_options]", options); in printUsage()
651 Options options = new Options(); in createOptions() local
652 options.addOption( in createOptions()
659 options.addOption( in createOptions()
667 options.addOption( in createOptions()
676 options.addOption( in createOptions()
686 options.addOption( in createOptions()
693 options.addOption( in createOptions()
699 options.addOption( in createOptions()
[all …]
/bootable/recovery/install/
Dfuse_install.cpp50 std::vector<std::string> options; in SetSdcardUpdateBootloaderMessage() local
52 if (!update_bootloader_message(options, &err)) { in SetSdcardUpdateBootloaderMessage()
/bootable/recovery/
Drecovery.cpp547 std::vector<std::string> options; in set_retry_bootloader_message() local
550 options.push_back(arg); in set_retry_bootloader_message()
555 options.push_back(android::base::StringPrintf("--retry_count=%d", retry_count)); in set_retry_bootloader_message()
557 if (!update_bootloader_message(options, &err)) { in set_retry_bootloader_message()
Drecovery_main.cpp158 std::vector<std::string> options(args.cbegin() + 1, args.cend()); in get_args() local
159 if (!update_bootloader_message(options, &err)) { in get_args()
DREADME.md122 authorizing a host device under recovery. We can use one of the following options instead.
/bootable/recovery/uncrypt/
Duncrypt.cpp584 std::vector<std::string> options = android::base::Split(content, "\n"); in setup_bcb() local
586 for (auto& option : options) { in setup_bcb()
599 if (!write_bootloader_message(options, &err)) { in setup_bcb()
/bootable/recovery/tests/testdata/
Drecovery_body166 #<src> <mnt_point> <type> <mnt_flags and options> <fs_mg…
2777 #<src> <mnt_point> <type> <mnt_flags and options> <fs_mg…
2938 dumpstate.options u:object_r:dumpstate_options_prop:s0