Lines Matching refs:payload
466 bool HdcServer::ServerSessionHandshake(HSession hSession, uint8_t *payload, int payloadSize) in ServerSessionHandshake() argument
469 string s = string(reinterpret_cast<char *>(payload), payloadSize); in ServerSessionHandshake()
515 …FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, uint8_t *payload, in FetchCommand() argument
521 ret = ServerSessionHandshake(hSession, payload, payloadSize); in FetchCommand()
548 sfc->EchoClientRaw(hChannel, payload, payloadSize); in FetchCommand()
552 MessageLevel level = static_cast<MessageLevel>(*payload); in FetchCommand()
553 string s(reinterpret_cast<char *>(payload + 1), payloadSize - 1); in FetchCommand()
564 if (*payload != 0) { in FetchCommand()
565 --(*payload); in FetchCommand()
566 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, payload, 1); in FetchCommand()
578 pdiNew->forwardDirection = (reinterpret_cast<char *>(payload))[0] == '1'; in FetchCommand()
579 pdiNew->taskString = reinterpret_cast<char *>(payload) + offset; in FetchCommand()
598 sfc->SendCommandToClient(hChannel, command, payload, payloadSize); in FetchCommand()
607 ret = DispatchTaskData(hSessionByQuery, channelId, command, payload, payloadSize); in FetchCommand()
919 const uint16_t command, uint8_t *payload, const int payloadSize) in RedirectToTask() argument
927 … ret = TaskCommandDispatch<HdcHostUnity>(hTaskInfo, TYPE_UNITY, command, payload, payloadSize); in RedirectToTask()
936 ret = TaskCommandDispatch<HdcFile>(hTaskInfo, TASK_FILE, command, payload, payloadSize); in RedirectToTask()
945 … ret = TaskCommandDispatch<HdcHostForward>(hTaskInfo, TASK_FORWARD, command, payload, payloadSize); in RedirectToTask()
952 … ret = TaskCommandDispatch<HdcHostApp>(hTaskInfo, TASK_APP, command, payload, payloadSize); in RedirectToTask()
963 … ret = TaskCommandDispatch<HostUpdater>(hTaskInfo, TASK_FLASHD, command, payload, payloadSize); in RedirectToTask()