Lines Matching refs:cameraid
67 int cameraid;
88 rv = gCameraHals[ti_dev->cameraid]->setPreviewWindow(window);
109 gCameraHals[ti_dev->cameraid]->setCallbacks(notify_cb, data_cb, data_cb_timestamp, get_memory, user);
123 gCameraHals[ti_dev->cameraid]->enableMsgType(msg_type);
137 gCameraHals[ti_dev->cameraid]->disableMsgType(msg_type);
151 return gCameraHals[ti_dev->cameraid]->msgTypeEnabled(msg_type);
166 rv = gCameraHals[ti_dev->cameraid]->startPreview();
182 gCameraHals[ti_dev->cameraid]->stopPreview();
197 rv = gCameraHals[ti_dev->cameraid]->previewEnabled();
214 rv = gCameraHals[ti_dev->cameraid]->storeMetaDataInBuffers(enable);
231 rv = gCameraHals[ti_dev->cameraid]->startRecording();
246 gCameraHals[ti_dev->cameraid]->stopRecording();
261 rv = gCameraHals[ti_dev->cameraid]->recordingEnabled();
277 gCameraHals[ti_dev->cameraid]->releaseRecordingFrame(opaque);
292 rv = gCameraHals[ti_dev->cameraid]->autoFocus();
308 rv = gCameraHals[ti_dev->cameraid]->cancelAutoFocus();
324 rv = gCameraHals[ti_dev->cameraid]->takePicture();
340 rv = gCameraHals[ti_dev->cameraid]->cancelPicture();
356 rv = gCameraHals[ti_dev->cameraid]->setParameters(params);
372 param = gCameraHals[ti_dev->cameraid]->getParameters();
388 gCameraHals[ti_dev->cameraid]->putParameters(parms);
404 rv = gCameraHals[ti_dev->cameraid]->sendCommand(cmd, arg1, arg2);
419 gCameraHals[ti_dev->cameraid]->release();
432 rv = gCameraHals[ti_dev->cameraid]->dump(fd);
455 if (gCameraHals[ti_dev->cameraid]) {
456 delete gCameraHals[ti_dev->cameraid];
457 gCameraHals[ti_dev->cameraid] = NULL;
488 int cameraid;
499 cameraid = atoi(name);
502 if(cameraid > num_cameras)
504 ALOGE("camera service provided cameraid out of bounds, "
505 "cameraid = %d, num supported = %d",
506 cameraid, num_cameras);
571 camera_device->cameraid = cameraid;
573 if(gCameraProperties.getProperties(cameraid, &properties) < 0)
580 camera = new android::CameraHal(cameraid);
596 gCameraHals[cameraid] = camera;