Home | History | Annotate | Download | only in HAL3

Lines Matching defs:rc

203         int rc = mCamOps->unmap_stream_buf(mCamHandle,
205 if (rc < 0) {
244 int32_t rc = OK;
250 rc = UNKNOWN_ERROR;
258 rc = -ENOMEM;
261 rc = mStreamInfoBuf->allocate(1, sizeof(cam_stream_info_t), false);
262 if (rc < 0) {
264 rc = -ENOMEM;
279 rc = mCamOps->map_stream_buf(mCamHandle,
282 if (rc < 0) {
305 rc = mCamOps->config_stream(mCamHandle,
307 if (rc < 0) {
308 ALOGE("Failed to config stream, rc = %d", rc);
330 return rc;
347 int32_t rc = 0;
350 rc = mProcTh.launch(dataProcRoutine, this);
351 return rc;
367 int32_t rc = 0;
368 rc = mProcTh.exit();
369 return rc;
387 int32_t rc;
389 rc = mProcTh.sendCmd(CAMERA_CMD_TYPE_DO_NEXT_JOB, FALSE, FALSE);
394 rc = NO_ERROR;
397 return rc;
512 int32_t rc = NO_ERROR;
525 rc = mMemOps->map_ops(index, -1, mStreamBufs->getFd(index),
527 if (rc < 0) {
529 return rc;
532 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index);
533 if (NO_ERROR != rc) {
536 return rc;
540 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]);
541 if (rc < 0) {
545 return rc;
562 int32_t rc = NO_ERROR;
575 rc = mMemOps->unmap_ops(index, -1, mMemOps->userdata);
576 if (rc < 0) {
578 return rc;
587 return rc;
613 int rc = NO_ERROR;
633 rc = ops_tbl->map_ops(i, -1, mStreamBufs->getFd(i),
635 if (rc < 0) {
636 ALOGE("%s: map_stream_buf failed: %d", __func__, rc);
657 ALOGE("%s: Failed to allocate mm_camera_buf_def_t %d", __func__, rc);
670 rc = mStreamBufs->getRegFlags(regFlags);
671 if (rc < 0) {
672 ALOGE("%s: getRegFlags failed %d", __func__, rc);
703 int rc = NO_ERROR;
708 rc = ops_tbl->unmap_ops(i, -1, ops_tbl->userdata);
709 if (rc < 0) {
710 ALOGE("%s: un-map stream buf failed: %d", __func__, rc);
719 return rc;
915 int32_t rc = NO_ERROR;
917 rc = mCamOps->set_stream_parms(mCamHandle,
921 if (rc == NO_ERROR) {
924 return rc;