Lines Matching full:chre
23 * interface for the Context Hub Runtime Environment (CHRE). This interface is
31 #include <chre/common.h>
32 #include <chre/event.h>
33 #include <chre/gnss.h>
34 #include <chre/nanoapp.h>
35 #include <chre/re.h>
36 #include <chre/sensor.h>
37 #include <chre/version.h>
38 #include <chre/wifi.h>
39 #include <chre/wwan.h>
43 * CHRE is the Context Hub Runtime Environment. CHRE is used in Android to run
45 * other than the applications processor that runs Android itself. The CHRE
47 * compatible CHRE implementation. The CHRE API provides the ability for
48 * creating nanoapps that are code-compatible across different CHRE
50 * a discussion on some important details of CHRE that aren't explicitly exposed
55 * The following entry points are used to bind a nanoapp to the CHRE system, and
56 * all three must be implemented by any nanoapp (see chre/nanoapp.h):
61 * The CHRE implementation must also ensure that it performs these functions
70 * A CHRE implementation is free to choose among many different
73 * underlying choice. However, the CHRE implementation must ensure that time
75 * interfere with other functions of the system in which CHRE is implemented,
82 * must be FIFO, but the CHRE implementation may choose to violate total
86 * This version of the CHRE API does require that all nanoapps are treated as
93 * For example, if a nanoapp is currently in nanoappHandleEvent(), the CHRE is
96 * callback, the CHRE is not allowed to call nanoappHandleEvent(), or invoke
102 * where otherwise a CHRE implementation is likely to leak memory. Similarly,
104 * directly, whether it returns 'true' or 'false'. This is because the CHRE
113 * [1]: Note to CHRE implementers: A future version of the CHRE platform may
123 * CHRE and possibly other services as well.
126 * Also, as noted in the Threading Model section, a CHRE implementation may
132 * prior to returning control to the CHRE implementation. A CHRE implementation
147 * The C type 'float' is used in this API, and thus a CHRE implementation
151 * CHRE implementation. Note that if a CHRE decides to support them, unlike
155 * If a CHRE implementation choses not to support 'double' or
159 * @section compat CHRE and Nanoapp compatibility
161 * CHRE implementations must make affordances to maintain binary compatibility
163 * to both running a nanoapp compiled for a newer version of the API on a CHRE
181 * Note that the CHRE API only specifies the software interface between a
182 * nanoapp and the CHRE system - the binary interface (ABI) between nanoapp and
183 * CHRE is necessarily implementation-dependent. Therefore, the recommended
185 * Library (NSL) that is specific to the CHRE implementation into the nanoapp
187 * In addition, to accomplish forwards compatibility, the CHRE implementation is
188 * expected to recognize the CHRE API version that a nanoapp is targeting and
192 * compatibility. Therefore, a CHRE implementation must not attempt to load a