Lines Matching refs:rc
126 int rc = -1; in get_camera_info() local
129 rc = android::HAL_getCameraInfo(camera_id, info); in get_camera_info()
132 return rc; in get_camera_info()
141 int rc = -1; in camera_device_open() local
154 return rc; in camera_device_open()
166 rc = 0; in camera_device_open()
179 ALOGE("%s: end rc %d", __func__, rc); in camera_device_open()
180 return rc; in camera_device_open()
186 int rc = -1; in close_camera_device() local
202 rc = 0; in close_camera_device()
204 return rc; in close_camera_device()
210 int rc = INVALID_OPERATION; in set_request_queue_src_ops() local
214 rc = hardware->set_request_queue_src_ops(request_src_ops); in set_request_queue_src_ops()
216 return rc; in set_request_queue_src_ops()
221 int rc = INVALID_OPERATION; in notify_request_queue_not_empty() local
225 rc = hardware->notify_request_queue_not_empty(); in notify_request_queue_not_empty()
227 return rc; in notify_request_queue_not_empty()
233 int rc = INVALID_OPERATION; in set_frame_queue_dst_ops() local
237 rc = hardware->set_frame_queue_dst_ops(frame_dst_ops); in set_frame_queue_dst_ops()
239 return rc; in set_frame_queue_dst_ops()
244 int rc = INVALID_OPERATION; in get_in_progress_count() local
249 rc = hardware->get_in_progress_count(); in get_in_progress_count()
252 return rc; in get_in_progress_count()
266 int rc = INVALID_OPERATION; in construct_default_request() local
270 rc = hardware->construct_default_request(request_template, request); in construct_default_request()
272 return rc; in construct_default_request()
285 int rc = INVALID_OPERATION; in allocate_stream() local
289 rc = hardware->allocate_stream(width, height, format, stream_ops, in allocate_stream()
292 return rc; in allocate_stream()
301 int rc = INVALID_OPERATION; in register_stream_buffers() local
305 rc = hardware->register_stream_buffers(stream_id, num_buffers, buffers); in register_stream_buffers()
307 return rc; in register_stream_buffers()
314 int rc = INVALID_OPERATION; in release_stream() local
318 rc = hardware->release_stream(stream_id); in release_stream()
320 return rc; in release_stream()
362 int rc = INVALID_OPERATION; in set_notify_callback() local
366 rc = hardware->set_notify_callback(notify_cb, user); in set_notify_callback()
368 return rc; in set_notify_callback()
374 int rc = INVALID_OPERATION; in get_metadata_vendor_tag_ops() local
378 rc = hardware->get_metadata_vendor_tag_ops(ops); in get_metadata_vendor_tag_ops()
380 return rc; in get_metadata_vendor_tag_ops()
392 int rc = -1;
396 rc = hardware->setPreviewWindow(window);
398 return rc;
435 int rc = -1;
438 rc = hardware->msgTypeEnabled(msg_type);
440 return rc;
446 int rc = -1;
449 rc = hardware->startPreview( );
452 return rc;
467 int rc = -1;
470 rc = hardware->previewEnabled( );
472 return rc;
478 int rc = -1;
481 rc = hardware->storeMetaDataInBuffers(enable);
483 return rc;
489 int rc = -1;
492 rc = hardware->startRecording( );
494 return rc;
509 int rc = -1;
512 rc = hardware->recordingEnabled( );
514 return rc;
530 int rc = -1;
533 rc = hardware->autoFocus( );
535 return rc;
541 int rc = -1;
544 rc = hardware->cancelAutoFocus( );
546 return rc;
552 int rc = -1;
555 rc = hardware->takePicture( );
557 return rc;
564 int rc = -1;
567 rc = hardware->cancelPicture( );
569 return rc;
576 int rc = -1;
583 rc = hardware->setParameters(parms);
586 return rc;
615 int rc = -1;
618 rc = hardware->sendCommand( cmd, arg1, arg2);
620 return rc;
637 int rc = -1;
640 rc = hardware->dump( fd );
642 return rc;