Home | History | Annotate | Download | only in HAL3

Lines Matching refs:rc

199         int rc = mCamOps->unmap_stream_buf(mCamHandle,
201 if (rc < 0) {
238 int32_t rc = OK;
244 rc = UNKNOWN_ERROR;
252 rc = -ENOMEM;
255 rc = mStreamInfoBuf->allocate(1, sizeof(cam_stream_info_t), false);
256 if (rc < 0) {
258 rc = -ENOMEM;
282 rc = mCamOps->map_stream_buf(mCamHandle,
285 if (rc < 0) {
297 rc = mCamOps->config_stream(mCamHandle,
299 if (rc < 0) {
300 ALOGE("Failed to config stream, rc = %d", rc);
322 return rc;
339 int32_t rc = 0;
340 rc = mProcTh.launch(dataProcRoutine, this);
341 return rc;
357 int32_t rc = 0;
358 rc = mProcTh.exit();
359 return rc;
378 int32_t rc = mProcTh.sendCmd(CAMERA_CMD_TYPE_DO_NEXT_JOB, FALSE, FALSE);
380 return rc;
494 mm_camera_buf_def_t *rc = NULL;
500 rc = (mm_camera_buf_def_t*)malloc(sizeof(mm_camera_buf_def_t));
501 if(rc) {
502 memcpy(rc, &mBufDefs[index], sizeof(mm_camera_buf_def_t));
506 return rc;
523 int32_t rc = NO_ERROR;
528 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]);
529 if (rc < 0)
532 return rc;
558 int rc = NO_ERROR;
575 rc = ops_tbl->map_ops(i, -1, mStreamBufs->getFd(i),
577 if (rc < 0) {
578 ALOGE("%s: map_stream_buf failed: %d", __func__, rc);
598 ALOGE("%s: Failed to allocate mm_camera_buf_def_t %d", __func__, rc);
610 rc = mStreamBufs->getRegFlags(regFlags);
611 if (rc < 0) {
612 ALOGE("%s: getRegFlags failed %d", __func__, rc);
643 int rc = NO_ERROR;
645 rc = ops_tbl->unmap_ops(i, -1, ops_tbl->userdata);
646 if (rc < 0) {
647 ALOGE("%s: map_stream_buf failed: %d", __func__, rc);
655 return rc;
851 int32_t rc = NO_ERROR;
853 rc = mCamOps->set_stream_parms(mCamHandle,
857 if (rc == NO_ERROR) {
860 return rc;