LLDB  mainline
Functions | Variables
AdbClient.cpp File Reference
#include "AdbClient.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileUtilities.h"
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/PosixApi.h"
#include "lldb/Utility/DataBuffer.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/DataEncoder.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/Timeout.h"
#include <climits>
#include <algorithm>
#include <cstdlib>
#include <fstream>
#include <sstream>
Include dependency graph for AdbClient.cpp:

Go to the source code of this file.

Functions

static const seconds kReadTimeout (20)
 
static Status ReadAllBytes (Connection &conn, void *buffer, size_t size)
 

Variables

static const char * kOKAY = "OKAY"
 
static const char * kFAIL = "FAIL"
 
static const char * kDATA = "DATA"
 
static const char * kDONE = "DONE"
 
static const char * kSEND = "SEND"
 
static const char * kRECV = "RECV"
 
static const char * kSTAT = "STAT"
 
static const size_t kSyncPacketLen = 8
 
static const size_t kMaxPushData = 2 * 1024
 
static const uint32_t kDefaultMode = 0100770
 
static const char * kSocketNamespaceAbstract = "localabstract"
 
static const char * kSocketNamespaceFileSystem = "localfilesystem"
 

Function Documentation

◆ kReadTimeout()

static const seconds kReadTimeout ( 20  )
static

Referenced by ReadAllBytes().

◆ ReadAllBytes()

static Status ReadAllBytes ( Connection conn,
void *  buffer,
size_t  size 
)
static

Variable Documentation

◆ kDATA

const char* kDATA = "DATA"
static

◆ kDefaultMode

const uint32_t kDefaultMode = 0100770
static

◆ kDONE

const char* kDONE = "DONE"
static

◆ kFAIL

const char* kFAIL = "FAIL"
static

◆ kMaxPushData

const size_t kMaxPushData = 2 * 1024
static

◆ kOKAY

const char* kOKAY = "OKAY"
static

◆ kRECV

const char* kRECV = "RECV"
static

◆ kSEND

const char* kSEND = "SEND"
static

◆ kSocketNamespaceAbstract

const char* kSocketNamespaceAbstract = "localabstract"
static

◆ kSocketNamespaceFileSystem

const char* kSocketNamespaceFileSystem = "localfilesystem"
static

◆ kSTAT

const char* kSTAT = "STAT"
static

◆ kSyncPacketLen

const size_t kSyncPacketLen = 8
static