Lines Matching refs:rsp
136 NanohubRsp rsp(buf, true); in handleRx() local
137 if (rsp.cmd != NANOHUB_QUERY_APPS) { in handleRx()
204 NanohubRsp rsp(buf, true); in handleRx() local
206 if (rsp.cmd != NANOHUB_QUERY_MEMINFO) in handleRx()
323 NanohubRsp rsp(buf); in handleRx() local
327 ret = handleTransfer(rsp); in handleRx()
330 ret = handleFinish(rsp); in handleRx()
333 ret = handleReload(rsp); in handleRx()
336 ret = handleMgmt(rsp); in handleRx()
343 int SystemComm::AppMgmtSession::handleTransfer(NanohubRsp &rsp) in handleTransfer() argument
345 if (rsp.cmd != NANOHUB_CONT_UPLOAD && rsp.cmd != NANOHUB_START_UPLOAD) in handleTransfer()
373 int SystemComm::AppMgmtSession::handleFinish(NanohubRsp &rsp) in handleFinish() argument
375 if (rsp.cmd != NANOHUB_FINISH_UPLOAD) in handleFinish()
379 const bool success = rsp.status != 0; in handleFinish()
400 int SystemComm::AppMgmtSession::handleReload(NanohubRsp &rsp) in handleReload() argument
404 ALOGI("Nanohub reboot status: %08" PRIX32, rsp.status); in handleReload()
412 int SystemComm::AppMgmtSession::handleMgmt(NanohubRsp &rsp) in handleMgmt() argument
417 ALOGI("Nanohub MGMT response: CMD=%02X; STATUS=%08" PRIX32, rsp.cmd, rsp.status); in handleMgmt()
419 switch (rsp.cmd) { in handleMgmt()
438 sendToApp(mCmd, &rsp.status, sizeof(rsp.status)); in handleMgmt()
455 NanohubRsp rsp(buf, true); in handleRx() local