Home | History | Annotate | Download | only in slpi

Lines Matching defs:cbData

225     auto *cbData = static_cast<NanoappListData *>(data);
227 *(cbData->builder), cbData->nanoappEntries, nanoapp->getAppId(),
233 auto *cbData = static_cast<NanoappListData *>(cookie);
234 cbData->builder = &builder;
236 eventLoop.forEachNanoapp(nanoappAdderCallback, cbData);
238 builder, cbData->nanoappEntries, cbData->hostClientId);
245 NanoappListData cbData = {};
246 cbData.hostClientId = clientIdCbData.hostClientId;
250 if (!cbData.nanoappEntries.reserve(expectedNanoappCount)) {
260 &cbData);
266 auto *cbData = static_cast<LoadNanoappCallbackData *>(cookie);
270 cbData->nanoapp->isLoaded() && eventLoop.startNanoapp(cbData->nanoapp);
273 builder, cbData->hostClientId, cbData->transactionId,
274 success, cbData->fragmentId);
288 auto *cbData = static_cast<UnloadNanoappCallbackData *>(cookie);
293 if (!eventLoop.findNanoappInstanceIdByAppId(cbData->appId, &instanceId)) {
294 LOGE("Couldn't unload app ID 0x%016" PRIx64 ": not found", cbData->appId);
297 cbData->allowSystemNanoappUnload);
301 builder, cbData->hostClientId, cbData->transactionId, success);
396 const auto *cbData = static_cast<const DebugDumpCallbackData *>(cookie);
398 builder, cbData->hostClientId, cbData->success, cbData->dataCount);
411 auto *cbData = static_cast<DebugDumpCallbackData *>(cookie);
413 sendDebugDumpData(cbData->hostClientId, debugStr, debugStrSize);
414 cbData->dataCount++;
418 sendDebugDumpResponse(cbData);
421 memoryFree(cbData);
436 auto *cbData = static_cast<FragmentedLoadInfoResponse *>(cookie);
438 builder, cbData->hostClientId, cbData->transactionId,
439 cbData->success, cbData->fragmentId);
693 HostClientIdCallbackData cbData = {};
694 cbData.hostClientId = hostClientId;
696 SystemCallbackType::NanoappListResponse, cbData.ptr,
734 auto cbData = MakeUnique<LoadNanoappCallbackData>();
735 if (cbData.isNull()) {
738 cbData->transactionId = transactionId;
739 cbData->hostClientId = hostClientId;
740 cbData->appId = appId;
741 cbData->fragmentId = fragmentId;
742 cbData->nanoapp = std::move(nanoapp);
747 SystemCallbackType::FinishLoadingNanoapp, cbData.release(),
758 auto *cbData = memoryAlloc<UnloadNanoappCallbackData>();
759 if (cbData == nullptr) {
762 cbData->appId = appId;
763 cbData->transactionId = transactionId;
764 cbData->hostClientId = hostClientId;
765 cbData->allowSystemNanoappUnload = allowSystemNanoappUnload;
768 SystemCallbackType::HandleUnloadNanoapp, cbData,
782 auto *cbData = memoryAlloc<DebugDumpCallbackData>();
783 if (cbData == nullptr) {
786 cbData->hostClientId = hostClientId;
787 cbData->dataCount = 0;
788 cbData->success = ashTriggerDebugDump(onDebugDumpDataReady, cbData);
790 if (!cbData->success) {
792 sendDebugDumpResponse(cbData);
793 memoryFree(cbData);