LLDB mainline
|
#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>
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" |
|
static |
Referenced by ReadAllBytes().
|
static |
Definition at line 64 of file AdbClient.cpp.
References lldb::eConnectionStatusSuccess, error(), kReadTimeout(), and lldb_private::Connection::Read().
|
static |
Definition at line 48 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile(), and lldb_private::platform_android::AdbClient::SyncService::PullFileChunk().
|
static |
Definition at line 59 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile().
|
static |
Definition at line 49 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile(), and lldb_private::platform_android::AdbClient::SyncService::PullFileChunk().
|
static |
|
static |
Definition at line 57 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile().
|
static |
Definition at line 46 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile(), and lldb_private::platform_android::AdbClient::ReadResponseStatus().
|
static |
Definition at line 52 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPullFile().
|
static |
Definition at line 51 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalPushFile().
|
static |
Definition at line 61 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SetPortForwarding().
|
static |
Definition at line 62 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SetPortForwarding().
|
static |
Definition at line 53 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::internalStat().
|
static |
Definition at line 55 of file AdbClient.cpp.
Referenced by lldb_private::platform_android::AdbClient::SyncService::ReadSyncHeader(), and lldb_private::platform_android::AdbClient::SyncService::SendSyncRequest().