Home
last modified time | relevance | path

Searched refs:eventLoop (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/modules/chre/src/
Dmain.cpp21 auto& eventLoop = chre::EventLoopManagerSingleton::get()->getEventLoop(); in main() local
39 printk("Starting EchoApp... %s\n", boolToString(eventLoop.startNanoapp(echo_app))); in main()
40 printk("Nanoapp count=%zu\n", eventLoop.getNanoappCount()); in main()
41 …printk("Finding instance ID... %s\n", boolToString(eventLoop.findNanoappInstanceIdByAppId(1, &inst… in main()
42 printk("Nanoapp count=%zu\n", eventLoop.getNanoappCount()); in main()
45 printk("Sending event %zu...\n", eventLoop.getNanoappCount()); in main()
46eventLoop.postEventOrDie(CHRE_EVENT_MESSAGE_FROM_HOST, nullptr, [](uint16_t eventType, void *event… in main()
52 boolToString(eventLoop.unloadNanoapp(instanceId, false))); in main()