OSDN Git Service

CameraService: Clean up availability listeners and HAL error codes
authorEino-Ville Talvala <etalvala@google.com>
Thu, 24 Jul 2014 00:17:59 +0000 (17:17 -0700)
committerThe Android Automerger <android-build@google.com>
Mon, 28 Jul 2014 21:32:41 +0000 (14:32 -0700)
commita8ea2e2438b79a1ab63e31bbad1d1172ad5f8d42
tree2654f2db2e7b23341f3fc61e24f72cb6acdb1586
parentdc82fae19a4b8eebbdf4139699e0216aced312d3
CameraService: Clean up availability listeners and HAL error codes

- Refactor where availability listeners are called to centralize behavior,
  ensuring that all client creation/destruction invokes the listeners
- Clean up some of the client hierarchy
- Filter error codes from key HAL calls to ensure proper reporting

Bug: 16514157
Bug: 16483222
Change-Id: I59875a865b6a508b47423946c78862da8df34cd1
services/camera/libcameraservice/CameraService.cpp
services/camera/libcameraservice/CameraService.h
services/camera/libcameraservice/common/Camera2ClientBase.cpp
services/camera/libcameraservice/device1/CameraHardwareInterface.h
services/camera/libcameraservice/device2/Camera2Device.cpp
services/camera/libcameraservice/device3/Camera3Device.cpp