Android-cuttlefish cvd tool
|
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include <android-base/parseint.h>
#include <android-base/strings.h>
#include "util.h"
Functions | |
double | now () |
void | die (const char *fmt,...) |
void | die (const std::string &str) |
void | set_verbose () |
void | verbose (const char *fmt,...) |
bool | should_flash_in_userspace (const android::fs_mgr::LpMetadata &metadata, const std::string &partition_name) |
bool | is_sparse_file (borrowed_fd fd) |
int64_t | get_file_size (borrowed_fd fd) |
std::string | fb_fix_numeric_var (std::string var) |
Variables | |
static bool | g_verbose = false |
void die | ( | const char * | fmt, |
... | |||
) |
void die | ( | const std::string & | str | ) |
std::string fb_fix_numeric_var | ( | std::string | var | ) |
int64_t get_file_size | ( | borrowed_fd | fd | ) |
bool is_sparse_file | ( | borrowed_fd | fd | ) |
double now | ( | ) |
void set_verbose | ( | ) |
bool should_flash_in_userspace | ( | const android::fs_mgr::LpMetadata & | metadata, |
const std::string & | partition_name | ||
) |
void verbose | ( | const char * | fmt, |
... | |||
) |
|
static |