Lines Matching refs:EmulatedCameraFactory
18 * Contains implementation of a class EmulatedCameraFactory that manages cameras
29 #include "EmulatedCameraFactory.h"
33 /* A global instance of EmulatedCameraFactory is statically instantiated and
36 android::EmulatedCameraFactory gEmulatedCameraFactory;
40 EmulatedCameraFactory::EmulatedCameraFactory()
153 EmulatedCameraFactory::~EmulatedCameraFactory()
173 int EmulatedCameraFactory::cameraDeviceOpen(int camera_id, hw_device_t** device)
180 ALOGE("%s: EmulatedCameraFactory has failed to initialize", __FUNCTION__);
193 int EmulatedCameraFactory::getCameraInfo(int camera_id, struct camera_info* info)
198 ALOGE("%s: EmulatedCameraFactory has failed to initialize", __FUNCTION__);
215 int EmulatedCameraFactory::device_open(const hw_module_t* module,
221 * EmulatedCameraFactory instance.
237 int EmulatedCameraFactory::get_number_of_cameras(void)
242 int EmulatedCameraFactory::get_camera_info(int camera_id,
263 void EmulatedCameraFactory::createQemuCameras()
366 bool EmulatedCameraFactory::isBackFakeCameraEmulationOn()
380 int EmulatedCameraFactory::getBackCameraHalVersion()
397 bool EmulatedCameraFactory::isFrontFakeCameraEmulationOn()
411 int EmulatedCameraFactory::getFrontCameraHalVersion()
433 struct hw_module_methods_t EmulatedCameraFactory::mCameraModuleMethods = {
434 open: EmulatedCameraFactory::device_open