Home
last modified time | relevance | path

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

/system/core/libsysutils/include/sysutils/
DFrameworkListener.h40 FrameworkListener(const char *socketName);
41 FrameworkListener(const char *socketName, bool withSeq);
51 void init(const char *socketName, bool withSeq);
DSocketListener.h37 SocketListener(const char *socketName, bool listen);
38 SocketListener(const char *socketName, bool listen, bool useCmdNum);
64 void init(const char *socketName, int socketFd, bool listen, bool useCmdNum);
/system/core/libsysutils/src/
DFrameworkListener.cpp31 FrameworkListener::FrameworkListener(const char *socketName, bool withSeq) : in FrameworkListener() argument
32 SocketListener(socketName, true, withSeq) { in FrameworkListener()
33 init(socketName, withSeq); in FrameworkListener()
36 FrameworkListener::FrameworkListener(const char *socketName) : in FrameworkListener() argument
37 SocketListener(socketName, true, false) { in FrameworkListener()
38 init(socketName, false); in FrameworkListener()
DSocketListener.cpp39 SocketListener::SocketListener(const char *socketName, bool listen) { in SocketListener() argument
40 init(socketName, -1, listen, false); in SocketListener()
47 SocketListener::SocketListener(const char *socketName, bool listen, bool useCmdNum) { in SocketListener() argument
48 init(socketName, -1, listen, useCmdNum); in SocketListener()
51 void SocketListener::init(const char *socketName, int socketFd, bool listen, bool useCmdNum) { in init() argument
53 mSocketName = socketName; in init()
/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.h61 void run(const char *socketName, bool allowSocketCreation,
/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/core/logd/
DLogListener.cpp149 static const char socketName[] = "logdw"; in getLogSocket() local
150 int sock = android_get_control_socket(socketName); in getLogSocket()
154 socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_DGRAM); in getLogSocket()
DLogReader.cpp257 static const char socketName[] = "logdr"; in getLogSocket() local
258 int sock = android_get_control_socket(socketName); in getLogSocket()
262 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()