Home
last modified time | relevance | path

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

12

/device/generic/goldfish/tools/
Dmk_combined_img.py70 def write_partition(partition, output_file, offset): argument
73 dd_comm = ['dd', 'if=' + partition["path"], 'of=' + output_file, 'conv=notrunc,sync',
79 def unsparse_partition(partition): argument
82 partition["fd"], temp_file = mkstemp()
83 shell_command([simg2img, partition["path"], temp_file])
84 partition["path"] = temp_file
94 def add_partition(partition, output_file): argument
96 num = str(partition["num"])
97 new_comm = '--new=' + num + ':' + partition["start"] + ':' + partition["end"]
99 name_comm = '--change-name=' + num + ':' + partition["label"]
[all …]
DREADME.md25 Each line with the order of ``</path/to/image>`` ``<partition label>`` ``<partition number>``
28 ``<partition number>`` should be within range of ``[1, number of lines]``
/device/google/cuttlefish/shared/
Dreleasetools.py34 return {partition: GetUserImage(partition, input_tmp, input_zip)
35 for partition in USERIMAGE_PARTITIONS
37 "IMAGES", partition + ".img"))}
42 return [BlockDifference(partition, image)
43 for partition, image in images.items()]
51 for partition in source_images:
52 target_images.setdefault(partition, EmptyImage())
55 return [BlockDifference(partition, target_image, source_images.get(partition))
56 for partition, target_image in target_images.items()]
/device/generic/common/
DREADME.md6 ### Support system_dlkm partition
20 Starting from Android 13, all devices must include a [system_dlkm partition].
21 GSI enables system_dlkm to support the devices with system_dlkm partition,
22 and be compatible with old devices without a system_dlkm partition.
28 For device without system_dlkm partition, the symlink would be dangling.
35 [system_dlkm partition]: https://source.android.com/docs/core/architecture/bootloader/partitions/gk…
42 vendor partition crashes on these devices when GSI is used. This is because
48 the system_ext partition, which have higher overlay precedence than RROs on
49 vendor partition, so the problematic vendor RROs would be overridden.
/device/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc331 for (auto& partition : partitions_) { in MakeCompositeDiskSpec() local
333 for (const auto& path : partition.source.image_file_paths) { in MakeCompositeDiskSpec()
336 component->set_offset(partition.offset + size); in MakeCompositeDiskSpec()
338 partition.source.read_only ? ReadWriteCapability::READ_ONLY in MakeCompositeDiskSpec()
342 CHECK(partition.size == size); in MakeCompositeDiskSpec()
349 if (partition.AlignedSize() != partition.size) { in MakeCompositeDiskSpec()
352 component->set_offset(partition.offset + partition.size); in MakeCompositeDiskSpec()
394 const auto& partition = partitions_[i]; in Beginning() local
396 .first_lba = partition.offset / kSectorSize, in Beginning()
398 (partition.offset + partition.AlignedSize()) / kSectorSize - 1, in Beginning()
[all …]
/device/linaro/dragonboard/shared/utils/rmtfs/
Dstorage.c18 struct partition { struct
29 const struct partition *partition; argument
39 static const struct partition partition_table[] = {
79 const struct partition *part; in storage_open()
101 rmtfds[i].partition == part) in storage_open()
147 rmtfd->partition = part; in storage_open()
163 rmtfd->partition = NULL; in storage_close()
/device/google/cuttlefish/host/libs/avb/
Davb.cpp127 for (const auto& partition : chained_partitions) { in GenerateMakeVbMetaImage() local
128 const std::string argument = partition.name + ":" + in GenerateMakeVbMetaImage()
129 partition.rollback_index + ":" + in GenerateMakeVbMetaImage()
130 partition.key_path; in GenerateMakeVbMetaImage()
134 for (const auto& partition : included_partitions) { in GenerateMakeVbMetaImage() local
136 command.AddParameter(partition); in GenerateMakeVbMetaImage()
/device/linaro/hikey/hikey960/
Dfstab.hikey96010 # Use the old cache partition for /metadata in order to support metadata encryption
12 # since there is no misc partition created by the current prm_ptable file,
13 # and the vendor partition is not used after the dynamic partition support
14 # here use the vendor partition for the misc mountpoint as a temporary
/device/google/cuttlefish/host/commands/assemble_cvd/
Dmisc_info.cc263 for (const auto& partition : system_partitions) { in MergeMiscInfos() local
264 for (const auto& key : GeneratePartitionKeys(partition)) { in MergeMiscInfos()
311 for (const auto& partition : kVbmetaPartitions) { in GetVbmetaArgs() local
314 if (Contains(misc_info, fmt::format("avb_{}_key_path", partition))) { in GetVbmetaArgs()
316 GetExpected(misc_info, fmt::format("avb_{}_algorithm", partition))); in GetVbmetaArgs()
318 .name = partition, in GetVbmetaArgs()
321 fmt::format("avb_{}_rollback_index_location", partition))), in GetVbmetaArgs()
326 fmt::format("{}/IMAGES/{}.img", image_path, partition)); in GetVbmetaArgs()
Ddisk_builder.cpp36 for (auto& partition : partitions) { in LastUpdatedInputDisk() local
37 if (partition.label == "frp") { in LastUpdatedInputDisk()
41 auto partition_mod_time = FileModificationTime(partition.image_file_path); in LastUpdatedInputDisk()
147 for (auto& partition : partitions_) { in TextConfig() local
148 disk_conf << partition.image_file_path << "\n"; in TextConfig()
Dsuper_image_mixer.cc212 const auto partition = CF_EXPECT(GetPartitionNameFromPath(name)); in ExtractTargetFiles() local
213 extracted.images.emplace(partition); in ExtractTargetFiles()
214 extracted.system_partitions.emplace_back(partition); in ExtractTargetFiles()
/device/google/cuttlefish/tools/
Draw2iso.sh73 IFS=' ' read -r -a partition <<< "$line"
117 partition=p
119 partition=
125 dd if="\${SCRIPT_DIR}"/esp.img of=\${1}\${partition}1 bs=16M
126 mkfs.ext4 -L ROOT -U \$(cat \${SCRIPT_DIR}/rootfs_uuid) \${1}\${partition}2
127 mount \${1}\${partition}2 /media
/device/generic/trusty/microdroid/
DAndroid.bp10 no_full_install: true, // avoid collision with system partition's init.rc
17 no_full_install: true, // avoid collision with system partition's ueventd.rc
/device/google/cuttlefish/guest/monitoring/tombstone_transmit/
DAndroid.bp48 // Same as tombstone_transmit, but place the binary in /system partition
49 // We are using the binary for microdroid, which does not have /product partition
/device/generic/goldfish/data/
Dempty_data_disk1 This special file tells the host side to keep the data partition empty.
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/preseed/
Dpreseed.cfg74 NUMOFPARTS=$(list-devices partition | grep -E ^"$DEVICE_FINAL" | wc -l); \
133 # This makes partman automatically partition without confirmation, provided
143 # Ensure the partition table is GPT - this is required for EFI
163 # partition/boot record if no other operating system is detected on the machine.
/device/generic/trusty/sepolicy/
Dproperty_contexts4 # For checking if persist partition is mounted
/device/generic/common/mgsi/
Dmgsi_system_user.prop4 # GSI disables non-AOSP nnapi extensions on product partition
Dmgsi_system.prop7 # GSI disables non-AOSP nnapi extensions on product partition
/device/google/cuttlefish/host/commands/assemble_cvd/doc/
Ddisk.dot33 …https://source.android.com/docs/core/architecture/bootloader/partitions/vendor-odm-dlkm-partition"]
34 …https://source.android.com/docs/core/architecture/bootloader/partitions/vendor-odm-dlkm-partition"]
/device/google/cuttlefish/
DAndroid.bp145 // Same as cuttlefish_guest_only, but modules are placed in /product partition.
/device/generic/trusty/
Dinit.qemu_trusty.rc28 # of the data partition encryption key
/device/google/cuttlefish/shared/minidroid/
Dinit.rc123 # We restorecon /data in case the userdata partition has been reset.
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto624 // * @system: installed on the system partition
625 // * @product: installed on the product partition
778 // * @system: installed on the system partition
779 // * @product: installed on the product partition
958 // * @system: installed on the system partition
959 // * @product: installed on the product partition
8980 // efficiently partition long traces without having to fully parse them.
/device/google/cuttlefish_prebuilts/bootloader/qemu_aarch64/
DSystem.map2426 0000000000096c00 d partition

12