Home
last modified time | relevance | path

Searched full:programname (Results 1 – 25 of 41) sorted by relevance

12

/foundation/multimodalinput/input/service/module_loader/test/
Duds_server_test.cpp188 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 …]
Dmmi_service_test.cpp265 const std::string programName = "programName"; variable
269 int32_t ret = mmiService.AllocSocketFd(programName, moduleType, toReturnClientFd, tokenType);
/foundation/multimodalinput/input/intention/ipc/socket/src/
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()
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()
Dsocket_session_manager.cpp62 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()
Dsocket_server.cpp98 param.programName, param.moduleType, tokenType, context.uid, context.pid, clientFd); in Control()
/foundation/multimodalinput/input/intention/ipc/socket/include/
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()
Dsocket_params.h33 AllocSocketPairParam(const std::string &programName, int32_t moduleType);
37 std::string programName; member
Dsocket_session_manager.h45 int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenType,
/foundation/multimodalinput/input/service/module_loader/src/
Duds_server.cpp91 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()
Dmmi_service.cpp530 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/
Duds_server.h52 …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/
Dutil.cpp175 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/
Danr_manager_test.cpp240 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/
Duds_session.cpp31 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/
Di_uds_server.h26 …virtual int32_t AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const …
Dmultimodal_input_connect_proxy.h31 int32_t AllocSocketFd(const std::string &programName, const int32_t moduleType,
/foundation/multimodalinput/input/intention/prototype/include/
Di_socket_session_manager.h31 …virtual int32_t AllocSocketFd(const std::string& programName, int32_t moduleType, int32_t tokenTyp…
Di_socket_session.h47 virtual void SetProgramName(const std::string &programName) = 0;
/foundation/multimodalinput/input/service/device_manager/test/
Dinput_device_manager_test.cpp44 …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/
Duds_session.h29 …UDSSession(const std::string &programName, const int32_t moduleType, const int32_t fd, const int32…
/foundation/multimodalinput/input/service/event_dispatch/include/
Devent_dispatch_handler.h51 …void NotifyPointerEventToRS(int32_t pointAction, const std::string& programName, uint32_t pid, int…
/foundation/multimodalinput/input/service/
Dhisysevent.yaml120 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/
Ddfx_hisysevent.cpp99 "PROGRAMNAME", data.programName, in OnClientConnect()
112 "PROGRAMNAME", data.programName, in OnClientConnect()
133 "PROGRAMNAME", secPtr->GetProgramName(), in OnClientDisconnect()
/foundation/multimodalinput/input/service/dfx/include/
Ddfx_hisysevent.h52 std::string programName; member

12