Home | History | Annotate | Download | only in camera

Lines Matching refs:id

71 int CameraHAL::getCameraInfo(int id, struct camera_info* info)
73 ALOGV("%s: camera id %d: info=%p", __func__, id, info);
74 if (id < 0 || id >= mNumberOfCameras) {
75 ALOGE("%s: Invalid camera id %d", __func__, id);
79 return mCameras[id]->getInfo(info);
91 int id;
96 ALOGE("%s: Invalid camera id name is NULL", __func__);
99 id = strtol(name, &nameEnd, 10);
101 ALOGE("%s: Invalid camera id name %s", __func__, name);
103 } else if (id < 0 || id >= mNumberOfCameras) {
104 ALOGE("%s: Invalid camera id %d", __func__, id);
107 return mCameras[id]->open(mod, dev);
117 static int get_camera_info(int id, struct camera_info* info)
119 return gCameraHAL.getCameraInfo(id, info);
141 id : CAMERA_HARDWARE_MODULE_ID,