summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--v3/EmulatedBaseCamera.cpp9
-rw-r--r--v3/EmulatedBaseCamera.h3
-rw-r--r--v3/EmulatedCamera3.cpp9
-rw-r--r--v3/EmulatedCamera3.h3
-rw-r--r--[-rwxr-xr-x]v3/EmulatedCameraFactory.cpp114
-rw-r--r--[-rwxr-xr-x]v3/EmulatedCameraFactory.h5
-rw-r--r--v3/EmulatedFakeCamera3.cpp27
-rw-r--r--v3/EmulatedFakeCamera3.h3
-rw-r--r--[-rwxr-xr-x]v3/fake-pipeline2/Sensor.cpp72
-rw-r--r--[-rwxr-xr-x]v3/fake-pipeline2/Sensor.h1
-rw-r--r--[-rwxr-xr-x]v3/fake-pipeline2/camera_hw.cpp5
-rw-r--r--[-rwxr-xr-x]v3/inc/DebugUtils.h5
12 files changed, 178 insertions, 78 deletions
diff --git a/v3/EmulatedCameraFactory.h b/v3/EmulatedCameraFactory.h
index 504f842..c844c56 100755..100644
--- a/v3/EmulatedCameraFactory.h
+++ b/v3/EmulatedCameraFactory.h
@@ -78,6 +78,9 @@ public:
***************************************************************************/
public:
+ EmulatedBaseCamera* getValidCameraOject(void);
+
+ int getValidCameraOjectId(void);
/* Opens (connects to) a camera device.
* This method is called in response to hw_module_methods_t::open callback.
*/
@@ -151,6 +154,8 @@ public:
void onStatusChanged(int cameraId, int newStatus);
+ int getValidCameraId(void);
+
/****************************************************************************
* Private API
***************************************************************************/