#include <charconv>
#include <condition_variable>
#include <mutex>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
#include <android-base/macros.h>
#include "adb.h"
#include "adb_unique_fd.h"
Go to the source code of this file.
◆ adb_get_android_dir_path()
std::string adb_get_android_dir_path |
( |
| ) |
|
◆ adb_get_homedir_path()
std::string adb_get_homedir_path |
( |
| ) |
|
◆ close_stdin()
◆ directory_exists()
bool directory_exists |
( |
const std::string & |
path | ) |
|
◆ dump_header()
std::string dump_header |
( |
const amessage * |
msg | ) |
|
◆ dump_hex()
std::string dump_hex |
( |
const void * |
ptr, |
|
|
size_t |
byte_count |
|
) |
| |
◆ dump_packet()
std::string dump_packet |
( |
const char * |
name, |
|
|
const char * |
func, |
|
|
const apacket * |
p |
|
) |
| |
◆ escape_arg()
std::string escape_arg |
( |
const std::string & |
s | ) |
|
◆ forward_targets_are_valid()
bool forward_targets_are_valid |
( |
const std::string & |
source, |
|
|
const std::string & |
dest, |
|
|
std::string * |
error |
|
) |
| |
◆ getcwd()
bool getcwd |
( |
std::string * |
cwd | ) |
|
◆ GetLogFilePath()
std::string GetLogFilePath |
( |
| ) |
|
◆ mkdirs()
bool mkdirs |
( |
const std::string & |
path | ) |
|
◆ ParseUint()
template<typename T >
bool ParseUint |
( |
T * |
result, |
|
|
std::string_view |
str, |
|
|
std::string_view * |
remaining = nullptr |
|
) |
| |
|
inline |
◆ perror_str()
std::string perror_str |
( |
const char * |
msg | ) |
|
◆ set_file_block_mode()
bool set_file_block_mode |
( |
borrowed_fd |
fd, |
|
|
bool |
block |
|
) |
| |
◆ StripTrailingNulls()
std::string_view StripTrailingNulls |
( |
std::string_view |
str | ) |
|
|
inline |