Searched refs:builder (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/updater/ |
D | updater_runtime_dynamic_partitions.cpp | 104 MetadataBuilder* builder; member 143 auto partition = params.builder->FindPartition(partition_name_suffix); in PerformOpResize() 153 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize() 169 params.builder->RemovePartition(partition_name_suffix); in PerformOpRemove() 178 if (params.builder->AddPartition(partition_name_suffix, group_name_suffix, in PerformOpAdd() 192 auto partition = params.builder->FindPartition(partition_name_suffix); in PerformOpMove() 201 if (!params.builder->ChangePartitionGroup(partition, new_group_name_suffix)) { in PerformOpMove() 216 auto group = params.builder->FindGroup(group_name_suffix); in PerformOpAddGroup() 226 if (!params.builder->AddGroup(group_name_suffix, maximum_size.value())) { in PerformOpAddGroup() 240 auto group = params.builder->FindGroup(group_name_suffix); in PerformOpResizeGroup() [all …]
|
D | blockimg.cpp | 1532 HashTreeBuilder builder(BLOCKSIZE, hash_function); in PerformCommandComputeHashTree() local 1533 if (!builder.Initialize(static_cast<int64_t>(source_ranges.blocks()) * BLOCKSIZE, salt)) { in PerformCommandComputeHashTree() 1555 if (!builder.Update(reinterpret_cast<unsigned char*>(buffer), BLOCKSIZE)) { in PerformCommandComputeHashTree() 1562 if (!builder.BuildHashTree()) { in PerformCommandComputeHashTree() 1567 std::string root_hash_hex = HashTreeBuilder::BytesArrayToString(builder.root_hash()); in PerformCommandComputeHashTree() 1575 if (params.canwrite && !builder.WriteHashTreeToFd(params.fd, write_offset)) { in PerformCommandComputeHashTree()
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/ |
D | UpdateManager.java | 307 updateEngineApplyPayload(UpdateData.builder() in applyUpdate() 400 UpdateData.Builder builder; in setSwitchSlotOnReboot() local 406 builder = mLastUpdateData.toBuilder(); in setSwitchSlotOnReboot() 409 builder.setExtraProperties( in setSwitchSlotOnReboot() 413 updateEngineApplyPayload(builder.build()); in setSwitchSlotOnReboot() 550 public static Builder builder() { in builder() method in UpdateManager.UpdateData 554 UpdateData(Builder builder) { in UpdateData() argument 555 this.mPayload = builder.mPayload; in UpdateData() 556 this.mExtraProperties = ImmutableList.copyOf(builder.mExtraProperties); in UpdateData() 568 return builder() in toBuilder()
|
D | UpdaterState.java | 54 ImmutableMap.<Integer, ImmutableSet<Integer>>builder()
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 276 DocumentBuilderFactory builder = DocumentBuilderFactory.newInstance(); in getTextString() local 277 DocumentBuilder db = builder.newDocumentBuilder(); in getTextString()
|