/system/update_engine/payload_consumer/ |
D | install_operation_executor.h | 41 FileDescriptorPtr source_fd); 45 FileDescriptorPtr source_fd, 52 FileDescriptorPtr source_fd, 57 FileDescriptorPtr source_fd, 62 FileDescriptorPtr source_fd, 67 FileDescriptorPtr source_fd,
|
D | install_operation_executor.cc | 224 FileDescriptorPtr source_fd) { in ExecuteSourceCopyOperation() argument 228 source_fd, operation.src_extents(), writer.get(), block_size_, nullptr); in ExecuteSourceCopyOperation() 234 FileDescriptorPtr source_fd, in ExecuteDiffOperation() argument 237 TEST_AND_RETURN_FALSE(source_fd != nullptr); in ExecuteDiffOperation() 244 operation, std::move(writer), source_fd, data, count); in ExecuteDiffOperation() 247 operation, std::move(writer), source_fd, data, count); in ExecuteDiffOperation() 250 operation, std::move(writer), source_fd, data, count); in ExecuteDiffOperation() 254 operation, std::move(writer), source_fd, data, count); in ExecuteDiffOperation() 266 FileDescriptorPtr source_fd, in ExecuteLz4diffOperation() argument 272 source_fd, operation.src_extents(), &src_data, block_size_)); in ExecuteLz4diffOperation() [all …]
|
D | partition_writer.cc | 234 auto source_fd = ChooseSourceFD(operation, error); in PerformSourceCopyOperation() local 235 if (*error != ErrorCode::kSuccess || source_fd == nullptr) { in PerformSourceCopyOperation() 250 optimized, std::move(writer), source_fd); in PerformSourceCopyOperation() 257 FileDescriptorPtr source_fd = ChooseSourceFD(operation, error); in PerformDiffOperation() local 258 TEST_AND_RETURN_FALSE(source_fd != nullptr); in PerformDiffOperation() 262 operation, std::move(writer), source_fd, data, count); in PerformDiffOperation() 298 const FileDescriptorPtr source_fd, in ValidateSourceHash() argument 303 source_fd, operation.src_extents(), block_size, &source_hash)); in ValidateSourceHash() 304 return ValidateSourceHash(source_hash, operation, source_fd, error); in ValidateSourceHash() 309 const FileDescriptorPtr source_fd, in ValidateSourceHash() argument [all …]
|
D | vabc_partition_writer.cc | 104 const FileDescriptorPtr& source_fd, in ProcessSourceCopyOperation() argument 109 TEST_AND_RETURN_FALSE(source_fd != nullptr); in ProcessSourceCopyOperation() 156 TEST_AND_RETURN_FALSE(utils::ReadAll(source_fd, in ProcessSourceCopyOperation() 347 auto source_fd = verified_source_fd_.ChooseSourceFD(operation, error); in PerformSourceCopyOperation() local 352 source_fd, in PerformSourceCopyOperation() 371 FileDescriptorPtr source_fd = in PerformDiffOperation() local 373 TEST_AND_RETURN_FALSE(source_fd != nullptr); in PerformDiffOperation() 374 TEST_AND_RETURN_FALSE(source_fd->IsOpen()); in PerformDiffOperation() 379 source_fd, in PerformDiffOperation() 385 operation, std::move(writer), source_fd, data, count); in PerformDiffOperation()
|
D | xor_extent_writer.h | 36 FileDescriptorPtr source_fd, in XORExtentWriter() argument 41 source_fd_(source_fd), in XORExtentWriter() 45 CHECK(source_fd->IsOpen()); in XORExtentWriter()
|
D | partition_writer.h | 47 const FileDescriptorPtr source_fd, 50 const FileDescriptorPtr source_fd,
|
D | vabc_partition_writer.h | 41 const FileDescriptorPtr& source_fd,
|
/system/update_engine/payload_generator/ |
D | cow_size_estimator.h | 32 FileDescriptorPtr source_fd, 47 FileDescriptorPtr source_fd,
|
D | cow_size_estimator.cc | 53 FileDescriptorPtr source_fd, in CowDryRun() argument 88 op, source_fd, cow_writer, xor_map, old_partition_size); in CowDryRun() 153 op, block_size, copy_blocks, source_fd, cow_writer, true)) { in CowDryRun() 200 FileDescriptorPtr source_fd, in EstimateCowSizeInfo() argument 219 CHECK(CowDryRun(source_fd, in EstimateCowSizeInfo()
|
D | cow_size_estimator_stub.cc | 22 FileDescriptorPtr source_fd, in EstimateCowSize() argument
|
D | delta_diff_generator.cc | 131 FileDescriptorPtr source_fd = std::make_shared<EintrSafeFileDescriptor>(); in Run() local 132 source_fd->Open(old_part_.path.c_str(), O_RDONLY); in Run() 135 std::move(source_fd), in Run()
|
/system/libartpalette/ |
D | palette_android_partner.cc | 30 palette_status_t PaletteNotifyStartDex2oatCompilation(int source_fd ATTRIBUTE_UNUSED, in PaletteNotifyStartDex2oatCompilation() 37 palette_status_t PaletteNotifyEndDex2oatCompilation(int source_fd ATTRIBUTE_UNUSED, in PaletteNotifyEndDex2oatCompilation()
|
D | palette_fake.cc | 99 palette_status_t PaletteNotifyStartDex2oatCompilation(int source_fd ATTRIBUTE_UNUSED, in PaletteNotifyStartDex2oatCompilation() 106 palette_status_t PaletteNotifyEndDex2oatCompilation(int source_fd ATTRIBUTE_UNUSED, in PaletteNotifyEndDex2oatCompilation()
|
/system/core/fs_mgr/libvbmeta/ |
D | builder.cpp | 62 unique_fd source_fd(TEMP_FAILURE_RETRY(open(file.c_str(), O_RDONLY | O_CLOEXEC))); in ReadVBMetaImageFromFile() local 63 if (source_fd < 0) { in ReadVBMetaImageFromFile() 67 Result<uint64_t> file_size = GetFileSize(source_fd); in ReadVBMetaImageFromFile() 77 if (!android::base::ReadFully(source_fd, buffer.get(), file_size.value())) { in ReadVBMetaImageFromFile()
|
/system/extras/partition_tools/ |
D | lpadd.cc | 188 int source_fd = -1; in AddPartition() local 201 source_fd = temp_image ? temp_image->fd : raw_image_fd.get(); in AddPartition() 203 auto size = lseek(source_fd, 0, SEEK_END); in AddPartition() 204 if (size < 0 || lseek(source_fd, 0, SEEK_SET) < 0) { in AddPartition() 224 if (source_fd >= 0 && !WritePartition(source_fd, file_size, partition_name)) { in AddPartition()
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 485 unique_fd source_fd = GetControlFileOrOpen(file.c_str(), O_RDONLY | O_CLOEXEC | O_BINARY); in OpenImageFile() local 486 if (source_fd < 0) { in OpenImageFile() 491 SparsePtr source(sparse_file_import(source_fd, true, true), sparse_file_destroy); in OpenImageFile() 493 int fd = source_fd.get(); in OpenImageFile() 494 temp_fds_.push_back(std::move(source_fd)); in OpenImageFile()
|