Searched refs:eventLoop (Results 1 – 9 of 9) sorted by relevance
26 chre::EventLoop *eventLoop = getCurrentEventLoop(); in validateChreApiCall() local27 CHRE_ASSERT(eventLoop); in validateChreApiCall()29 chre::Nanoapp *currentNanoapp = eventLoop->getCurrentNanoapp(); in validateChreApiCall()57 uint64_t appId, uint32_t *instanceId, EventLoop **eventLoop) { in findNanoappInstanceIdByAppId() argument63 if (eventLoop != nullptr) { in findNanoappInstanceIdByAppId()64 *eventLoop = mEventLoops[i].get(); in findNanoappInstanceIdByAppId()74 EventLoop **eventLoop) { in findNanoappByInstanceId() argument79 if (eventLoop != nullptr) { in findNanoappByInstanceId()80 *eventLoop = mEventLoops[i].get(); in findNanoappByInstanceId()
33 EventLoop *eventLoop = chre::getCurrentEventLoop(); in sendMessageToHostFromCurrentNanoapp() local34 CHRE_ASSERT(eventLoop); in sendMessageToHostFromCurrentNanoapp()36 Nanoapp *currentApp = eventLoop->getCurrentNanoapp(); in sendMessageToHostFromCurrentNanoapp()
25 TimerPool::TimerPool(EventLoop& eventLoop) in TimerPool() argument26 : mEventLoop(eventLoop) { in TimerPool()
46 chre::EventLoop& eventLoop = *chre::getCurrentEventLoop(); in main() local50 chre::loadStaticNanoapps(&eventLoop); in main()51 eventLoop.run(); in main()
21 void loadStaticNanoapps(EventLoop *eventLoop) { in loadStaticNanoapps() argument23 eventLoop->startNanoapp(*(kStaticNanoappList[i])); in loadStaticNanoapps()
118 EventLoop **eventLoop = nullptr);129 EventLoop **eventLoop = nullptr);
51 TimerPool(EventLoop& eventLoop);
37 void loadStaticNanoapps(EventLoop *eventLoop);
121 EventLoop *eventLoop = getCurrentEventLoop(); in constructNanoappListCallback() local122 size_t expectedNanoappCount = eventLoop->getNanoappCount(); in constructNanoappListCallback()151 eventLoop->forEachNanoapp(callback, &cbData); in constructNanoappListCallback()171 EventLoop *eventLoop = getCurrentEventLoop(); in finishLoadingNanoappCallback() local173 eventLoop->startNanoapp(cbData->nanoapp) : false; in finishLoadingNanoappCallback()