Searched defs:partition (Results 1 - 9 of 9) sorted by relevance

/system/update_engine/payload_consumer/
H A Dfilesystem_verifier_action.cc94 InstallPlan::Partition& partition = local
100 part_path = partition.source_path;
101 remaining_size_ = partition.source_size;
104 part_path = partition.target_path;
105 remaining_size_ = partition.target_size;
108 LOG(INFO) << "Hashing partition " << partition_index_ << " ("
109 << partition.name << ") on device " << part_path;
169 // We either terminate the current partition or have more data to read.
176 << " bytes from partition "
197 InstallPlan::Partition& partition local
[all...]
H A Dpostinstall_runner_action.cc68 // Initialize all the partition weights.
98 VLOG(1) << "Skipping post-install on partition "
105 const InstallPlan::Partition& partition = local
109 utils::MakePartitionNameForMount(partition.target_path);
111 LOG(ERROR) << "Cannot make mountable device from " << partition.target_path;
115 // Perform post-install for the current_partition_ partition. At this point we
133 base::FilePath postinstall_path(partition.postinstall_path);
137 << partition.postinstall_path;
146 << partition.postinstall_path;
165 partition
[all...]
H A Ddelta_performer_unittest.cc199 // When generating a delta payload we need to include the old partition
210 // We include a kernel partition without operations.
229 // Apply |payload_data| on partition specified in |source_path|.
240 // file and writing the contents to a new partition. The existing data in the
254 // We installed the operations only in the rootfs partition, but the
697 PartitionUpdate* partition = manifest.add_partitions(); local
698 partition->mutable_old_partition_info();
699 partition->mutable_new_partition_info();
H A Ddelta_performer.cc301 << " in partition \""
325 PLOG(ERROR) << "Error closing source partition";
334 PLOG(ERROR) << "Error closing target partition";
347 const PartitionUpdate& partition = partitions_[current_partition_]; local
359 LOG(ERROR) << "Unable to open source partition "
360 << partition.partition_name() << " on slot "
374 LOG(INFO) << "Opening " << target_path_ << " partition with"
379 LOG(ERROR) << "Unable to open target partition "
380 << partition.partition_name() << " on slot "
386 LOG(INFO) << "Applying " << partition
[all...]
/system/core/fs_mgr/
H A Dfs_mgr_avb_ops.cpp43 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, argument
46 partition, offset, num_bytes, buffer, out_num_read);
82 const char* partition ATTRIBUTE_UNUSED,
85 // for a given partition in kernel cmdline.
88 snprintf(guid_buf, guid_buf_size, "1234-fake-guid-for:%s", partition);
93 const char* partition ATTRIBUTE_UNUSED,
135 AvbIOResult FsManagerAvbOps::ReadFromPartition(const char* partition, int64_t offset, argument
138 const auto iter = by_name_symlink_map_.find(partition);
140 LERROR << "by-name symlink not found for partition: '" << partition << "'"; local
[all...]
/system/update_engine/payload_generator/
H A Dpayload_file.cc131 // Copy the operations and partition info from the part_vec_ to the manifest.
137 PartitionUpdate* partition = manifest_.add_partitions(); local
138 partition->set_partition_name(part.name);
140 partition->set_run_postinstall(true);
142 partition->set_postinstall_path(part.postinstall.path);
144 partition->set_filesystem_type(part.postinstall.filesystem_type);
145 partition->set_postinstall_optional(part.postinstall.optional);
148 *partition->add_operations() = aop.op;
151 *(partition->mutable_old_partition_info()) = part.old_info;
153 *(partition
[all...]
/system/core/fastboot/
H A Dengine.cpp115 void fb_queue_erase(const std::string& partition) { argument
116 Action& a = queue_action(OP_COMMAND, "erase:" + partition);
117 a.msg = "Erasing '" + partition + "'...";
120 void fb_queue_flash_fd(const std::string& partition, int fd, uint32_t sz) { argument
124 a.msg = android::base::StringPrintf("Sending '%s' (%d KB)...", partition.c_str(), sz / 1024);
126 Action& b = queue_action(OP_COMMAND, "flash:" + partition);
127 b.msg = "Writing '" + partition + "'...";
130 void fb_queue_flash(const std::string& partition, void* data, uint32_t sz) { argument
134 a.msg = android::base::StringPrintf("Sending '%s' (%d KB)...", partition.c_str(), sz / 1024);
136 Action& b = queue_action(OP_COMMAND, "flash:" + partition);
140 fb_queue_flash_sparse(const std::string& partition, struct sparse_file* s, uint32_t sz, size_t current, size_t total) argument
[all...]
H A Dfastboot.cpp155 fprintf(stderr, "unknown partition '%s'\n", item.c_str());
342 " flash <partition> [ <filename> ] Write a file to a flash partition.\n"
345 " any partition except\n"
358 " erase <partition> Erase a flash partition.\n"
359 " format[:[<fs type>][:[<size>]] <partition>\n"
360 " Format a flash partition. Can\n"
367 " flash:raw <bootable-partition> <kernel> [ <ramdisk> [ <second> ] ]\n"
385 " if supported by partition typ
823 needs_erase(Transport* transport, const char* partition) argument
913 flash_buf(const std::string& partition, struct fastboot_buffer *buf) argument
1401 fb_perform_format(Transport* transport, const std::string& partition, int skip_if_not_supported, const std::string& type_override, const std::string& size_override, const std::string& initial_dir) argument
1688 std::string partition = next_arg(&args); local
1715 std::string partition = next_arg(&args); local
1781 std::string partition = next_arg(&args); local
[all...]
/system/vold/
H A DVoldNativeService.cpp285 binder::Status VoldNativeService::partition(const std::string& diskId, int32_t partitionType, function in class:android::vold::VoldNativeService

Completed in 120 milliseconds