Home
last modified time | relevance | path

Searched refs:ScopedSocket (Results 1 – 3 of 3) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/sockets/
DScopedSocket.h24 class ScopedSocket {
26 constexpr ScopedSocket() = default;
27 constexpr ScopedSocket(int socket) : mSocket(socket) {} in ScopedSocket() function
28 ScopedSocket(ScopedSocket&& other) : mSocket(other.release()) {} in ScopedSocket() function
29 ~ScopedSocket() { close(); } in ~ScopedSocket()
31 ScopedSocket& operator=(ScopedSocket&& other) {
57 void swap(ScopedSocket* other) { in swap()
65 inline void swap(ScopedSocket& one, ScopedSocket& two) { in swap()
/hardware/google/aemu/base/include/aemu/base/async/
DAsyncSocket.h36 AsyncSocket(Looper* looper, ScopedSocket socket);
56 ScopedSocket mSocket;
/hardware/google/aemu/base/include/aemu/base/testing/
DTestInputBufferSocketServerThread.h98 ScopedSocket mSocket;