Home
last modified time | relevance | path

Searched refs:source_slot (Results 1 – 25 of 30) sorted by relevance

12

/system/update_engine/aosp/
Dmock_dynamic_partition_control_android.h115 bool RealGetSystemOtherPath(uint32_t source_slot, in RealGetSystemOtherPath() argument
121 source_slot, target_slot, partition_name_suffix, path, should_unmap); in RealGetSystemOtherPath()
124 bool RealEraseSystemOtherAvbFooter(uint32_t source_slot, in RealEraseSystemOtherAvbFooter() argument
127 source_slot, target_slot); in RealEraseSystemOtherAvbFooter()
135 uint32_t source_slot, in RealPrepareDynamicPartitionsForUpdate() argument
140 source_slot, target_slot, manifest, delete_source); in RealPrepareDynamicPartitionsForUpdate()
Ddynamic_partition_control_android.cc123 uint32_t source_slot) in DynamicPartitionControlAndroid() argument
129 source_slot_(source_slot) { in DynamicPartitionControlAndroid()
339 uint32_t source_slot, in LoadMetadataBuilder() argument
344 source_slot, in LoadMetadataBuilder()
349 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
354 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
428 uint32_t source_slot, in PreparePartitionsForUpdate() argument
433 source_slot_ = source_slot; in PreparePartitionsForUpdate()
453 TEST_AND_RETURN_FALSE(EraseSystemOtherAvbFooter(source_slot, target_slot)); in PreparePartitionsForUpdate()
460 if (target_slot == source_slot) { in PreparePartitionsForUpdate()
[all …]
Ddynamic_partition_control_android.h41 explicit DynamicPartitionControlAndroid(uint32_t source_slot);
52 bool PreparePartitionsForUpdate(uint32_t source_slot,
71 uint32_t source_slot,
136 uint32_t source_slot,
195 virtual bool GetSystemOtherPath(uint32_t source_slot,
215 virtual bool EraseSystemOtherAvbFooter(uint32_t source_slot,
223 uint32_t source_slot,
256 bool PrepareSnapshotPartitionsForUpdate(uint32_t source_slot,
306 uint32_t source_slot,
Ddynamic_partition_control_android_unittest.cc85 .WillByDefault(Invoke([&](uint32_t source_slot, in SetUp()
90 source_slot, target_slot, manifest, delete_source); in SetUp()
911 .WillByDefault(Invoke([&](auto source_slot, in TEST_P()
917 source_slot, target_slot, name, path, should_unmap); in TEST_P()
936 .WillByDefault(Invoke([&](auto source_slot, in TEST_P() argument
942 source_slot, target_slot, name, path, should_unmap); in TEST_P()
960 .WillByDefault(Invoke([&](auto source_slot, in TEST_P() argument
966 source_slot, target_slot, name, path, should_unmap); in TEST_P()
1097 .WillRepeatedly(Invoke([&](auto source_slot, in TEST_P()
1101 EXPECT_EQ(source(), source_slot); in TEST_P()
[all …]
/system/update_engine/payload_consumer/
Dinstall_plan.cc70 (source_slot == that.source_slot) && in operator ==()
95 {"source_slot", BootControlInterface::SlotName(source_slot)}, in ToString()
155 if (source_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
158 partition.name, source_slot, &partition.source_path)); in LoadPartitionsFromSlots()
166 partition.name, target_slot, source_slot); in LoadPartitionsFromSlots()
Dpartition_update_generator_stub.h32 BootControlInterface::Slot source_slot,
Dpartition_update_generator_stub.cc24 chromeos_update_engine::BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload() argument
Dinstall_plan_unittest.cc34 .source_slot = BootControlInterface::kInvalidSlot, in TEST()
Dpartition_update_generator_interface.h42 BootControlInterface::Slot source_slot,
Dpartition_update_generator_android.cc40 BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload() argument
67 source_slot, in GenerateOperationsForPartitionsNotInPayload()
Dpartition_update_generator_android.h40 BootControlInterface::Slot source_slot,
Dpartition_writer.cc256 bool PartitionWriter::OpenSourcePartition(uint32_t source_slot, in OpenSourcePartition() argument
268 << " on slot " << BootControlInterface::SlotName(source_slot) in OpenSourcePartition()
280 uint32_t source_slot = install_plan->source_slot; in Init() local
282 TEST_AND_RETURN_FALSE(OpenSourcePartition(source_slot, source_may_exist)); in Init()
Dpartition_writer.h95 bool OpenSourcePartition(uint32_t source_slot, bool source_may_exist);
Dvabc_partition_writer.cc63 OpenSourcePartition(install_plan->source_slot, source_may_exist)); in Init()
Dinstall_plan.h85 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
Ddelta_performer.cc664 install_plan_->source_slot, in ParseManifestPartitions()
675 ->ListDynamicPartitionsForSlot(install_plan_->source_slot, in ParseManifestPartitions()
679 << install_plan_->source_slot; in ParseManifestPartitions()
Ddelta_performer_unittest.cc168 install_plan_.source_slot = 0; in SetUp()
313 kPartitionNameRoot, install_plan_.source_slot, source_path); in ApplyPayloadToData()
317 kPartitionNameKernel, install_plan_.source_slot, "/dev/null"); in ApplyPayloadToData()
Dfilesystem_verifier_action.cc314 install_plan_.source_slot, in StartPartitionHashing()
Ddelta_performer_integration_test.cc783 install_plan->source_slot = 0; in ApplyDeltaFile()
828 kPartitionNameRoot, install_plan->source_slot, state->a_img->path()); in ApplyDeltaFile()
830 install_plan->source_slot, in ApplyDeltaFile()
/system/update_engine/common/
Ddynamic_partition_control_stub.cc51 uint32_t source_slot, in PreparePartitionsForUpdate() argument
87 uint32_t source_slot, in VerifyExtentsForUntouchedPartitions() argument
Ddynamic_partition_control_stub.h39 bool PreparePartitionsForUpdate(uint32_t source_slot,
59 uint32_t source_slot,
Ddynamic_partition_control_interface.h100 virtual bool PreparePartitionsForUpdate(uint32_t source_slot,
156 uint32_t source_slot,
/system/update_engine/cros/
Domaha_response_handler_action.cc135 install_plan_.source_slot = BootControlInterface::kInvalidSlot; in PerformAction()
137 install_plan_.source_slot = in PerformAction()
139 install_plan_.target_slot = install_plan_.source_slot == 0 ? 1 : 0; in PerformAction()
Ddownload_action_chromeos_unittest.cc149 install_plan.source_slot = 0; in TestWithData()
154 install_plan.source_slot, true); in TestWithData()
198 install_plan.source_slot)); in TestWithData()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc183 install_plan.source_slot = in ApplyPayload()
212 part_name, install_plan.source_slot, source_path); in ApplyPayload()

12