Lines Matching refs:command
98 const uint16_t command, uint8_t *payload, const int payloadSize) in RedirectToTask() argument
102 WRITE_LOG(LOG_DEBUG, "RedirectToTask command %d", command); in RedirectToTask()
103 switch (command) { in RedirectToTask()
114 … ret = TaskCommandDispatch<HdcDaemonUnity>(hTaskInfo, TYPE_UNITY, command, payload, payloadSize); in RedirectToTask()
118 … ret = TaskCommandDispatch<HdcShell>(hTaskInfo, TYPE_SHELL, command, payload, payloadSize); in RedirectToTask()
125 ret = TaskCommandDispatch<HdcFile>(hTaskInfo, TASK_FILE, command, payload, payloadSize); in RedirectToTask()
137 … ret = TaskCommandDispatch<DaemonUpdater>(hTaskInfo, TASK_UPDATER, command, payload, payloadSize); in RedirectToTask()
231 bool HdcDaemon::FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, u… in FetchCommand() argument
234 WRITE_LOG(LOG_DEBUG, "FetchCommand command %d", command); in FetchCommand()
236 if (!hSession->handshakeOK && command != CMD_KERNEL_HANDSHAKE) { in FetchCommand()
240 switch (command) { in FetchCommand()
256 ret = DispatchTaskData(hSession, channelId, command, payload, payloadSize); in FetchCommand()
291 …dcDaemon::ServerCommand(const uint32_t sessionId, const uint32_t channelId, const uint16_t command, in ServerCommand() argument
294 return Send(sessionId, channelId, command, (uint8_t *)bufPtr, size) > 0; in ServerCommand()