|
Android-cuttlefish cvd tool
|
#include "adb_utils.h"#include "adb_unique_fd.h"#include <stdlib.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <algorithm>#include <vector>#include <android-base/file.h>#include <android-base/logging.h>#include <android-base/parseint.h>#include <android-base/stringprintf.h>#include <android-base/strings.h>#include "adb.h"#include "adb_trace.h"#include "sysdeps.h"#include <pwd.h>
Macros | |
| #define | TRACE_TAG ADB |
Functions | |
| void | close_stdin () |
| bool | getcwd (std::string *s) |
| bool | directory_exists (const std::string &path) |
| std::string | escape_arg (const std::string &s) |
| bool | mkdirs (const std::string &path) |
| std::string | dump_hex (const void *data, size_t byte_count) |
| std::string | dump_header (const amessage *msg) |
| std::string | dump_packet (const char *name, const char *func, const apacket *p) |
| std::string | perror_str (const char *msg) |
| bool | set_file_block_mode (borrowed_fd fd, bool block) |
| bool | forward_targets_are_valid (const std::string &source, const std::string &dest, std::string *error) |
| std::string | adb_get_homedir_path () |
| std::string | adb_get_android_dir_path () |
| std::string | GetLogFilePath () |
Variables | |
| static constexpr char | kNullFileName [] = "/dev/null" |
| #define TRACE_TAG ADB |
| std::string adb_get_android_dir_path | ( | ) |
| std::string adb_get_homedir_path | ( | ) |
| void close_stdin | ( | ) |
| bool directory_exists | ( | const std::string & | path | ) |
| std::string dump_header | ( | const amessage * | msg | ) |
| std::string dump_hex | ( | const void * | data, |
| size_t | byte_count | ||
| ) |
| std::string dump_packet | ( | const char * | name, |
| const char * | func, | ||
| const apacket * | p | ||
| ) |
| std::string escape_arg | ( | const std::string & | s | ) |
| bool forward_targets_are_valid | ( | const std::string & | source, |
| const std::string & | dest, | ||
| std::string * | error | ||
| ) |
| bool getcwd | ( | std::string * | s | ) |
| std::string GetLogFilePath | ( | ) |
| bool mkdirs | ( | const std::string & | path | ) |
| std::string perror_str | ( | const char * | msg | ) |
| bool set_file_block_mode | ( | borrowed_fd | fd, |
| bool | block | ||
| ) |
|
staticconstexpr |