Home
last modified time | relevance | path

Searched refs:programName (Results 1 - 25 of 25) sorted by relevance

/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_params.cpp21 AllocSocketPairParam::AllocSocketPairParam(const std::string &programName, int32_t moduleType) in AllocSocketPairParam() argument
22 : programName(programName), moduleType(moduleType) in AllocSocketPairParam()
28 parcel.WriteString(programName) && in Marshalling()
36 parcel.ReadString(programName) && in Unmarshalling()
H A Dsocket_session.cpp32 SocketSession::SocketSession(const std::string &programName, int32_t moduleType, in SocketSession() argument
34 : fd_(fd), uid_(uid), pid_(pid), tokenType_(tokenType), programName_(programName) in SocketSession()
H A Dsocket_server.cpp98 param.programName, param.moduleType, tokenType, context.uid, context.pid, clientFd); in Control()
H A Dsocket_session_manager.cpp85 int32_t SocketSessionManager::AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenType, in AllocSocketFd() argument
106 session = std::make_shared<SocketSession>(programName, moduleType, tokenType, sockFds[0], uid, pid); in AllocSocketFd()
/base/msdp/device_status/intention/ipc/socket/include/
H A Dsocket_session.h29 SocketSession(const std::string &programName, int32_t moduleType,
40 void SetProgramName(const std::string &programName) override;
76 inline void SocketSession::SetProgramName(const std::string &programName) in SetProgramName() argument
78 programName_ = programName; in SetProgramName()
H A Dsocket_params.h33 AllocSocketPairParam(const std::string &programName, int32_t moduleType);
37 std::string programName; member
H A Dsocket_session_manager.h46 int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenType,
/base/msdp/device_status/utils/common/src/
H A Dutil.cpp211 static char programName[PROGRAM_NAME_SIZE] = { 0 }; in GetProgramName() local
212 if (programName[0] != '\0') { in GetProgramName()
213 return programName; in GetProgramName()
253 errno_t result = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName()
258 FI_HILOGI("Get program name success, programName:%{public}s", programName); in GetProgramName()
260 return programName; in GetProgramName()
/base/msdp/device_status/rust/services/binding/include/
H A Dfusion_services_binding.h34 int32_t NativeServiceAllocSocketFd(struct NativeService *service, const char *programName,
/base/msdp/device_status/services/native/include/
H A Di_stream_server.h27 virtual int32_t AddSocketPairInfo(const std::string &programName, int32_t moduleType, int32_t uid,
H A Dstream_server.h55 int32_t AddSocketPairInfo(const std::string &programName, int32_t moduleType, int32_t uid, int32_t pid,
H A Ddevicestatus_service.h103 int32_t AllocSocketFd(const std::string &programName, int32_t moduleType,
/base/msdp/device_status/intention/prototype/include/
H A Di_socket_session_manager.h31 virtual int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenType,
H A Di_socket_session.h47 virtual void SetProgramName(const std::string &programName) = 0;
/base/msdp/device_status/utils/ipc/include/
H A Dstream_session.h38 StreamSession(const std::string &programName, int32_t moduleType, int32_t fd, int32_t uid, int32_t pid);
/base/msdp/device_status/rust/services/binding/src/
H A Dfusion_services_binding.cpp77 int32_t NativeServiceAllocSocketFd(struct NativeService *service, const char *programName, in NativeServiceAllocSocketFd() argument
/base/sensors/sensor/utils/ipc/include/
H A Dstream_session.h38 StreamSession(const std::string &programName, const int32_t fd, const int32_t uid, const int32_t pid);
/base/sensors/sensor/utils/ipc/src/
H A Dstream_session.cpp31 StreamSession::StreamSession(const std::string &programName, const int32_t fd, const int32_t uid, const int32_t pid) in StreamSession() argument
32 : programName_(programName) in StreamSession()
122 << ", programName = " << programName_ in UpdateDescript()
133 << ", programName = " << programName_ in UpdateDescript()
/base/msdp/device_status/utils/ipc/src/
H A Dstream_session.cpp39 StreamSession::StreamSession(const std::string &programName, int32_t moduleType, int32_t fd, int32_t uid, int32_t pid) in StreamSession() argument
/base/msdp/device_status/frameworks/native/src/
H A Ddevicestatus_client.cpp305 const std::string programName(GetProgramName()); in AllocSocketPair()
306 int32_t ret = fusion_alloc_socket_fd(programName.c_str(), moduleType, &socketFd_, &tokenType_); in AllocSocketPair()
325 const std::string programName(GetProgramName()); in AllocSocketPair()
326 int32_t result = devicestatusProxy_->AllocSocketFd(programName, moduleType, socketFd_, tokenType_); in AllocSocketPair()
/base/msdp/device_status/services/communication/base/
H A Di_devicestatus.h59 virtual int32_t AllocSocketFd(const std::string &programName, int32_t moduleType,
/base/msdp/device_status/services/native/src/
H A Dstream_server.cpp94 int32_t StreamServer::AddSocketPairInfo(const std::string &programName, int32_t moduleType, int32_t uid, int32_t pid, in AddSocketPairInfo() argument
115 sess = std::make_shared<StreamSession>(programName, moduleType, serverFd, uid, pid); in AddSocketPairInfo()
H A Ddevicestatus_service.cpp381 int32_t DeviceStatusService::AllocSocketFd(const std::string &programName, int32_t moduleType, in AllocSocketFd() argument
384 FI_HILOGI("Enter, programName:%{public}s, moduleType:%{public}d", programName.c_str(), moduleType); in AllocSocketFd()
391 [this, programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd()
392 return this->AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, in AllocSocketFd()
399 FI_HILOGI("Leave, programName:%{public}s, moduleType:%{public}d, alloc success", in AllocSocketFd()
400 programName.c_str(), moduleType); in AllocSocketFd()
/base/msdp/device_status/services/communication/client/include/
H A Ddevicestatus_srv_proxy.h40 int32_t AllocSocketFd(const std::string &programName, int32_t moduleType,
/base/msdp/device_status/services/communication/client/src/
H A Ddevicestatus_srv_proxy.cpp521 int32_t DeviceStatusSrvProxy::AllocSocketFd(const std::string &programName, int32_t moduleType, in AllocSocketFd() argument
531 WRITESTRING(data, programName, ERR_INVALID_VALUE); in AllocSocketFd()

Completed in 11 milliseconds