Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/utils/
Dunix_sockets_test.cpp63 std::pair<UnixMessageSocket, UnixMessageSocket> UnixMessageSocketPair() { in UnixMessageSocketPair()
66 return {UnixMessageSocket(sock1), UnixMessageSocket(sock2)}; in UnixMessageSocketPair()
69 TEST(UnixMessageSocket, SendPlainMessage) { in TEST() argument
81 TEST(UnixMessageSocket, SendFileDescriptor) { in TEST() argument
103 TEST(UnixMessageSocket, SendTwoFileDescriptors) { in TEST() argument
128 TEST(UnixMessageSocket, SendCredentials) { in TEST() argument
157 TEST(UnixMessageSocket, BadCredentialsBlocked) { in TEST() argument
177 TEST(UnixMessageSocket, AutoCredentials) { in TEST() argument
Dunix_sockets.cpp205 UnixMessageSocket::UnixMessageSocket(SharedFD socket) : socket_(socket) { in UnixMessageSocket() function in cuttlefish::UnixMessageSocket
213 Result<void> UnixMessageSocket::EnableCredentials(bool enable) { in EnableCredentials()
223 Result<void> UnixMessageSocket::WriteMessage(const UnixSocketMessage& message) { in WriteMessage()
258 Result<UnixSocketMessage> UnixMessageSocket::ReadMessage() { in ReadMessage()
Dunix_sockets.h53 friend class UnixMessageSocket;
73 class UnixMessageSocket {
75 UnixMessageSocket(SharedFD);