Lines Matching refs:nanoapp

21 #include "chre/core/nanoapp.h"
50 typedef void (NanoappCallbackFunction)(const Nanoapp *nanoapp, void *data);
59 * @param appId The nanoapp identifier to search for.
78 * Invokes a message to host free callback supplied by the given nanoapp
82 * @param appId Identifies the nanoapp that sent this message and supplied the
84 * @param freeFunction The non-null message free callback given by the nanoapp
99 * @param nanoapp The nanoapp that will be started. Upon success, this
104 bool startNanoapp(UniquePtr<Nanoapp>& nanoapp);
107 * Stops and unloads a nanoapp identified by its instance ID. The end entry
112 * @param instanceId The nanoapp's unique instance identifier
114 * attempts to unload a system nanoapp
116 * @return true if the nanoapp with the given instance ID was found & unloaded
134 * Posts an event to a nanoapp that is currently running (or all nanoapps if
162 * @return the currently executing nanoapp, or nullptr
193 * @param instanceId The nanoapp instance ID to search for.
194 * @return a pointer to the found nanoapp or nullptr if no match was found.
276 //! The nanoapp that is currently executing - must be set any time we call
277 //! into the nanoapp's entry points or callbacks
280 //! Set to the nanoapp we are in the process of unloading in unloadNanoapp()
302 * @return true if the nanoapp has another event pending in its queue
365 * @param nanoapp The nanoapp instance whose status has changed
367 void notifyAppStatusChange(uint16_t eventType, const Nanoapp& nanoapp);
373 * safe condition for removal of this nanoapp. This means that there must not
374 * be any pending events in this nanoapp's queue, and there must not be any
375 * outstanding events sent by this nanoapp, as they may reference the
376 * nanoapp's own memory (even if there is no free callback).