Searched refs:nanoapp (Results 1 – 2 of 2) sorted by relevance
18 chre::Nanoapp *nanoapp = nullptr; variable23 nanoapp = chre::EventLoopManagerSingleton ::get()->getEventLoop().getCurrentNanoapp(); in nanoappStart()24 nanoapp->registerForBroadcastEvent(CHRE_EVENT_MESSAGE_FROM_HOST); in nanoappStart()36 nanoapp->unregisterForBroadcastEvent(0); in nanoappEnd()37 nanoapp = nullptr; in nanoappEnd()
9 Android's context hub enables the use of nanoapps. A single nanoapp has 3 entry points seen in10 `chre_api/chre/nanoapp.h`_:12 * A ``nanoappStart`` function used to notify the nanoapp that it is now active.13 * A ``nanoappHandleEvent`` function used to notify the nanoapp tha an event of interest took place.14 * A ``nanoappEnd`` function used to notify the nanoapp that it is now deactivated.46 #. Notify that a nanoapp was started and assigned an instance/app ID of 1 via a ``dbg`` level log47 #. Print a message saying that the nanoapp's start callback was called48 #. Send an event of type ``1`` and no data to the nanoapp50 #. Call the ``nanoappEnd`` function of the nanoapp51 #. Print a message notifying that it's not possible to remove a system level nanoapp[all …]