Searched refs:eventLoop (Results 1 – 6 of 6) sorted by relevance
56 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in chreSendEvent() local57 if (eventLoop.currentNanoappIsStopping()) { in chreSendEvent()61 success = eventLoop.postLowPriorityEventOrFree( in chreSendEvent()83 const EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in chreSendMessageWithPermissions() local84 if (eventLoop.currentNanoappIsStopping()) { in chreSendMessageWithPermissions()
43 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleUnload() local47 if (!eventLoop.findNanoappInstanceIdByAppId(kSpammerAppId, &instanceId)) { in handleUnload()49 } else if (!eventLoop.unloadNanoapp(instanceId, true)) { in handleUnload()
132 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleNanoappListRequest() local133 eventLoop.forEachNanoapp(nanoappAddCallback, &response); in handleNanoappListRequest()
227 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in buildNanoappListResponse() local228 eventLoop.forEachNanoapp(nanoappAdderCallback, cbData); in buildNanoappListResponse()238 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in finishLoadingNanoappCallback() local240 cbData->nanoapp->isLoaded() && eventLoop.startNanoapp(cbData->nanoapp); in finishLoadingNanoappCallback()259 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleUnloadNanoappCallback() local260 if (!eventLoop.findNanoappInstanceIdByAppId(cbData->appId, &instanceId)) { in handleUnloadNanoappCallback()264 eventLoop.unloadNanoapp(instanceId, cbData->allowSystemNanoappUnload); in handleUnloadNanoappCallback()
108 const EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in deliverNanoappMessageFromHost() local115 if (eventLoop.findNanoappInstanceIdByAppId(craftedMessage->appId, in deliverNanoappMessageFromHost()
150 EventLoop &eventLoop = eventLoopManager->getEventLoop(); in startNanoapp() local161 } else if (eventLoop.findNanoappInstanceIdByAppId(nanoapp->getAppId(), in startNanoapp()