| /external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
| brillo_RecoverFromBadImage.py | 52 target_slot = 0 if current_slot else 1 53 partition = partition[:-1] + chr(ord('a') + target_slot) 56 '(slot %d)', current_slot, partition, target_slot) 59 target_slot = ord(partition[-1]) - ord('a') 60 if target_slot == current_slot: 61 target_slot = None 69 return partition, target_slot 138 partition, target_slot = self.resolve_slot(host, partition) 155 if target_slot is not None: 157 host.run('bootctl set-active-boot-slot %d' % target_slot) [all...] |
| /frameworks/native/cmds/installd/ |
| otapreopt_script.sh | 21 TARGET_SLOT="$1" 43 if [ "$TARGET_SLOT" = "0" ] ; then 45 elif [ "$TARGET_SLOT" = "1" ] ; then 48 echo "Unknown target slot $TARGET_SLOT"
|
| otapreopt_parameters.h | 52 std::string target_slot; member in class:android::installd::OTAPreoptParameters
|
| otapreopt_parameters.cpp | 67 target_slot = target_slot_arg; 68 if (!ValidateTargetSlotSuffix(target_slot)) { 69 LOG(ERROR) << "Target slot suffix not legal: " << target_slot;
|
| otapreopt.cpp | 169 return parameters_.target_slot; [all...] |
| /system/extras/postinst/ |
| postinst.sh | 43 # We get called with two parameters: <target_slot> <status_fd> 44 # * <target_slot> is the slot where the new system was just copied. This is 46 # `bootctl get-suffix ${target_slot}` 50 target_slot="$1"
|
| /system/update_engine/payload_consumer/ |
| install_plan.cc | 47 (target_slot == that.target_slot) && (partitions == that.partitions)); 86 << ", target_slot: " << BootControlInterface::SlotName(target_slot) 106 if (target_slot != BootControlInterface::kInvalidSlot) { 108 partition.name, target_slot, &partition.target_path) && result;
|
| install_plan.h | 50 // |source_slot| and |target_slot| if available. Returns whether it succeeded 82 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|
| postinstall_runner_action.cc | 186 command.push_back(std::to_string(install_plan_.target_slot)); 341 if (!boot_control_->SetActiveBootSlot(install_plan_.target_slot)) {
|
| download_action.cc | 201 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { 203 << BootControlInterface::SlotName(install_plan_.target_slot)
|
| filesystem_verifier_action_unittest.cc | 150 install_plan.target_slot = 1;
|
| download_action_unittest.cc | 150 install_plan.target_slot = 1; 156 install_plan.target_slot, true); 200 install_plan.target_slot));
|
| delta_performer_integration_test.cc | 728 install_plan->target_slot = 1; 785 kLegacyPartitionNameRoot, install_plan->target_slot, target_root); 787 kLegacyPartitionNameKernel, install_plan->target_slot, target_kernel); [all...] |
| delta_performer_unittest.cc | 151 install_plan_.target_slot = 1; 257 kLegacyPartitionNameRoot, install_plan_.target_slot, new_part); 261 kLegacyPartitionNameKernel, install_plan_.target_slot, "/dev/null"); [all...] |
| delta_performer.cc | 381 << BootControlInterface::SlotName(install_plan_->target_slot) [all...] |
| /external/autotest/client/site_tests/firmware_TouchMTB/ |
| mtb.py | 603 def get_x_y(self, target_slot): 619 if (slot == target_slot and slot == 0 and not target_slot_live and 626 if slot == target_slot and not target_slot_live: 628 if slot != target_slot: 637 # Check if the finger at the target_slot is leaving. 641 # If target_slot is alive, and both x and y have [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| presized_cuckoo_map.h | 106 int target_slot = kNoSpace; local 113 } else if (target_slot == kNoSpace && bptr->keys[slot] == kUnusedSlot) { 115 target_slot = slot; 120 if (target_slot != kNoSpace) { 121 InsertInternal(tk, v, target_bucket, target_slot);
|
| /system/update_engine/ |
| omaha_response_handler_action.cc | 131 install_plan_.target_slot = install_plan_.source_slot == 0 ? 1 : 0; 138 kPrefsChannelOnSlotPrefix + std::to_string(install_plan_.target_slot);
|
| omaha_response_handler_action_unittest.cc | 182 EXPECT_EQ(1U, install_plan.target_slot); 209 EXPECT_EQ(0U, install_plan.target_slot); 229 EXPECT_EQ(1U, install_plan.target_slot); 522 EXPECT_EQ(1U, install_plan.target_slot);
|
| update_attempter_android.cc | 207 install_plan_.target_slot = install_plan_.source_slot == 0 ? 1 : 0;
|
| update_attempter.cc | 693 install_plan.target_slot = GetRollbackSlot(); [all...] |
| /frameworks/native/cmds/installd/tests/ |
| installd_otapreopt_test.cpp | 58 ASSERT_STREQ(params.target_slot.c_str(), args[1]);
|
| /external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
| mtb_unittest.py | 41 def get_x_y(self, target_slot): 561 target_slot = 0 565 displacements = packets.get_displacements_for_slots(target_slot)
|
| /system/update_engine/payload_generator/ |
| generate_delta_main.cc | 200 install_plan.target_slot = 1; 208 part_name, install_plan.target_slot, target_path);
|