summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/CameraService.h
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-04-07 15:55:31 -0700
committerEino-Ville Talvala <etalvala@google.com>2015-04-15 15:29:41 -0700
commit1527f07eb2b2b40f6b8f53a4644e6a400bddb460 (patch)
tree7b9bf4c2bdbb76d4d81942fab8b345f6430c3f38 /services/camera/libcameraservice/CameraService.h
parentc44111b22c26236cb0b32d3fbd1cc9fad3fb28ff (diff)
downloadframeworks_av-1527f07eb2b2b40f6b8f53a4644e6a400bddb460.zip
frameworks_av-1527f07eb2b2b40f6b8f53a4644e6a400bddb460.tar.gz
frameworks_av-1527f07eb2b2b40f6b8f53a4644e6a400bddb460.tar.bz2
CameraService: Add support for module init, some logging updates
- Add support for camera HAL module init() method on v2.4 - Add logging for service errors such as failure to init - Minor cleanup to dumping of event log Bug: 20016050 Change-Id: I94e18b52c186f16fb096457015f7ae761e867fd8
Diffstat (limited to 'services/camera/libcameraservice/CameraService.h')
-rw-r--r--services/camera/libcameraservice/CameraService.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/CameraService.h b/services/camera/libcameraservice/CameraService.h
index 91c7d59..84e61c5 100644
--- a/services/camera/libcameraservice/CameraService.h
+++ b/services/camera/libcameraservice/CameraService.h
@@ -590,6 +590,16 @@ private:
*/
void logClientDied(int clientPid, const char* reason);
+ /**
+ * Add a event log message that a serious service-level error has occured
+ */
+ void logServiceError(const char* msg, int errorCode);
+
+ /**
+ * Dump the event log to an FD
+ */
+ void dumpEventLog(int fd);
+
int mNumberOfCameras;
// sounds