Home
last modified time | relevance | path

Searched refs:target_slot (Results 1 – 25 of 33) sorted by relevance

12

/system/update_engine/
Dmock_dynamic_partition_control.h90 uint32_t target_slot, in RealGetSystemOtherPath() argument
95 source_slot, target_slot, partition_name_suffix, path, should_unmap); in RealGetSystemOtherPath()
99 uint32_t target_slot) { in RealEraseSystemOtherAvbFooter() argument
101 source_slot, target_slot); in RealEraseSystemOtherAvbFooter()
110 uint32_t target_slot, in RealPrepareDynamicPartitionsForUpdate() argument
114 source_slot, target_slot, manifest, delete_source); in RealPrepareDynamicPartitionsForUpdate()
Ddynamic_partition_control_android.h45 uint32_t target_slot,
62 uint32_t target_slot,
104 uint32_t target_slot);
109 uint32_t target_slot);
163 uint32_t target_slot,
183 uint32_t target_slot);
191 uint32_t target_slot,
209 uint32_t target_slot,
215 uint32_t target_slot,
Ddynamic_partition_control_android.cc312 uint32_t target_slot) { in LoadMetadataBuilder() argument
317 target_slot, in LoadMetadataBuilder()
334 uint32_t target_slot) { in StoreMetadata() argument
338 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
350 if (!UpdatePartitionTable(super_device, *metadata, target_slot)) { in StoreMetadata()
352 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
357 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
401 uint32_t target_slot, in PreparePartitionsForUpdate() argument
406 target_slot_ = target_slot; in PreparePartitionsForUpdate()
425 TEST_AND_RETURN_FALSE(EraseSystemOtherAvbFooter(source_slot, target_slot)); in PreparePartitionsForUpdate()
[all …]
Domaha_response_handler_action.cc131 install_plan_.target_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction()
135 install_plan_.target_slot = install_plan_.source_slot == 0 ? 1 : 0; in PerformAction()
143 kPrefsChannelOnSlotPrefix + std::to_string(install_plan_.target_slot); in PerformAction()
Ddynamic_partition_control_android_unittest.cc82 uint32_t target_slot, in SetUp()
86 source_slot, target_slot, manifest, delete_source); in SetUp()
818 auto target_slot, in TEST_P()
823 source_slot, target_slot, name, path, should_unmap); in TEST_P()
843 auto target_slot, in TEST_P() argument
848 source_slot, target_slot, name, path, should_unmap); in TEST_P()
867 auto target_slot, in TEST_P() argument
872 source_slot, target_slot, name, path, should_unmap); in TEST_P()
997 auto target_slot, in TEST_P()
1001 EXPECT_EQ(target(), target_slot); in TEST_P()
[all …]
Domaha_response_handler_action_unittest.cc196 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
223 EXPECT_EQ(0U, install_plan.target_slot); in TEST_F()
248 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
271 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
843 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
/system/update_engine/payload_consumer/
Dinstall_plan.cc53 (target_slot == that.target_slot) && (partitions == that.partitions)); in operator ==()
100 << ", target_slot: " << BootControlInterface::SlotName(target_slot) in Dump()
124 if (target_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
127 partition.name, target_slot, &partition.target_path) && in LoadPartitionsFromSlots()
Dpartition_update_generator_android.cc50 BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload() argument
68 CreatePartitionUpdate(partition_name, source_slot, target_slot); in GenerateOperationsForPartitionsNotInPayload()
129 BootControlInterface::Slot target_slot) { in CreatePartitionUpdate() argument
143 target_slot, in CreatePartitionUpdate()
155 << " dynamic, and target slot " << target_slot << " is " in CreatePartitionUpdate()
Dpartition_update_generator_android.h41 BootControlInterface::Slot target_slot,
64 BootControlInterface::Slot target_slot);
Dpartition_update_generator_stub.h33 BootControlInterface::Slot target_slot,
Dpartition_update_generator_stub.cc25 chromeos_update_engine::BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload() argument
Dpartition_update_generator_interface.h43 BootControlInterface::Slot target_slot,
Ddelta_performer_fuzzer.cc56 .target_slot = 1, in FuzzDeltaPerformer()
Dpostinstall_runner_action.cc194 command.push_back(std::to_string(install_plan_.target_slot)); in PerformPartitionPostinstall()
346 !boot_control_->SetActiveBootSlot(install_plan_.target_slot)) { in CompletePostinstall()
Dinstall_plan.h84 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
Ddownload_action.cc196 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction()
198 << BootControlInterface::SlotName(install_plan_.target_slot) in PerformAction()
Ddelta_performer.cc355 << BootControlInterface::SlotName(install_plan_->target_slot) in OpenCurrentPartition()
788 if (install_plan_->target_slot != BootControlInterface::kInvalidSlot) { in ParseManifestPartitions()
816 install_plan_->target_slot, in ParseManifestPartitions()
934 install_plan_->target_slot, in PreparePartitionsForUpdate()
943 BootControlInterface::Slot target_slot, in PreparePartitionsForUpdate() argument
964 target_slot, in PreparePartitionsForUpdate()
969 << BootControlInterface::SlotName(target_slot); in PreparePartitionsForUpdate()
Ddownload_action_unittest.cc151 install_plan.target_slot = 1; in TestWithData()
157 install_plan.target_slot, true); in TestWithData()
202 install_plan.target_slot)); in TestWithData()
Ddelta_performer.h202 BootControlInterface::Slot target_slot,
/system/update_engine/common/
Ddynamic_partition_control_stub.h39 uint32_t target_slot,
57 uint32_t target_slot,
Ddynamic_partition_control_stub.cc47 uint32_t target_slot, in PreparePartitionsForUpdate() argument
81 uint32_t target_slot, in VerifyExtentsForUntouchedPartitions() argument
Ddynamic_partition_control_interface.h84 uint32_t target_slot,
138 uint32_t target_slot,
/system/extras/postinst/
Dpostinst.sh50 target_slot="$1"
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.h43 SnapshotMetadataUpdater(android::fs_mgr::MetadataBuilder* builder, uint32_t target_slot,
Dsnapshot_metadata_updater.cpp39 SnapshotMetadataUpdater::SnapshotMetadataUpdater(MetadataBuilder* builder, uint32_t target_slot, in SnapshotMetadataUpdater() argument
41 : builder_(builder), target_suffix_(SlotSuffixForSlotNumber(target_slot)) { in SnapshotMetadataUpdater()

12