Home
last modified time | relevance | path

Searched refs:mCameras (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/modules/camera/3_0/
DCameraHAL.cpp50 mCameras = new Camera*[mNumberOfCameras]; in CameraHAL()
52 mCameras[0] = new ExampleCamera(0); in CameraHAL()
54 mCameras[1] = new ExampleCamera(1); in CameraHAL()
60 delete mCameras[i]; in ~CameraHAL()
62 delete [] mCameras; in ~CameraHAL()
79 return mCameras[id]->getInfo(info); in getCameraInfo()
107 return mCameras[id]->open(mod, dev); in open()
DCameraHAL.h50 Camera **mCameras; variable
/hardware/libhardware/modules/usbcamera/
DCameraHAL.cpp72 ALOGV("%s: %zu", __func__, mCameras.size()); in getNumberOfCameras()
73 return static_cast<int>(mCameras.size()); in getNumberOfCameras()
79 if (id < 0 || id >= static_cast<int>(mCameras.size())) { in getCameraInfo()
84 return mCameras[id]->getInfo(info); in getCameraInfo()
107 } else if (id < 0 || id >= static_cast<int>(mCameras.size())) { in open()
111 return mCameras[id]->open(mod, dev); in open()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp51 V4L2CameraHAL::V4L2CameraHAL() : mCameras(), mCallbacks(NULL) { in V4L2CameraHAL()
100 mCameras.push_back(std::move(cam)); in V4L2CameraHAL()
115 HAL_LOGV("returns %d", mCameras.size()); in getNumberOfCameras()
116 return mCameras.size(); in getNumberOfCameras()
121 if (id < 0 || id >= mCameras.size()) { in getCameraInfo()
125 return mCameras[id]->getInfo(info); in getCameraInfo()
172 return mCameras[id]->openDevice(module, device); in openDevice()
Dv4l2_camera_hal.h57 std::vector<std::unique_ptr<default_camera_hal::Camera>> mCameras;