Android-cuttlefish cvd tool
|
Classes | |
class | CompositeDiskBuilder |
struct | PartitionInfo |
Functions | |
Result< uint64_t > | ExpandedStorageSize (const std::string &file_path) |
void | u16cpy (std::uint16_t *dest, std::uint16_t *src, std::size_t size) |
void | SetRandomUuid (std::uint8_t uuid[16]) |
Result< void > | WriteBeginning (SharedFD out, const GptBeginning &beginning) |
Result< void > | WriteEnd (SharedFD out, const GptEnd &end) |
Result< void > | DeAndroidSparse (const std::vector< ImagePartition > &partitions) |
Result< void > cuttlefish::anonymous_namespace{image_aggregator.cc}::DeAndroidSparse | ( | const std::vector< ImagePartition > & | partitions | ) |
Converts any Android-Sparse image files in partitions
to raw image files.
Android-Sparse is a file format invented by Android that optimizes for chunks of zeroes or repeated data. The Android build system can produce sparse files to save on size of disk files after they are extracted from a disk file, as the imag eflashing process also can handle Android-Sparse images.
crosvm has read-only support for Android-Sparse files, but QEMU does not support them.
Result< uint64_t > cuttlefish::anonymous_namespace{image_aggregator.cc}::ExpandedStorageSize | ( | const std::string & | file_path | ) |
void cuttlefish::anonymous_namespace{image_aggregator.cc}::SetRandomUuid | ( | std::uint8_t | uuid[16] | ) |
void cuttlefish::anonymous_namespace{image_aggregator.cc}::u16cpy | ( | std::uint16_t * | dest, |
std::uint16_t * | src, | ||
std::size_t | size | ||
) |
Result< void > cuttlefish::anonymous_namespace{image_aggregator.cc}::WriteBeginning | ( | SharedFD | out, |
const GptBeginning & | beginning | ||
) |