• Home
  • Raw
  • Download

Lines Matching refs:cbData

217     auto *cbData = static_cast<NanoappListData *>(data);  in buildNanoappListResponse()  local
219 *(cbData->builder), cbData->nanoappEntries, nanoapp->getAppId(), in buildNanoappListResponse()
225 auto *cbData = static_cast<NanoappListData *>(cookie); in buildNanoappListResponse() local
226 cbData->builder = &builder; in buildNanoappListResponse()
228 eventLoop.forEachNanoapp(nanoappAdderCallback, cbData); in buildNanoappListResponse()
229 HostProtocolChre::finishNanoappListResponse(builder, cbData->nanoappEntries, in buildNanoappListResponse()
230 cbData->hostClientId); in buildNanoappListResponse()
236 auto *cbData = static_cast<LoadNanoappCallbackData *>(cookie); in finishLoadingNanoappCallback() local
240 cbData->nanoapp->isLoaded() && eventLoop.startNanoapp(cbData->nanoapp); in finishLoadingNanoappCallback()
242 HostProtocolChre::encodeLoadNanoappResponse(builder, cbData->hostClientId, in finishLoadingNanoappCallback()
243 cbData->transactionId, success, in finishLoadingNanoappCallback()
244 cbData->fragmentId); in finishLoadingNanoappCallback()
255 auto *cbData = static_cast<UnloadNanoappCallbackData *>(cookie); in handleUnloadNanoappCallback() local
260 if (!eventLoop.findNanoappInstanceIdByAppId(cbData->appId, &instanceId)) { in handleUnloadNanoappCallback()
261 LOGE("Couldn't unload app ID 0x%016" PRIx64 ": not found", cbData->appId); in handleUnloadNanoappCallback()
264 eventLoop.unloadNanoapp(instanceId, cbData->allowSystemNanoappUnload); in handleUnloadNanoappCallback()
268 builder, cbData->hostClientId, cbData->transactionId, success); in handleUnloadNanoappCallback()
422 auto *cbData = static_cast<FragmentedLoadInfoResponse *>(cookie); in sendFragmentResponse() local
424 builder, cbData->hostClientId, cbData->transactionId, cbData->success, in sendFragmentResponse()
425 cbData->fragmentId); in sendFragmentResponse()
841 NanoappListData cbData = {}; in handleNanoappListRequest() local
842 cbData.hostClientId = cbHostClientId; in handleNanoappListRequest()
846 if (!cbData.nanoappEntries.reserve(expectedNanoappCount)) { in handleNanoappListRequest()
856 &cbData); in handleNanoappListRequest()
883 auto cbData = MakeUnique<LoadNanoappCallbackData>(); in handleLoadNanoappRequest() local
884 if (cbData.isNull()) { in handleLoadNanoappRequest()
887 cbData->transactionId = transactionId; in handleLoadNanoappRequest()
888 cbData->hostClientId = hostClientId; in handleLoadNanoappRequest()
889 cbData->appId = appId; in handleLoadNanoappRequest()
890 cbData->fragmentId = fragmentId; in handleLoadNanoappRequest()
891 cbData->nanoapp = std::move(pendingNanoapp); in handleLoadNanoappRequest()
896 SystemCallbackType::FinishLoadingNanoapp, std::move(cbData), in handleLoadNanoappRequest()
908 auto cbData = MakeUnique<UnloadNanoappCallbackData>(); in handleUnloadNanoappRequest() local
909 if (cbData == nullptr) { in handleUnloadNanoappRequest()
912 cbData->appId = appId; in handleUnloadNanoappRequest()
913 cbData->transactionId = transactionId; in handleUnloadNanoappRequest()
914 cbData->hostClientId = hostClientId; in handleUnloadNanoappRequest()
915 cbData->allowSystemNanoappUnload = allowSystemNanoappUnload; in handleUnloadNanoappRequest()
918 SystemCallbackType::HandleUnloadNanoapp, std::move(cbData), in handleUnloadNanoappRequest()