Searched refs:builder (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/updater/ |
D | dynamic_partitions.cpp | 142 MetadataBuilder* builder; member 181 auto partition = params.builder->FindPartition(partition_name); in PerformOpResize() 191 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize() 206 params.builder->RemovePartition(partition_name); in PerformOpRemove() 215 if (params.builder->AddPartition(partition_name, group_name, LP_PARTITION_ATTR_READONLY) == in PerformOpAdd() 228 auto partition = params.builder->FindPartition(partition_name); in PerformOpMove() 237 if (!params.builder->ChangePartitionGroup(partition, new_group)) { in PerformOpMove() 252 auto group = params.builder->FindGroup(group_name); in PerformOpAddGroup() 262 if (!params.builder->AddGroup(group_name, maximum_size.value())) { in PerformOpAddGroup() 276 auto group = params.builder->FindGroup(group_name); in PerformOpResizeGroup() [all …]
|
D | blockimg.cpp | 1527 HashTreeBuilder builder(BLOCKSIZE, hash_function); in PerformCommandComputeHashTree() local 1528 if (!builder.Initialize(static_cast<int64_t>(source_ranges.blocks()) * BLOCKSIZE, salt)) { in PerformCommandComputeHashTree() 1550 if (!builder.Update(reinterpret_cast<unsigned char*>(buffer), BLOCKSIZE)) { in PerformCommandComputeHashTree() 1557 if (!builder.BuildHashTree()) { in PerformCommandComputeHashTree() 1562 std::string root_hash_hex = HashTreeBuilder::BytesArrayToString(builder.root_hash()); in PerformCommandComputeHashTree() 1570 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()
|