• Home
  • Raw
  • Download

Lines Matching refs:slot

1029     std::string slot = slot_name;  in verify_slot()  local
1030 if (slot == "all") { in verify_slot()
1046 if (slot == "other") { in verify_slot()
1054 if (slot.size() == 1 && (slot[0]-'a' >= 0 && slot[0]-'a' < count)) return slot; in verify_slot()
1056 fprintf(stderr, "Slot %s does not exist. supported slots are:\n", slot.c_str()); in verify_slot()
1064 static std::string verify_slot(const std::string& slot) { in verify_slot() argument
1065 return verify_slot(slot, true); in verify_slot()
1068 static void do_for_partition(const std::string& part, const std::string& slot, in do_for_partition() argument
1078 if (slot == "") { in do_for_partition()
1085 func(part + '_' + slot); in do_for_partition()
1088 if (force_slot && slot != "") { in do_for_partition()
1090 part.c_str(), slot.c_str()); in do_for_partition()
1101 static void do_for_partitions(const std::string& part, const std::string& slot, in do_for_partitions() argument
1105 if (slot == "all") { in do_for_partitions()
1107 die("Could not check if partition %s has slot %s", part.c_str(), slot.c_str()); in do_for_partitions()
1117 do_for_partition(part, slot, func, force_slot); in do_for_partitions()
1203 void FlashImage(const Image& image, const std::string& slot, fastboot_buffer* buf);
1247 for (const auto& [image, slot] : os_images_) { in Flash()
1253 do_for_partitions(image->part_name, slot, resize_partition, false); in Flash()
1287 std::string slot = slot_override_; in CollectImages() local
1292 slot = secondary_slot_; in CollectImages()
1295 boot_images_.emplace_back(&images[i], slot); in CollectImages()
1297 os_images_.emplace_back(&images[i], slot); in CollectImages()
1303 for (const auto& [image, slot] : images) { in FlashImages()
1312 FlashImage(*image, slot, &buf); in FlashImages()
1316 void FlashAllTool::FlashImage(const Image& image, const std::string& slot, fastboot_buffer* buf) { in FlashImage() argument
1329 do_for_partitions(image.part_name, slot, flash, false); in FlashImage()
1358 for (const auto& [image, slot] : os_images_) { in UpdateSuperPartition()
1359 std::string partition_name = image->part_name + "_"s + slot; in UpdateSuperPartition()
1917 std::string slot = verify_slot(next_arg(&args), false); in Main() local
1918 fb->SetActive(slot); in Main()