Android-cuttlefish cvd tool
|
#include <android-base/strings.h>
#include <google/protobuf/text_format.h>
#include <stdlib.h>
#include <optional>
#include "adb.h"
#include "adb_client.h"
#include "adb_unique_fd.h"
#include "transport.h"
Go to the source code of this file.
Classes | |
class | StandardStreamsCallbackInterface |
class | DefaultStandardStreamsCallback |
class | SilentStandardStreamsCallbackInterface |
class | ProtoBinaryToText< T > |
Functions | |
int | adb_commandline (int argc, const char **argv) |
const std::optional< FeatureSet > & | adb_get_feature_set_or_die () |
bool | copy_to_file (int inFd, int outFd) |
int | send_shell_command (const std::string &command, bool disable_shell_protocol=false, StandardStreamsCallbackInterface *callback=&DEFAULT_STANDARD_STREAMS_CALLBACK) |
int | read_and_dump (borrowed_fd fd, bool use_shell_protocol=false, StandardStreamsCallbackInterface *callback=&DEFAULT_STANDARD_STREAMS_CALLBACK) |
template<typename ContainerT > | |
unique_fd | send_abb_exec_command (const ContainerT &command_args, std::string *error) |
Variables | |
DefaultStandardStreamsCallback | DEFAULT_STANDARD_STREAMS_CALLBACK |
int adb_commandline | ( | int | argc, |
const char ** | argv | ||
) |
const std::optional< FeatureSet > & adb_get_feature_set_or_die | ( | ) |
bool copy_to_file | ( | int | inFd, |
int | outFd | ||
) |
int read_and_dump | ( | borrowed_fd | fd, |
bool | use_shell_protocol = false , |
||
StandardStreamsCallbackInterface * | callback = &DEFAULT_STANDARD_STREAMS_CALLBACK |
||
) |
unique_fd send_abb_exec_command | ( | const ContainerT & | command_args, |
std::string * | error | ||
) |
int send_shell_command | ( | const std::string & | command, |
bool | disable_shell_protocol = false , |
||
StandardStreamsCallbackInterface * | callback = &DEFAULT_STANDARD_STREAMS_CALLBACK |
||
) |
|
extern |