Searched refs:on_progress (Results 1 – 8 of 8) sorted by relevance
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 267 const std::function<bool(uint64_t, uint64_t)>& on_progress) { in FallocateFallback() argument 294 if (on_progress && !on_progress(cursor, file_size)) { in FallocateFallback() 387 const std::function<bool(uint64_t, uint64_t)>& on_progress) { in WriteZeroes() argument 414 if (on_progress && !on_progress(offset, file_size)) { in WriteZeroes() 434 std::function<bool(uint64_t, uint64_t)> on_progress) { in AllocateFile() argument 455 return FallocateFallback(file_fd, blocksz, file_size, file_path, on_progress); in AllocateFile() 467 auto status = WriteZeroes(file_fd, file_path, blocksz, file_size, on_progress); in AllocateFile() 480 if (on_progress && !on_progress(file_size, file_size)) { in AllocateFile()
|
D | binder.cpp | 54 std::function<bool(uint64_t, uint64_t)>&& on_progress) override; 95 std::function<bool(uint64_t, uint64_t)>&& on_progress) { in CreateBackingImage() argument 97 if (on_progress) { in CreateBackingImage() 98 callback = new ProgressCallback(std::move(on_progress)); in CreateBackingImage()
|
D | split_fiemap_writer.cpp | 79 auto on_progress = [&](uint64_t written, uint64_t) -> bool { in Create() local 106 auto status = FiemapWriter::Open(chunk_path, chunk_size, &writer, true, on_progress); in Create()
|
D | image_manager.cpp | 150 std::function<bool(uint64_t, uint64_t)>&& on_progress) { in CreateBackingImage() argument 153 auto status = SplitFiemap::Create(data_path, size, 0, &fw, on_progress); in CreateBackingImage()
|
/system/gsid/aidl/android/gsi/ |
D | IImageService.aidl | 52 @nullable IProgressCallback on_progress); in createBackingImage() argument
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 58 std::function<bool(uint64_t, uint64_t)>&& on_progress = nullptr) = 0; 142 std::function<bool(uint64_t, uint64_t)>&& on_progress) override;
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.h | 160 std::function<bool(uint64_t, uint64_t)>&& on_progress) override { in CreateBackingImage() argument 161 return impl_->CreateBackingImage(name, size, flags, std::move(on_progress)); in CreateBackingImage()
|
/system/gsid/ |
D | gsi_service.cpp | 503 const sp<IProgressCallback>& on_progress) override; 534 const sp<IProgressCallback>& on_progress) { in createBackingImage() argument 540 if (on_progress) { in createBackingImage() 541 callback = [on_progress](uint64_t current, uint64_t total) -> bool { in createBackingImage() 542 auto status = on_progress->onProgress(static_cast<int64_t>(current), in createBackingImage()
|