Home
last modified time | relevance | path

Searched refs:Nanoapp (Results 1 – 25 of 64) sorted by relevance

123

/system/chre/apps/include/chre/apps/
Dapps.h25 UniquePtr<Nanoapp> initializeStaticNanoappAshWorld();
26 UniquePtr<Nanoapp> initializeStaticNanoappAudioWorld();
27 UniquePtr<Nanoapp> initializeStaticNanoappDebugDumpWorld();
28 UniquePtr<Nanoapp> initializeStaticNanoappGnssWorld();
29 UniquePtr<Nanoapp> initializeStaticNanoappHelloWorld();
30 UniquePtr<Nanoapp> initializeStaticNanoappHostAwakeWorld();
31 UniquePtr<Nanoapp> initializeStaticNanoappMessageWorld();
32 UniquePtr<Nanoapp> initializeStaticNanoappPowerTest();
33 UniquePtr<Nanoapp> initializeStaticNanoappSensorWorld();
34 UniquePtr<Nanoapp> initializeStaticNanoappSpammer();
[all …]
/system/chre/core/
Dnanoapp.cc35 constexpr size_t Nanoapp::kMaxSizeWakeupBuckets;
37 Nanoapp::Nanoapp() { in Nanoapp() function in chre::Nanoapp
42 Nanoapp::~Nanoapp() { in ~Nanoapp()
52 bool Nanoapp::isRegisteredForBroadcastEvent(uint16_t eventType, in isRegisteredForBroadcastEvent()
65 void Nanoapp::registerForBroadcastEvent(uint16_t eventType, in registerForBroadcastEvent()
76 void Nanoapp::unregisterForBroadcastEvent(uint16_t eventType, in unregisterForBroadcastEvent()
88 void Nanoapp::configureNanoappInfoEvents(bool enable) { in configureNanoappInfoEvents()
98 void Nanoapp::configureHostSleepEvents(bool enable) { in configureHostSleepEvents()
108 void Nanoapp::configureDebugDumpEvent(bool enable) { in configureDebugDumpEvent()
116 void Nanoapp::configureUserSettingEvent(uint8_t setting, bool enable) { in configureUserSettingEvent()
[all …]
Devent_loop.cc49 bool populateNanoappInfo(const Nanoapp *app, struct chreNanoappInfo *info) { in populateNanoappInfo()
70 for (const UniquePtr<Nanoapp> &app : mNanoapps) { in findNanoappInstanceIdByAppId()
84 for (const UniquePtr<Nanoapp> &nanoapp : mNanoapps) { in forEachNanoapp()
92 Nanoapp *nanoapp = lookupAppByAppId(appId); in invokeMessageFreeFunction()
146 bool EventLoop::startNanoapp(UniquePtr<Nanoapp> &nanoapp) { in startNanoapp()
173 Nanoapp *newNanoapp = nanoapp.get(); in startNanoapp()
328 Nanoapp *EventLoop::findNanoappByInstanceId(uint32_t instanceId) const { in findNanoappByInstanceId()
336 Nanoapp *app = lookupAppByAppId(appId); in populateNanoappInfoForAppId()
343 Nanoapp *app = lookupAppByInstanceId(instanceId); in populateNanoappInfoForInstanceId()
367 for (const UniquePtr<Nanoapp> &app : mNanoapps) { in logStateToBuffer()
[all …]
Devent_loop_manager.cc29 Nanoapp *EventLoopManager::validateChreApiCall(const char *functionName) { in validateChreApiCall()
30 chre::Nanoapp *currentNanoapp = in validateChreApiCall()
/system/chre/core/include/chre/core/
Devent_loop.h61 typedef void(NanoappCallbackFunction)(const Nanoapp *nanoapp, void *data);
122 bool startNanoapp(UniquePtr<Nanoapp> &nanoapp);
238 Nanoapp *getCurrentNanoapp() const { in getCurrentNanoapp()
270 Nanoapp *findNanoappByInstanceId(uint32_t instanceId) const;
341 DynamicVector<UniquePtr<Nanoapp>> mNanoapps;
360 Nanoapp *mCurrentApp = nullptr;
363 Nanoapp *mStoppingNanoapp = nullptr;
406 bool deliverNextEvent(const UniquePtr<Nanoapp> &app);
449 Nanoapp *lookupAppByAppId(uint64_t appId) const;
460 Nanoapp *lookupAppByInstanceId(uint32_t instanceId) const;
[all …]
Dnanoapp.h43 class Nanoapp : public PlatformNanoapp {
45 Nanoapp();
46 ~Nanoapp();
Dwifi_request_manager.h73 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
87 bool requestRanging(Nanoapp *nanoapp, const chreWifiRangingParams *params,
106 bool requestScan(Nanoapp *nanoapp, const chreWifiScanParams *params,
289 bool addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable,
Dsensor_request_manager.h74 const Nanoapp &nanoapp, in getSensorHandleForNanoapp()
106 bool setSensorRequest(Nanoapp *nanoapp, uint32_t sensorHandle,
117 bool getSensorInfo(uint32_t sensorHandle, const Nanoapp &nanoapp,
168 bool configureBiasEvents(Nanoapp *nanoapp, uint32_t sensorHandle,
195 bool flushAsync(Nanoapp *nanoapp, uint32_t sensorHandle, const void *cookie);
Dgnss_manager.h52 bool addRequest(Nanoapp *nanoapp, Milliseconds minInterval,
65 bool removeRequest(Nanoapp *nanoapp, const void *cookie);
241 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
435 bool configurePassiveLocationListener(Nanoapp *nanoapp, bool enable);
/system/chre/platform/shared/
Dchre_api_re.cc38 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetAppId()
43 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetInstanceId()
49 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreTimerSet()
57 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreTimerCancel()
65 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreHeapAlloc()
72 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreHeapFree()
79 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in platform_chreDebugDumpVaLog()
Dchre_api_core.cc33 using chre::Nanoapp;
36 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreAbort()
51 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSendEvent()
80 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSendMessageWithPermissions()
127 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureNanoappInfoEvents()
132 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureHostSleepStateEvents()
144 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureDebugDumpEvent()
Dchre_api_gnss.cc43 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStartAsync()
57 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStopAsync()
71 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStartAsync()
85 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStopAsync()
98 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssConfigurePassiveLocationListener()
Dchre_api_sensor.cc39 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorFind()
56 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetSensorInfo()
95 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorConfigure()
114 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorConfigureBiasEvents()
141 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorFlushAsync()
Dchre_api_wifi.cc40 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiConfigureScanMonitorAsync()
53 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestScanAsync()
65 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestRangingAsync()
Dchre_api_user_settings.cc24 using chre::Nanoapp;
34 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreUserSettingConfigureEvents()
Dchre_api_audio.cc29 using chre::Nanoapp;
52 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreAudioConfigureSource()
/system/chre/core/tests/
Dmemory_manager_test.cc24 using chre::Nanoapp;
39 Nanoapp app; in TEST()
51 Nanoapp app; in TEST()
59 Nanoapp app; in TEST()
68 Nanoapp app; in TEST()
76 Nanoapp app; in TEST()
102 Nanoapp app; in TEST()
/system/chre/platform/include/chre/platform/
Dmemory_manager.h49 void *nanoappAlloc(Nanoapp *app, uint32_t bytes);
57 void nanoappFree(Nanoapp *app, void *ptr);
141 void *doAlloc(Nanoapp *app, uint32_t size);
148 void doFree(Nanoapp *app, void *ptr);
/system/chre/platform/freertos/include/chre/target_platform/
Dstatic_nanoapp_init.h37 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \
38 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
/system/chre/platform/slpi/include/chre/target_platform/
Dstatic_nanoapp_init.h38 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \
39 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
/system/chre/platform/linux/include/chre/target_platform/
Dstatic_nanoapp_init.h37 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \
38 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
/system/chre/platform/linux/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp * /* app */, uint32_t bytes) { in doAlloc() argument
27 void MemoryManager::doFree(Nanoapp * /* app */, void *ptr) { in doFree() argument
/system/chre/platform/freertos/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
31 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
/system/chre/platform/slpi/
Dmemory_manager.cc24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
32 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
/system/chre/platform/shared/include/chre/platform/shared/
Dnanoapp_load_manager.h122 UniquePtr<Nanoapp> releaseNanoapp() { in releaseNanoapp()
131 UniquePtr<Nanoapp> mNanoapp;

123