Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Dsocket_server.cpp37 : socketHandler(0), socketType(socketType), socketName(_socketName) in SocketServer()
42 sockPath += socketName; in SocketServer()
50 if (socketName.length()) { in Init()
51 socketHandler = GetControlSocket(socketName.c_str()); in Init()
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/
Ddgram_socket_server.h30 DgramSocketServer(const std::string& socketName, uint16_t maxLength) in DgramSocketServer() argument
31 : SocketServer(socketName, SOCK_DGRAM), maxPacketLength(maxLength) {} in DgramSocketServer()
Dsocket_server.h45 std::string socketName; variable
/base/hiviewdfx/hilog/services/hilogd/
Dcmd_executor.cpp48 void CmdExecutor::MainLoop(const std::string& socketName) in MainLoop() argument
50 SeqPacketSocketServer cmdServer(socketName, MAX_CLIENT_CONNECTIONS); in MainLoop()
/base/startup/appspawn/lite/
Dappspawn_service.c99 AppSpawnContent *AppSpawnCreateContent(const char *socketName, char *longProcName, uint32_t longPro… in AppSpawnCreateContent() argument
103 APPSPAWN_LOGI("AppSpawnCreateContent %s", socketName); in AppSpawnCreateContent()
/base/startup/appspawn/standard/
Dappspawn_service.c784 static int CreateAppSpawnServer(AppSpawnContentExt *appSpawnContent, const char *socketName) in CreateAppSpawnServer() argument
787 int ret = snprintf_s(path, sizeof(path), sizeof(path) - 1, "%s%s", SOCKET_DIR, socketName); in CreateAppSpawnServer()
789 int socketId = GetControlSocket(socketName); in CreateAppSpawnServer()
790 APPSPAWN_LOGI("get socket form env %{public}s socketId %{public}d", socketName, socketId); in CreateAppSpawnServer()
810 AppSpawnContent *AppSpawnCreateContent(const char *socketName, char *longProcName, uint32_t longPro… in AppSpawnCreateContent() argument
813 APPSPAWN_CHECK(socketName != NULL && longProcName != NULL, return NULL, "Invalid name"); in AppSpawnCreateContent()
814 …APPSPAWN_LOGI("AppSpawnCreateContent %{public}s %{public}u mode %{public}d", socketName, longProcN… in AppSpawnCreateContent()
841 ret = CreateAppSpawnServer(appSpawnContent, socketName); in AppSpawnCreateContent()
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_socket_manager.c631 static int32_t PrepareBindSocket(const char *socketName, DeviceIdentify *devId, int32_t *socketId) in PrepareBindSocket() argument
633 if (socketName == NULL || devId == NULL || socketId == NULL) { in PrepareBindSocket()
646 int32_t ret = memcpy_s(name, SOCKET_NAME_LEN, socketName, SOCKET_NAME_LEN); in PrepareBindSocket()
673 …G_INFO("clientName is %{public}s to socket %{public}s %{public}d", clientName, socketName, socket); in PrepareBindSocket()
/base/startup/appspawn/common/
Dappspawn_server.h93 AppSpawnContent *AppSpawnCreateContent(const char *socketName, char *longProcName, uint32_t longPro…