Home
last modified time | relevance | path

Searched refs:appManager (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp309 …:AppMgmtSession::setup(const hub_message_t *appMsg, uint32_t transactionId, AppManager &appManager) in setup() argument
325 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_START, appManager); in setup()
327 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_STOP, appManager); in setup()
329 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_UNLOAD, appManager); in setup()
338 if (!appManager.isAppLoaded(mAppName)) { in setup()
339 appManager.addNewApp(mAppName, appReq->app_binary.app_version); in setup()
340 appManager.writeApp(mAppName, msgData, mLen); in setup()
351 if (appManager.cmpApp(mAppName, msgData, mLen)) { in setup()
352 mFlashAddr = appManager.getFlashAddr(mAppName); in setup()
353 if (appManager.isAppRunning(mAppName)) { in setup()
[all …]
Dsystem_comms.h163 …irtual int setup(const hub_message_t *app_msg, uint32_t transactionId, AppManager &appManager) = 0;
164 …virtual int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre) =…
267 …tupMgmt(const hub_message_t *appMsg, uint32_t transactionId, uint32_t cmd, AppManager &appManager);
268 int handleTransfer(NanohubRsp &rsp, MessageBuf &, AppManager &appManager);
270 int handleQueryStart(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
272 int handleFinish(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
273 int handleRun(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
276 int handleEraseTransfer(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
277 int handleMgmt(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
278 int handleInfo(NanohubRsp &rsp, MessageBuf &buf, AppManager &appManager);
[all …]