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