OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SocketMock
(Results
1 - 2
of
2
) sorted by null
/system/core/fastboot/
socket_mock.cpp
33
SocketMock
::
SocketMock
() : Socket(INVALID_SOCKET) {}
35
SocketMock
::~
SocketMock
() {
41
bool
SocketMock
::Send(const void* data, size_t length) {
65
bool
SocketMock
::Send(std::vector<cutils_socket_buffer_t> buffers) {
73
ssize_t
SocketMock
::Receive(void* data, size_t length, int /*timeout_ms*/) {
105
int
SocketMock
::Close() {
109
std::unique_ptr<Socket>
SocketMock
::Accept() {
125
void
SocketMock
::ExpectSend(std::string message)
[
all
...]
socket_mock.h
44
//
SocketMock
mock;
50
//
SocketMock
mock;
54
class
SocketMock
: public Socket {
56
SocketMock
();
57
~
SocketMock
() override;
98
DISALLOW_COPY_AND_ASSIGN(
SocketMock
);
Completed in 73 milliseconds