Lines Matching refs:hostClientId
63 uint16_t hostClientId; member
71 uint16_t hostClientId; member
91 PendingMessage(PendingMessageType msgType, uint16_t hostClientId) { in PendingMessage()
93 data.hostClientId = hostClientId; in PendingMessage()
110 uint16_t hostClientId; member
118 uint16_t hostClientId; member
230 cbData->hostClientId); in buildNanoappListResponse()
242 HostProtocolChre::encodeLoadNanoappResponse(builder, cbData->hostClientId, in finishLoadingNanoappCallback()
268 builder, cbData->hostClientId, cbData->transactionId, success); in handleUnloadNanoappCallback()
297 int generateHubInfoResponse(uint16_t hostClientId, unsigned char *buffer, in generateHubInfoResponse() argument
321 chreGetVersion(), hostClientId); in generateHubInfoResponse()
346 void sendDebugDumpData(uint16_t hostClientId, const char *debugStr, in sendDebugDumpData() argument
349 uint16_t hostClientId; in sendDebugDumpData() member
356 HostProtocolChre::encodeDebugDumpData(builder, data->hostClientId, in sendDebugDumpData()
362 data.hostClientId = hostClientId; in sendDebugDumpData()
369 void sendDebugDumpResponse(uint16_t hostClientId, bool success, in sendDebugDumpResponse() argument
372 uint16_t hostClientId; in sendDebugDumpResponse() member
379 HostProtocolChre::encodeDebugDumpResponse(builder, data->hostClientId, in sendDebugDumpResponse()
385 data.hostClientId = hostClientId; in sendDebugDumpResponse()
392 void sendSelfTestResponse(uint16_t hostClientId, bool success) { in sendSelfTestResponse() argument
394 uint16_t hostClientId; in sendSelfTestResponse() member
400 HostProtocolChre::encodeSelfTestResponse(builder, data->hostClientId, in sendSelfTestResponse()
406 data.hostClientId = hostClientId; in sendSelfTestResponse()
412 void sendFragmentResponse(uint16_t hostClientId, uint32_t transactionId, in sendFragmentResponse() argument
415 uint16_t hostClientId; in sendFragmentResponse() member
424 builder, cbData->hostClientId, cbData->transactionId, cbData->success, in sendFragmentResponse()
429 .hostClientId = hostClientId, in sendFragmentResponse()
491 UniquePtr<Nanoapp> handleLoadNanoappFile(uint16_t hostClientId, in handleLoadNanoappFile() argument
498 appId, appVersion, targetApiVersion, transactionId, hostClientId); in handleLoadNanoappFile()
532 UniquePtr<Nanoapp> handleLoadNanoappData(uint16_t hostClientId, in handleLoadNanoappData() argument
548 transactionId, hostClientId); in handleLoadNanoappData()
552 sendFragmentResponse(info.hostClientId, info.transactionId, in handleLoadNanoappData()
557 success = sLoadManager.prepareForLoad(hostClientId, transactionId, appId, in handleLoadNanoappData()
562 hostClientId, transactionId, (fragmentId == 0) ? 1 : fragmentId, buffer, in handleLoadNanoappData()
567 sendFragmentResponse(hostClientId, transactionId, fragmentId, success); in handleLoadNanoappData()
612 result = generateHubInfoResponse(pendingMsg.data.hostClientId, buffer, in chre_slpi_get_message_to_host()
674 void sendDebugDumpResultToHost(uint16_t hostClientId, const char *debugStr, in sendDebugDumpResultToHost() argument
678 sendDebugDumpData(hostClientId, debugStr, debugStrSize); in sendDebugDumpResultToHost()
682 sendDebugDumpResponse(hostClientId, true /*success*/, dataCount); in sendDebugDumpResultToHost()
830 void HostMessageHandlers::handleHubInfoRequest(uint16_t hostClientId) { in handleHubInfoRequest() argument
832 LOGD("Hub info request from client ID %" PRIu16, hostClientId); in handleHubInfoRequest()
834 PendingMessage(PendingMessageType::HubInfoResponse, hostClientId)); in handleHubInfoRequest()
837 void HostMessageHandlers::handleNanoappListRequest(uint16_t hostClientId) { in handleNanoappListRequest() argument
842 cbData.hostClientId = cbHostClientId; in handleNanoappListRequest()
860 LOGD("Nanoapp list request from client ID %" PRIu16, hostClientId); in handleNanoappListRequest()
863 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
867 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, in handleLoadNanoappRequest() argument
874 handleLoadNanoappFile(hostClientId, transactionId, appId, appVersion, in handleLoadNanoappRequest()
878 hostClientId, transactionId, appId, appVersion, appFlags, in handleLoadNanoappRequest()
888 cbData->hostClientId = hostClientId; in handleLoadNanoappRequest()
903 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, in handleUnloadNanoappRequest() argument
914 cbData->hostClientId = hostClientId; in handleUnloadNanoappRequest()
932 void HostMessageHandlers::handleDebugDumpRequest(uint16_t hostClientId) { in handleDebugDumpRequest() argument
935 .onDebugDumpRequested(hostClientId)) { in handleDebugDumpRequest()
937 sendDebugDumpResponse(hostClientId, false /*success*/, 0 /*dataCount*/); in handleDebugDumpRequest()
951 void HostMessageHandlers::handleSelfTestRequest(uint16_t hostClientId) { in handleSelfTestRequest() argument
954 sendSelfTestResponse(hostClientId, success); in handleSelfTestRequest()