Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 118) sorted by relevance

12345

/system/update_engine/payload_generator/
Dpayload_generation_config.cc80 for (PartitionConfig& part : partitions) { in LoadImageSize()
81 if (part.path.empty()) in LoadImageSize()
83 part.size = utils::FileSize(part.path); in LoadImageSize()
90 for (PartitionConfig& part : partitions) { in LoadPostInstallConfig()
92 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig()
96 part.postinstall.run = true; in LoadPostInstallConfig()
97 store.GetString("POSTINSTALL_PATH_" + part.name, &part.postinstall.path); in LoadPostInstallConfig()
98 store.GetString("FILESYSTEM_TYPE_" + part.name, in LoadPostInstallConfig()
99 &part.postinstall.filesystem_type); in LoadPostInstallConfig()
100 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name, in LoadPostInstallConfig()
[all …]
Dpayload_file.cc87 Partition part; in AddPartition() local
88 part.name = new_conf.name; in AddPartition()
89 part.aops = aops; in AddPartition()
90 part.postinstall = new_conf.postinstall; in AddPartition()
94 &part.old_info)); in AddPartition()
96 &part.new_info)); in AddPartition()
97 part_vec_.push_back(std::move(part)); in AddPartition()
116 for (const auto& part : part_vec_) { in WritePayload() local
117 for (const auto& aop : part.aops) { in WritePayload()
132 for (const auto& part : part_vec_) { in WritePayload() local
[all …]
Dgenerate_delta_main.cc205 InstallPlan::Partition part; in ApplyDelta() local
206 part.name = old_part.name; in ApplyDelta()
207 part.source_hash.assign(part_info.hash().begin(), in ApplyDelta()
209 part.source_path = old_part.path; in ApplyDelta()
211 part.target_path = old_part.path; in ApplyDelta()
212 install_plan.partitions.push_back(part); in ApplyDelta()
545 for (PartitionConfig& part : payload_config.target.partitions) in Main()
546 CHECK(part.OpenFilesystem()); in Main()
547 for (PartitionConfig& part : payload_config.source.partitions) in Main()
548 CHECK(part.OpenFilesystem()); in Main()
[all …]
Ddelta_diff_utils_unittest.cc71 void CreatePartition(PartitionConfig* part, const string& pattern, in CreatePartition() argument
74 ASSERT_TRUE(utils::MakeTempFile(pattern.c_str(), &part->path, &fd)); in CreatePartition()
77 part->fs_interface.reset(new FakeFilesystem(block_size, size / block_size)); in CreatePartition()
78 part->size = size; in CreatePartition()
86 bool InitializePartitionWithUniqueBlocks(const PartitionConfig& part, in InitializePartitionWithUniqueBlocks() argument
89 TEST_AND_RETURN_FALSE(part.size % block_size == 0); in InitializePartitionWithUniqueBlocks()
90 size_t num_blocks = part.size / block_size; in InitializePartitionWithUniqueBlocks()
91 brillo::Blob file_data(part.size); in InitializePartitionWithUniqueBlocks()
101 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks()
Ddelta_diff_utils.cc841 bool InitializePartitionInfo(const PartitionConfig& part, PartitionInfo* info) { in InitializePartitionInfo() argument
842 info->set_size(part.size); in InitializePartitionInfo()
844 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo()
845 static_cast<off_t>(part.size)); in InitializePartitionInfo()
849 LOG(INFO) << part.path << ": size=" << part.size in InitializePartitionInfo()
Dinplace_generator_unittest.cc622 PartitionConfig part("part"); in TEST_F() local
623 part.path = "/dev/zero"; in TEST_F()
624 part.size = num_blocks * block_size; in TEST_F()
636 part, in TEST_F()
637 part, in TEST_F()
/system/update_engine/scripts/
Dbrillo_update_payload354 local part varname
355 for part in boot system; do
356 varname="${partitions_array}[${part}]"
431 local part part_file temp_raw filesize
432 for part in "${partitions[@]}"; do
433 part_file=$(create_tempfile "${part}.img.XXXXXX")
435 unzip -p "${image}" "IMAGES/${part}.img" >"${part_file}"
441 temp_raw=$(create_tempfile "${part}.raw.XXXXXX")
443 echo "Converting Android sparse image ${part}.img to RAW."
452 part_map_file=$(create_tempfile "${part}.map.XXXXXX")
[all …]
Dtest_paycheck.sh52 OLD_KERN_PART=old_kern.part
53 OLD_ROOT_PART=old_root.part
54 NEW_DELTA_KERN_PART=new_delta_kern.part
55 NEW_DELTA_ROOT_PART=new_delta_root.part
56 NEW_FULL_KERN_PART=new_full_kern.part
57 NEW_FULL_ROOT_PART=new_full_root.part
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc152 InstallPlan::Partition part; in DoTest() local
153 part.name = "part"; in DoTest()
154 part.target_size = kLoopFileSize - (hash_fail ? 1 : 0); in DoTest()
155 part.target_path = a_dev; in DoTest()
156 if (!HashCalculator::RawHashOfData(a_loop_data, &part.target_hash)) { in DoTest()
160 part.source_size = kLoopFileSize; in DoTest()
161 part.source_path = a_dev; in DoTest()
162 if (!HashCalculator::RawHashOfData(a_loop_data, &part.source_hash)) { in DoTest()
166 install_plan.partitions = {part}; in DoTest()
264 InstallPlan::Partition part; in TEST_F() local
[all …]
Dpostinstall_runner_action_unittest.cc175 InstallPlan::Partition part; in RunPosinstallAction() local
176 part.name = "part"; in RunPosinstallAction()
177 part.target_path = device_path; in RunPosinstallAction()
178 part.run_postinstall = true; in RunPosinstallAction()
179 part.postinstall_path = postinstall_program; in RunPosinstallAction()
181 install_plan.partitions = {part}; in RunPosinstallAction()
/system/core/libdiskconfig/
Ddiskconfig.c348 struct part_info *part = &dinfo->part_lst[cnt]; in validate() local
349 if (part->len_kb != (uint32_t)-1) { in validate()
350 total_size += part->len_kb * 1024; in validate()
351 } else if (part->len_kb == 0) { in validate()
352 ALOGE("Zero-size partition '%s' is invalid.", part->name); in validate()
363 if ((part->type != PC_PART_TYPE_LINUX) && in validate()
364 (part->type != PC_PART_TYPE_FAT32)) { in validate()
366 "'%s'\n", part->type, part->name); in validate()
462 struct part_info *part; in dump_disk_config() local
485 part = &dinfo->part_lst[cnt]; in dump_disk_config()
[all …]
/system/tools/aidl/docs/
Dconstants.md1 # Defining constants as part of an interface
4 as part of an interface.
/system/update_engine/update_payload_key/
DREADME2 baked into the system image as part of update_engine install.
/system/chre/host/msm/daemon/
DREADME.md5 proprietary header files distributed as part of the Hexagon SDK. Therefore, it
/system/core/fastboot/
Dfastboot.cpp1050 static void do_for_partition(Transport* transport, const std::string& part, const std::string& slot, in do_for_partition() argument
1055 if (!fb_getvar(transport, "has-slot:" + part, &has_slot)) { in do_for_partition()
1065 func(part + "_" + current_slot); in do_for_partition()
1067 func(part + '_' + slot); in do_for_partition()
1072 part.c_str(), slot.c_str()); in do_for_partition()
1074 func(part); in do_for_partition()
1083 static void do_for_partitions(Transport* transport, const std::string& part, const std::string& slo… in do_for_partitions() argument
1088 if (!fb_getvar(transport, "has-slot:" + part, &has_slot)) { in do_for_partitions()
1089 die("Could not check if partition %s has slot.", part.c_str()); in do_for_partitions()
1093 … do_for_partition(transport, part, std::string(1, (char)(i + 'a')), func, force_slot); in do_for_partitions()
[all …]
/system/sepolicy/tools/
DREADME8 property_contexts configuration file. Used as part of the policy
30 checking the validity of the configurations. Used as part of the
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
Dprofiling.gradle2 // Set when building only part of the abis in the apk.
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/
Dprofiling.gradle2 // Set when building only part of the abis in the apk.
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/
Dprofiling.gradle2 // Set when building only part of the abis in the apk.
/system/sepolicy/prebuilts/api/26.0/private/
Dpriv_app.te108 # TODO: revert this as part of fixing 33574909
112 # TODO: revert this as part of fixing 33574909
117 # TODO: revert this as part of fixing 33574909
/system/media/camera/docs/
Dndk_camera_metadata_tags.mako33 * Do not reference types that are not part of the NDK.
34 * Do not #include files that aren't part of the NDK.
/system/bt/osi/src/socket_utils/
DREADME24 Note that only a part of the source files are pulled from libcutils /
/system/core/
DNOTICE10 This product includes software developed as part of
62 This file is part of TagSoup and is Copyright 2002-2008 by John Cowan.
199 excluding those notices that do not pertain to any part of
202 (d) If the Work includes a "NOTICE" text file as part of its
206 pertain to any part of the Derivative Works, in at least one
208 as part of the Derivative Works; within the Source form or
/system/extras/pagecache/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/system/extras/kexec_tools/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or

12345