|
| static std::string | product_file (const std::string &file) |
| |
| static void | help () |
| |
| static void | stdin_raw_init () |
| |
| static void | stdin_raw_restore () |
| |
| int | read_and_dump_protocol (borrowed_fd fd, StandardStreamsCallbackInterface *callback) |
| |
| int | read_and_dump (borrowed_fd fd, bool use_shell_protocol, StandardStreamsCallbackInterface *callback) |
| |
| static void | stdinout_raw_prologue (int inFd, int outFd, int &old_stdin_mode, int &old_stdout_mode) |
| |
| static void | stdinout_raw_epilogue (int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) |
| |
| bool | copy_to_file (int inFd, int outFd) |
| |
| static void | send_window_size_change (int fd, std::unique_ptr< ShellProtocol > &shell) |
| |
| static void | stdin_read_thread_loop (void *x) |
| |
| static std::string | ShellServiceString (bool use_shell_protocol, const std::string &type_arg, const std::string &command) |
| |
| static int | RemoteShell (bool use_shell_protocol, const std::string &type_arg, char escape_char, bool empty_command, const std::string &service_string) |
| |
| static int | adb_shell (int argc, const char **argv) |
| |
| static int | adb_abb (int argc, const char **argv) |
| |
| static int | adb_shell_noinput (int argc, const char **argv) |
| |
| static int | adb_sideload_legacy (const char *filename, int in_fd, int size) |
| |
| static int | adb_sideload_install (const char *filename, bool rescue_mode) |
| |
| static int | adb_wipe_devices () |
| |
| static bool | wait_for_device (const char *service, std::optional< std::chrono::milliseconds > timeout=std::nullopt) |
| |
| static bool | adb_root (const char *command) |
| |
| int | send_shell_command (const std::string &command, bool disable_shell_protocol, StandardStreamsCallbackInterface *callback) |
| |
| static int | logcat (int argc, const char **argv) |
| |
| static void | write_zeros (int bytes, borrowed_fd fd) |
| |
| static int | backup (int argc, const char **argv) |
| |
| static int | restore (int argc, const char **argv) |
| |
| static CompressionType | parse_compression_type (const std::string &str, bool allow_numbers) |
| |
| static void | parse_push_pull_args (const char **arg, int narg, std::vector< const char * > *srcs, const char **dst, bool *copy_attrs, bool *sync, bool *quiet, CompressionType *compression, bool *dry_run) |
| |
| static int | adb_connect_command (const std::string &command, TransportId *transport, StandardStreamsCallbackInterface *callback) |
| |
| static int | adb_connect_command (const std::string &command, TransportId *transport=nullptr) |
| |
| static int | adb_connect_command_bidirectional (const std::string &command) |
| |
| const std::optional< FeatureSet > & | adb_get_feature_set_or_die (void) |
| |
| static int | process_remount_or_verity_service (const int argc, const char **argv) |
| |
| static int | adb_query_command (const std::string &command) |
| |
| static bool | _is_valid_ack_reply_fd (const int ack_reply_fd) |
| |
| static bool | _is_valid_os_fd (int fd) |
| |
| bool | forward_dest_is_featured (const std::string &dest, std::string *error) |
| |
| int | adb_commandline (int argc, const char **argv) |
| |