Lines Matching refs:appMsg
310 int SystemComm::AppMgmtSession::setup(const hub_message_t *appMsg, uint32_t transactionId, AppManag… in setup() argument
316 const uint8_t *msgData = static_cast<const uint8_t*>(appMsg->message); in setup()
318 mCmd = appMsg->message_type; in setup()
319 mLen = appMsg->message_len; in setup()
326 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_START, appManager); in setup()
328 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_STOP, appManager); in setup()
330 return setupMgmt(appMsg, transactionId, NANOHUB_HAL_APP_MGMT_UNLOAD, appManager); in setup()
333 const load_app_request_t *appReq = static_cast<const load_app_request_t*>(appMsg->message); in setup()
420 int SystemComm::AppMgmtSession::setupMgmt(const hub_message_t *appMsg, uint32_t transactionId, uint… in setupMgmt() argument
423 const hub_app_name_t &appName = *static_cast<const hub_app_name_t*>(appMsg->message); in setupMgmt()
424 if (appMsg->message_len != sizeof(appName)) { in setupMgmt()
1459 int SystemComm::SessionManager::setup_and_add(int id, Session *session, const hub_message_t *appMsg… in setup_and_add() argument
1470 int ret = session->setup(appMsg, transactionId, appManager); in setup_and_add()
1479 int SystemComm::doHandleTx(const hub_message_t *appMsg, uint32_t transactionId) in doHandleTx() argument
1483 switch (appMsg->message_type) { in doHandleTx()
1486 …status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mKeySession, appMsg, transactionId, mAppMa… in doHandleTx()
1496 …status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mAppMgmtSession, appMsg, transactionId, mA… in doHandleTx()
1502 …status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mAppMgmtSession, appMsg, transactionId, mA… in doHandleTx()
1510 …status = mSessions.setup_and_add(CONTEXT_HUB_QUERY_MEMORY, &mMemInfoSession, appMsg, transactionId… in doHandleTx()
1514 …status = mSessions.setup_and_add(CONTEXT_HUB_START_APPS, &mAppMgmtSession, appMsg, transactionId, … in doHandleTx()
1518 ALOGW("Unknown os message type %u\n", appMsg->message_type); in doHandleTx()