Home
last modified time | relevance | path

Searched refs:socketName (Results 1 – 11 of 11) sorted by relevance

/system/core/libsysutils/src/
DFrameworkListener.cpp33 FrameworkListener::FrameworkListener(const char *socketName, bool withSeq) : in FrameworkListener() argument
34 SocketListener(socketName, true, withSeq) { in FrameworkListener()
35 init(socketName, withSeq); in FrameworkListener()
38 FrameworkListener::FrameworkListener(const char *socketName) : in FrameworkListener() argument
39 SocketListener(socketName, true, false) { in FrameworkListener()
40 init(socketName, false); in FrameworkListener()
48 void FrameworkListener::init(const char *socketName UNUSED, bool withSeq) { in init()
DSocketListener.cpp37 SocketListener::SocketListener(const char *socketName, bool listen) { in SocketListener() argument
38 init(socketName, -1, listen, false); in SocketListener()
45 SocketListener::SocketListener(const char *socketName, bool listen, bool useCmdNum) { in SocketListener() argument
46 init(socketName, -1, listen, useCmdNum); in SocketListener()
49 void SocketListener::init(const char *socketName, int socketFd, bool listen, bool useCmdNum) { in init() argument
51 mSocketName = socketName; in init()
/system/core/libsysutils/include/sysutils/
DFrameworkListener.h38 FrameworkListener(const char *socketName);
39 FrameworkListener(const char *socketName, bool withSeq);
49 void init(const char *socketName, bool withSeq);
DSocketListener.h35 SocketListener(const char *socketName, bool listen);
36 SocketListener(const char *socketName, bool listen, bool useCmdNum);
57 void init(const char *socketName, int socketFd, bool listen, bool useCmdNum);
/system/chre/host/common/
Dsocket_client.cc44 bool SocketClient::connect(const char *socketName, in connect() argument
46 return doConnect(socketName, callbacks, false /* connectInBackground */); in connect()
49 bool SocketClient::connectInBackground(const char *socketName, in connectInBackground() argument
51 return doConnect(socketName, callbacks, true /* connectInBackground */); in connectInBackground()
105 bool SocketClient::doConnect(const char *socketName, in doConnect() argument
117 size_t socketNameLen = strlcpy(mSocketName, socketName, in doConnect()
Dsocket_server.cc68 void SocketServer::run(const char *socketName, bool allowSocketCreation, in run() argument
72 mSockFd = android_get_control_socket(socketName); in run()
75 mSockFd = socket_local_server(socketName, in run()
/system/chre/host/common/include/chre_host/
Dsocket_client.h83 bool connect(const char *socketName,
99 bool connectInBackground(const char *socketName,
141 bool doConnect(const char *socketName,
Dsocket_server.h60 void run(const char *socketName, bool allowSocketCreation,
/system/core/logd/
DLogListener.cpp145 static const char socketName[] = "logdw"; in getLogSocket() local
146 int sock = android_get_control_socket(socketName); in getLogSocket()
150 socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_DGRAM); in getLogSocket()
DLogReader.cpp230 static const char socketName[] = "logdr"; in getLogSocket() local
231 int sock = android_get_control_socket(socketName); in getLogSocket()
235 socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_SEQPACKET); in getLogSocket()
DCommandListener.cpp358 static const char socketName[] = "logd"; in getLogSocket() local
359 int sock = android_get_control_socket(socketName); in getLogSocket()
363 socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_STREAM); in getLogSocket()