/system/chre/apps/include/chre/apps/ |
D | apps.h | 25 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/ |
D | nanoapp.cc | 35 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 …]
|
D | event_loop.cc | 49 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 …]
|
D | event_loop_manager.cc | 29 Nanoapp *EventLoopManager::validateChreApiCall(const char *functionName) { in validateChreApiCall() 30 chre::Nanoapp *currentNanoapp = in validateChreApiCall()
|
/system/chre/core/include/chre/core/ |
D | event_loop.h | 61 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 …]
|
D | nanoapp.h | 43 class Nanoapp : public PlatformNanoapp { 45 Nanoapp(); 46 ~Nanoapp();
|
D | wifi_request_manager.h | 73 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,
|
D | sensor_request_manager.h | 74 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);
|
D | gnss_manager.h | 52 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/ |
D | chre_api_re.cc | 38 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()
|
D | chre_api_core.cc | 33 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()
|
D | chre_api_gnss.cc | 43 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()
|
D | chre_api_sensor.cc | 39 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()
|
D | chre_api_wifi.cc | 40 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()
|
D | chre_api_user_settings.cc | 24 using chre::Nanoapp; 34 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreUserSettingConfigureEvents()
|
D | chre_api_audio.cc | 29 using chre::Nanoapp; 52 Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreAudioConfigureSource()
|
/system/chre/core/tests/ |
D | memory_manager_test.cc | 24 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/ |
D | memory_manager.h | 49 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/slpi/include/chre/target_platform/ |
D | static_nanoapp_init.h | 38 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \ 39 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | static_nanoapp_init.h | 37 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \ 38 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
|
/system/chre/platform/freertos/include/chre/target_platform/ |
D | static_nanoapp_init.h | 37 UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \ 38 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
|
/system/chre/platform/linux/ |
D | memory_manager.cc | 23 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/ |
D | memory_manager.cc | 23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc() 31 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
|
/system/chre/platform/slpi/ |
D | memory_manager.cc | 24 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/ |
D | nanoapp_load_manager.h | 122 UniquePtr<Nanoapp> releaseNanoapp() { in releaseNanoapp() 131 UniquePtr<Nanoapp> mNanoapp;
|