Home
last modified time | relevance | path

Searched refs:mCameras (Results 1 – 6 of 6) 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()
DCameraHAL.h51 android::Vector<Camera*> mCameras; variable
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp54 V4L2CameraHAL::V4L2CameraHAL() : mCameras(), mCallbacks(NULL) { in V4L2CameraHAL()
103 mCameras.push_back(std::move(cam)); in V4L2CameraHAL()
118 HAL_LOGV("returns %zu", mCameras.size()); in getNumberOfCameras()
119 return mCameras.size(); in getNumberOfCameras()
124 if (id < 0 || static_cast<size_t>(id) >= mCameras.size()) { in getCameraInfo()
128 return mCameras[id]->getInfo(info); in getCameraInfo()
175 return mCameras[id]->openDevice(module, device); in openDevice()
Dv4l2_camera_hal.h57 std::vector<std::unique_ptr<default_camera_hal::Camera>> mCameras;