|
Android-cuttlefish cvd tool
|
#include "cuttlefish/host/libs/image_aggregator/sparse_image.h"#include <fcntl.h>#include <stdint.h>#include <sys/file.h>#include <fstream>#include <ios>#include <memory>#include <string>#include <string_view>#include <utility>#include "android-base/unique_fd.h"#include "sparse/sparse.h"#include "cuttlefish/common/libs/fs/fd.h"#include "cuttlefish/host/libs/config/known_paths.h"#include "cuttlefish/posix/realpath.h"#include "cuttlefish/posix/rename.h"#include "cuttlefish/process/execute.h"#include "cuttlefish/result/result.h"
Classes | |
| struct | cuttlefish::anonymous_namespace{sparse_image.cc}::SparseImageDeleter |
| struct | cuttlefish::AndroidSparseImage::Impl |
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{sparse_image.cc} |
Functions | |
| Result< Fd > | cuttlefish::anonymous_namespace{sparse_image.cc}::AcquireLockForImage (const std::string &image_path) |
| Result< bool > | cuttlefish::IsSparseImage (const std::string &image_path) |
| Result< void > | cuttlefish::ForceRawImage (const std::string &image_path) |
Variables | |
| constexpr std::string_view | cuttlefish::anonymous_namespace{sparse_image.cc}::kAndroidSparseImageMagic = "\x3A\xFF\x26\xED" |