Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 37) sorted by relevance

12

/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc94 InstallPlan::Partition& partition = in StartPartitionHashing() local
100 part_path = partition.source_path; in StartPartitionHashing()
101 remaining_size_ = partition.source_size; in StartPartitionHashing()
104 part_path = partition.target_path; in StartPartitionHashing()
105 remaining_size_ = partition.target_size; in StartPartitionHashing()
109 << partition.name << ") on device " << part_path; in StartPartitionHashing()
197 InstallPlan::Partition& partition = in FinishPartitionHashing() local
199 LOG(INFO) << "Hash of " << partition.name << ": " in FinishPartitionHashing()
204 if (partition.target_hash != hasher_->raw_hash()) { in FinishPartitionHashing()
205 LOG(ERROR) << "New '" << partition.name in FinishPartitionHashing()
[all …]
Dinstall_plan.cc56 for (const auto& partition : partitions) { in Dump() local
60 partition.name.c_str(), in Dump()
61 partition.source_size, in Dump()
62 partition.target_size, in Dump()
63 utils::ToString(partition.run_postinstall).c_str()); in Dump()
88 for (Partition& partition : partitions) { in LoadPartitionsFromSlots()
91 partition.name, source_slot, &partition.source_path) && result; in LoadPartitionsFromSlots()
93 partition.source_path.clear(); in LoadPartitionsFromSlots()
98 partition.name, target_slot, &partition.target_path) && result; in LoadPartitionsFromSlots()
100 partition.target_path.clear(); in LoadPartitionsFromSlots()
Dpostinstall_runner_action.cc100 const InstallPlan::Partition& partition = in PerformPartitionPostinstall() local
104 utils::MakePartitionNameForMount(partition.target_path); in PerformPartitionPostinstall()
106 LOG(ERROR) << "Cannot make mountable device from " << partition.target_path; in PerformPartitionPostinstall()
128 base::FilePath postinstall_path(partition.postinstall_path); in PerformPartitionPostinstall()
132 << partition.postinstall_path; in PerformPartitionPostinstall()
141 << partition.postinstall_path; in PerformPartitionPostinstall()
160 partition.filesystem_type, in PerformPartitionPostinstall()
166 LOG(INFO) << "Performing postinst (" << partition.postinstall_path << " at " in PerformPartitionPostinstall()
167 << abs_path << ") installed on device " << partition.target_path in PerformPartitionPostinstall()
173 LOG(INFO) << "Format file for new " << partition.postinstall_path in PerformPartitionPostinstall()
[all …]
Ddelta_performer.cc337 const PartitionUpdate& partition = partitions_[current_partition_]; in OpenCurrentPartition() local
350 << partition.partition_name() << " on slot " in OpenCurrentPartition()
362 << partition.partition_name() << " on slot " in OpenCurrentPartition()
368 LOG(INFO) << "Applying " << partition.operations().size() in OpenCurrentPartition()
369 << " operations to partition \"" << partition.partition_name() in OpenCurrentPartition()
387 for (const PartitionUpdate& partition : partitions) { in LogPartitionInfo() local
388 LogPartitionInfoHash(partition.old_partition_info(), in LogPartitionInfo()
389 "old " + partition.partition_name()); in LogPartitionInfo()
390 LogPartitionInfoHash(partition.new_partition_info(), in LogPartitionInfo()
391 "new " + partition.partition_name()); in LogPartitionInfo()
[all …]
/system/core/fs_mgr/
Dfs_mgr_avb_ops.cpp43 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, in read_from_partition() argument
46 partition, offset, num_bytes, buffer, out_num_read); in read_from_partition()
82 const char* partition ATTRIBUTE_UNUSED, in dummy_get_unique_guid_for_partition()
88 snprintf(guid_buf, guid_buf_size, "1234-fake-guid-for:%s", partition); in dummy_get_unique_guid_for_partition()
93 const char* partition ATTRIBUTE_UNUSED, in dummy_get_size_of_partition()
135 AvbIOResult FsManagerAvbOps::ReadFromPartition(const char* partition, int64_t offset, in ReadFromPartition() argument
138 const auto iter = by_name_symlink_map_.find(partition); in ReadFromPartition()
140 LERROR << "by-name symlink not found for partition: '" << partition << "'"; in ReadFromPartition()
Dfs_mgr_priv_avb_ops.h56 AvbIOResult ReadFromPartition(const char* partition, int64_t offset, size_t num_bytes,
/system/core/fastboot/
Dfastboot.cpp816 static bool needs_erase(Transport* transport, const char* partition) { in needs_erase() argument
818 if (!fb_getvar(transport, std::string("partition-type:") + partition, &partition_type)) { in needs_erase()
1199 auto update = [&](const std::string &partition) { in do_update() argument
1201 if (erase_first && needs_erase(transport, partition.c_str())) { in do_update()
1202 fb_queue_erase(partition.c_str()); in do_update()
1204 flash_buf(partition.c_str(), &buf); in do_update()
1280 auto flashall = [&](const std::string &partition) { in do_flashall() argument
1282 if (erase_first && needs_erase(transport, partition.c_str())) { in do_flashall()
1283 fb_queue_erase(partition.c_str()); in do_flashall()
1285 flash_buf(partition.c_str(), &buf); in do_flashall()
[all …]
/system/update_engine/payload_generator/
Dpayload_file.cc134 PartitionUpdate* partition = manifest_.add_partitions(); in WritePayload() local
135 partition->set_partition_name(part.name); in WritePayload()
137 partition->set_run_postinstall(true); in WritePayload()
139 partition->set_postinstall_path(part.postinstall.path); in WritePayload()
141 partition->set_filesystem_type(part.postinstall.filesystem_type); in WritePayload()
142 partition->set_postinstall_optional(part.postinstall.optional); in WritePayload()
145 *partition->add_operations() = aop.op; in WritePayload()
148 *(partition->mutable_old_partition_info()) = part.old_info; in WritePayload()
150 *(partition->mutable_new_partition_info()) = part.new_info; in WritePayload()
Ddelta_diff_utils.h133 bool InitializePartitionInfo(const PartitionConfig& partition,
/system/sepolicy/public/
Dsgdisk.te5 # Allowed to read/write low-level partition tables
16 # Used to probe kernel to reload partition tables
Dcppreopts.te3 # This command copies preopted files from the system_b partition to the data
4 # partition. This domain ensures that we are only copying into specific
Ddevice.te94 # Block device for any swap partition.
98 # Assign this type to the partition specified by the encryptable=
102 # The 'misc' partition used by recovery and A/B.
Dupdate_verifier.te12 # Read all blocks in dm wrapped system partition.
Dtoolbox.te16 # Assign swap_block_device type any such partition in your
/system/sepolicy/prebuilts/api/26.0/public/
Dsgdisk.te5 # Allowed to read/write low-level partition tables
16 # Used to probe kernel to reload partition tables
Dcppreopts.te3 # This command copies preopted files from the system_b partition to the data
4 # partition. This domain ensures that we are only copying into specific
Ddevice.te94 # Block device for any swap partition.
98 # Assign this type to the partition specified by the encryptable=
102 # The 'misc' partition used by recovery and A/B.
Dupdate_verifier.te12 # Read all blocks in dm wrapped system partition.
Dtoolbox.te16 # Assign swap_block_device type any such partition in your
/system/update_engine/
Dupdate_metadata.proto65 // - SOURCE_COPY: Copy the data in src_extents in the old partition to
66 // dst_extents in the new partition. There's no overlapping of data because
71 // - SOURCE_BSDIFF: Read the data in src_extents in the old partition, perform
73 // new partition.
90 // physical partition. An ordered list of extents is another
157 SOURCE_COPY = 4; // Copy from source to target partition
158 SOURCE_BSDIFF = 5; // Like BSDIFF, but read from source partition
202 // Describes the update to apply to a single partition.
204 // A platform-specific name to identify the partition set being updated. For
208 // Whether this partition carries a filesystem with post-install program that
[all …]
Dboot_control_chromeos.cc165 params.partition = partition_num; in IsSlotBootable()
190 params.partition = partition_num; in MarkSlotUnbootable()
233 add_params.partition = partition_num; in SetActiveBootSlot()
/system/core/init/
Dperfboot.py214 for partition in ['system', 'vendor']:
215 verity_mode = device.get_prop('partition.%s.verified' % partition)
219 partition)
Dinit_first_stage.cpp382 for (const auto& partition : partitions) { in GetRequiredDevices() local
387 required_devices_partition_names_.emplace(partition + ab_suffix); in GetRequiredDevices()
/system/update_engine/scripts/update_payload/
Dpayload.py255 any(partition.HasField('old_partition_info')
256 for partition in self.manifest.partitions))
/system/libufdt/utils/
DREADME.md9 If your DTB/DTBO is in an unique partition, e.g. `dtb` and `dtbo` partition.

12