Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 16 of 16) sorted by relevance

/bootable/recovery/updater/
Dupdater_runtime_dynamic_partitions.cpp119 const std::string& arg(size_t pos) const { in arg() function
124 auto str = arg(pos); in uint_arg()
139 const auto& partition_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpResize()
163 const auto& partition_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpRemove()
175 const auto& partition_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpAdd()
176 const auto& group_name_suffix = AddSlotSuffix(params.arg(1)); in PerformOpAdd()
189 const auto& partition_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpMove()
190 const auto& new_group_name_suffix = AddSlotSuffix(params.arg(1)); in PerformOpMove()
212 const auto& group_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpAddGroup()
236 const auto& group_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpResizeGroup()
[all …]
Dupdate_simulator_main.cpp74 int arg; in main() local
76 while ((arg = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) { in main()
77 if (arg != 0) { in main()
Dsimulator_runtime.cpp134 std::string SimulatorRuntime::AddSlotSuffix(const std::string_view arg) const { in AddSlotSuffix()
135 LOG(INFO) << "Skip adding slot suffix to " << arg; in AddSlotSuffix()
136 return std::string(arg); in AddSlotSuffix()
Ddynamic_partitions.cpp62 [](const auto& arg) { return arg->data; }); in ReadStringArgs() argument
Dupdater_runtime.cpp191 std::string UpdaterRuntime::AddSlotSuffix(const std::string_view arg) const { in AddSlotSuffix()
192 return std::string(arg) + fs_mgr_get_slot_suffix(); in AddSlotSuffix()
Dinstall.cpp864 const std::string& arg = args[0]; in AddSlotSuffixFn() local
866 return StringValue(updater_runtime->AddSlotSuffix(arg)); in AddSlotSuffixFn()
/bootable/recovery/recovery_utils/include/recovery_utils/
Dlogging.h42 void* arg);
45 void* arg);
/bootable/recovery/applypatch/
Dapplypatch_modes.cpp137 int arg; in applypatch_modes() local
139 while ((arg = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) { in applypatch_modes()
140 switch (arg) { in applypatch_modes()
/bootable/recovery/tests/manual/
Drecovery_test.cpp39 const char *buf, size_t len, void *arg) { in __pmsg_fn() argument
45 EXPECT_EQ(nullptr, arg); in __pmsg_fn()
/bootable/recovery/
Drecovery.cpp548 for (const auto& arg : args) { in set_retry_bootloader_message() local
549 if (!android::base::StartsWith(arg, "--retry_count")) { in set_retry_bootloader_message()
550 options.push_back(arg); in set_retry_bootloader_message()
634 int arg; in start_recovery() local
639 while ((arg = getopt_long(args_to_parse.size() - 1, args_to_parse.data(), "", OPTIONS, in start_recovery()
641 switch (arg) { in start_recovery()
713 for (const auto& arg : args) { in start_recovery() local
714 printf(" \"%s\"", arg.c_str()); in start_recovery()
Drecovery_main.cpp364 int arg; in main() local
366 while ((arg = getopt_long(args_to_parse.size() - 1, args_to_parse.data(), "", OPTIONS, in main()
368 switch (arg) { in main()
/bootable/recovery/recovery_utils/
Dlogging.cpp88 size_t len, void* arg) { in logbasename() argument
89 bool* do_rotate = static_cast<bool*>(arg); in logbasename()
98 void* arg) { in logrotate() argument
99 bool* do_rotate = static_cast<bool*>(arg); in logrotate()
/bootable/recovery/otautil/
Dsysutil.cpp244 [](const std::string& arg) { return const_cast<char*>(arg.c_str()); }); in StringVectorToNullTerminatedArray() argument
/bootable/recovery/edify/include/edify/
Dupdater_runtime_interface.h76 virtual std::string AddSlotSuffix(const std::string_view arg) const = 0;
/bootable/recovery/updater/include/updater/
Dupdater_runtime.h59 std::string AddSlotSuffix(const std::string_view arg) const override;
Dsimulator_runtime.h56 std::string AddSlotSuffix(const std::string_view arg) const override;