Home
last modified time | relevance | path

Searched refs:source_device (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/payload_consumer/
Dpartition_update_generator_android.cc63 std::string source_device; in GenerateOperationsForPartitionsNotInPayload() local
69 &source_device, in GenerateOperationsForPartitionsNotInPayload()
89 auto source_size = utils::FileSize(source_device); in GenerateOperationsForPartitionsNotInPayload()
99 partition_name, source_device, target_device, source_size); in GenerateOperationsForPartitionsNotInPayload()
123 const std::string& source_device, in CreatePartitionUpdate() argument
131 auto raw_hash = CalculateHashForPartition(source_device, partition_size); in CreatePartitionUpdate()
133 LOG(ERROR) << "Failed to calculate hash for partition " << source_device in CreatePartitionUpdate()
Dpartition_update_generator_android.h55 const std::string& source_device,
/system/core/fs_mgr/libsnapshot/
Dsnapshot_writer.cpp33 void ISnapshotWriter::SetSourceDevice(const std::string& source_device) { in SetSourceDevice() argument
34 source_device_ = {source_device}; in SetSourceDevice()
Dsnapshot_reader.h56 void SetSourceDevice(const std::string& source_device);
Dsnapshot_reader.cpp107 void CompressedSnapshotReader::SetSourceDevice(const std::string& source_device) { in SetSourceDevice() argument
108 source_device_ = {source_device}; in SetSourceDevice()
Dsnapshot.cpp1516 std::string source_device; in PerformInitTransition() local
1517 if (!dm.GetDmDevicePathByName(GetSourceDeviceName(snapshot), &source_device)) { in PerformInitTransition()
1538 auto message = misc_name + "," + cow_image_device + "," + source_device; in PerformInitTransition()
1549 snapuserd_client_->InitDmUserCow(misc_name, cow_image_device, source_device); in PerformInitTransition()
2100 auto source_device = GetSourceDeviceName(params.GetPartitionName()); in MapPartitionWithSnapshot() local
2101 created_devices.EmplaceBack<AutoUnmapDevice>(&dm, source_device); in MapPartitionWithSnapshot()
3113 const std::optional<std::string>& source_device) { in OpenSnapshotWriter() argument
3116 (void)source_device; in OpenSnapshotWriter()
3151 return OpenCompressedSnapshotWriter(lock.get(), source_device, params.GetPartitionName(), in OpenSnapshotWriter()
3154 return OpenKernelSnapshotWriter(lock.get(), source_device, params.GetPartitionName(), status, in OpenSnapshotWriter()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stub.h44 const std::optional<std::string>& source_device) override;
Dsnapshot_writer.h40 void SetSourceDevice(const std::string& source_device);
Dsnapshot.h219 const std::optional<std::string>& source_device) = 0;
359 const std::optional<std::string>& source_device) override;
650 LockedFile* lock, const std::optional<std::string>& source_device,
654 LockedFile* lock, const std::optional<std::string>& source_device,
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc812 auto source_device = in PrepareDynamicPartitionsForUpdate() local
815 auto builder = LoadMetadataBuilder(source_device, source_slot, target_slot); in PrepareDynamicPartitionsForUpdate()
1166 std::string source_device = in IsSuperBlockDevice() local
1168 auto source_metadata = LoadMetadataBuilder(source_device, current_slot); in IsSuperBlockDevice()