Searched refs:mCameras (Results 1 – 6 of 6) sorted by relevance
50 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()
50 Camera **mCameras; variable
72 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()
51 android::Vector<Camera*> mCameras; variable
54 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()
57 std::vector<std::unique_ptr<default_camera_hal::Camera>> mCameras;