| /foundation/multimodalinput/input/service/module_loader/test/ |
| D | uds_server_test.cpp | 188 const std::string programName = "program"; variable 196 …udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenTy… 212 const std::string programName = "program"; variable 220 …udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenTy… 235 const std::string programName = "program"; variable 244 …ret = udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, t… 261 const std::string programName = "program"; variable 268 …udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenTy… 269 ret = udsServer.SetFdProperty(tokenType, serverFd, toReturnClientFd, programName, readOnly); 286 const std::string programName = "program"; variable [all …]
|
| D | mmi_service_test.cpp | 265 const std::string programName = "programName"; variable 269 int32_t ret = mmiService.AllocSocketFd(programName, moduleType, toReturnClientFd, tokenType);
|
| /foundation/multimodalinput/input/intention/ipc/socket/src/ |
| D | socket_params.cpp | 21 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()
|
| D | socket_session.cpp | 32 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()
|
| D | socket_session_manager.cpp | 62 int32_t SocketSessionManager::AllocSocketFd(const std::string& programName, int32_t moduleType, int… in AllocSocketFd() argument 83 …session = std::make_shared<SocketSession>(programName, moduleType, tokenType, sockFds[0], uid, pid… in AllocSocketFd()
|
| D | socket_server.cpp | 98 param.programName, param.moduleType, tokenType, context.uid, context.pid, clientFd); in Control()
|
| /foundation/multimodalinput/input/intention/ipc/socket/include/ |
| D | socket_session.h | 29 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()
|
| D | socket_params.h | 33 AllocSocketPairParam(const std::string &programName, int32_t moduleType); 37 std::string programName; member
|
| D | socket_session_manager.h | 45 int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenType,
|
| /foundation/multimodalinput/input/service/module_loader/src/ |
| D | uds_server.cpp | 91 int32_t UDSServer::AddSocketPairInfo(const std::string& programName, in AddSocketPairInfo() argument 111 if (SetFdProperty(tokenType, serverFd, toReturnClientFd, programName, readOnly) != RET_OK) { in AddSocketPairInfo() 120 sess = std::make_shared<UDSSession>(programName, moduleType, serverFd, uid, pid); in AddSocketPairInfo() 122 … MMI_HILOGE("Make shared pointer fail. programName:%{public}s, pid:%{public}d, errCode:%{public}d", in AddSocketPairInfo() 123 programName.c_str(), pid, MAKE_SHARED_FAIL); in AddSocketPairInfo() 143 const std::string &programName, bool &readOnly) in SetFdProperty() argument 182 …if (std::find(programWhitelist.begin(), programWhitelist.end(), programName) == programWhitelist.e… in SetFdProperty() 183 … MMI_HILOGD("toReturnClientFd shutdown SHUT_WR , programName:%{public}s", programName.c_str()); in SetFdProperty()
|
| D | mmi_service.cpp | 530 int32_t MMIService::AllocSocketFd(const std::string &programName, const int32_t moduleType, int32_t… in AllocSocketFd() argument 537 MMI_HILOGI("Enter, programName:%{public}s, moduleType:%{public}d, pid:%{public}d", in AllocSocketFd() 538 programName.c_str(), moduleType, pid); in AllocSocketFd() 540 [this, &programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd() 541 …return this->AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, toke… in AllocSocketFd() 548 .programName = programName, in AllocSocketFd() 556 …MMI_HILOGIK("Leave, programName:%{public}s, moduleType:%{public}d, alloc success", programName.c_s… in AllocSocketFd() 3533 std::string programName = session->GetProgramName(); in OnSessionDelete() local 3535 auto it = clientInfos_.find(programName); in OnSessionDelete() 3538 MMI_HILOGD("Clear the client info, programName:%{public}s", programName.c_str()); in OnSessionDelete() [all …]
|
| /foundation/multimodalinput/input/service/module_loader/include/ |
| D | uds_server.h | 52 …int32_t AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const int32_t … 76 const std::string &programName, bool &readOnly);
|
| /foundation/multimodalinput/input/util/common/src/ |
| D | util.cpp | 175 static char programName[PROGRAM_NAME_SIZE] = {}; in GetProgramName() local 176 if (programName[0] != '\0') { in GetProgramName() 177 return programName; in GetProgramName() 213 errno_t ret = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName() 217 KMSG_LOGI("GetProgramName success. programName = %s", programName); in GetProgramName() 219 return programName; in GetProgramName()
|
| /foundation/multimodalinput/input/service/event_handler/test/ |
| D | anr_manager_test.cpp | 240 std::string programName = "foundation"; variable 241 …SessionPtr sess = std::make_shared<UDSSession>(programName, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); 320 std::string programName = "foundation"; variable 321 …SessionPtr sess = std::make_shared<UDSSession>(programName, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
|
| /foundation/multimodalinput/input/util/socket/src/ |
| D | uds_session.cpp | 31 UDSSession::UDSSession(const std::string &programName, const int32_t moduleType, const int32_t fd, in UDSSession() argument 33 : programName_(programName), in UDSSession() 111 << ", programName = " << programName_ in UpdateDescript()
|
| /foundation/multimodalinput/input/service/connect_manager/include/ |
| D | i_uds_server.h | 26 …virtual int32_t AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const …
|
| D | multimodal_input_connect_proxy.h | 31 int32_t AllocSocketFd(const std::string &programName, const int32_t moduleType,
|
| /foundation/multimodalinput/input/intention/prototype/include/ |
| D | i_socket_session_manager.h | 31 …virtual int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenTyp…
|
| D | i_socket_session.h | 47 virtual void SetProgramName(const std::string &programName) = 0;
|
| /foundation/multimodalinput/input/service/device_manager/test/ |
| D | input_device_manager_test.cpp | 44 …MockUDSSession(const std::string &programName, const int32_t moduleType, const int32_t fd, const i… in MockUDSSession() argument 45 const int32_t pid) : UDSSession(programName, moduleType, fd, uid, pid) {} in MockUDSSession() 865 std::string programName = "program"; variable 871 (programName, moduleType, fd, uid, pid); 889 std::string programName = "program"; variable 895 (programName, moduleType, fd, uid, pid); 911 std::string programName = "program"; variable 917 (programName, moduleType, fd, uid, pid); 933 std::string programName = "program"; variable 939 (programName, moduleType, fd, uid, pid);
|
| /foundation/multimodalinput/input/util/socket/include/ |
| D | uds_session.h | 29 …UDSSession(const std::string &programName, const int32_t moduleType, const int32_t fd, const int32…
|
| /foundation/multimodalinput/input/service/event_dispatch/include/ |
| D | event_dispatch_handler.h | 51 …void NotifyPointerEventToRS(int32_t pointAction, const std::string& programName, uint32_t pid, int…
|
| /foundation/multimodalinput/input/service/ |
| D | hisysevent.yaml | 120 PROGRAMNAME: {type: STRING, desc: program name} 128 PROGRAMNAME: {type: STRING, desc: program name} 137 PROGRAMNAME: {type: STRING, desc: program name}
|
| /foundation/multimodalinput/input/service/dfx/src/ |
| D | dfx_hisysevent.cpp | 99 "PROGRAMNAME", data.programName, in OnClientConnect() 112 "PROGRAMNAME", data.programName, in OnClientConnect() 133 "PROGRAMNAME", secPtr->GetProgramName(), in OnClientDisconnect()
|
| /foundation/multimodalinput/input/service/dfx/include/ |
| D | dfx_hisysevent.h | 52 std::string programName; member
|