Lines Matching full:content
99 static uint32_t SendCmsCmd(int fd, CmsCmdContent *content) in SendCmsCmd() argument
102 ret = ioctl(fd, IPC_CMS_CMD, content); in SendCmsCmd()
188 CmsCmdContent content; in HandleServiceRegAndGet() local
203 content.cmd = CMS_GEN_HANDLE; in HandleServiceRegAndGet()
204 content.taskID = data->taskID; in HandleServiceRegAndGet()
205 ret = SendCmsCmd(fd, &content); in HandleServiceRegAndGet()
209 …if (g_serviceNameMap[content.serviceHandle].serviceName != NULL && g_serviceNameMap[content.servic… in HandleServiceRegAndGet()
210 …printf("the task has already a service named:%s\n", g_serviceNameMap[content.serviceHandle].servic… in HandleServiceRegAndGet()
213 … (void)memcpy_s(g_serviceNameMap[content.serviceHandle].serviceName, info->nameLen, in HandleServiceRegAndGet()
215 g_serviceNameMap[content.serviceHandle].nameLen = info->nameLen; in HandleServiceRegAndGet()
216 SendReply(fd, data, 0, content.serviceHandle); in HandleServiceRegAndGet()
227 content.cmd = CMS_ADD_ACCESS; in HandleServiceRegAndGet()
228 content.taskID = data->taskID; in HandleServiceRegAndGet()
229 content.serviceHandle = i; in HandleServiceRegAndGet()
230 SendCmsCmd(fd, &content); in HandleServiceRegAndGet()
239 content.cmd = CMS_REMOVE_HANDLE; in HandleServiceRegAndGet()
240 SendCmsCmd(fd, &content); in HandleServiceRegAndGet()