Home
last modified time | relevance | path

Searched refs:on_progress (Results 1 – 8 of 8) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp267 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()
Dbinder.cpp54 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()
Dsplit_fiemap_writer.cpp79 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()
Dimage_manager.cpp150 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/
DIImageService.aidl52 @nullable IProgressCallback on_progress); in createBackingImage() argument
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h58 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/
Dsnapshot_fuzz_utils.h160 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/
Dgsi_service.cpp503 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()