summaryrefslogtreecommitdiffstats
path: root/include/camera/ICameraServiceListener.h
Commit message (Collapse)AuthorAgeFilesLines
* camera: fix flashlight implementation for HAL v2Chien-Yu Chen2015-03-031-8/+10
| | | | | | | | | | | | | | | | | | Update torch availability when the camera device availability changes. For device HAL v2 and v3 implementation, notify torch unavailable for all camera devices with a flash unit when a camera device is opened. Notify torch available for all camera devices with flash unit when all camera devices are closed. Don't invoke torch status callback in camera service. Invoke torch status callback in HAL or FlashControlBase implementations to avoid race condition. Clean up previous CL. Bug: 2682206 Change-Id: I24f5478f467b2c680565fe98f112eef33e2547a1
* camera: implement flashlight controlChien-Yu Chen2015-02-121-0/+24
| | | | | | | | Implement flashlight API for module v2.4 by calling module APIs and by for hal v2 and v3 by using CameraDeviceBase. Bug: 2682206 Change-Id: Ib8b77f6fd462489d672f27e14fe37801d35b7544
* camera: Make some binder interfaces compatible with AIDLIgor Murashkin2013-06-111-0/+3
| | | | | | | | | | | | | Done: * ICameraService * ICameraServiceListener Partial: * ICamera (disconnect only) * IProCameraUser (disconnect only) Bug: 9213377 Change-Id: I8e2e6e05cfd02ec36be1d5b2c551f10ffb43b5b4
* Camera: Add hotplug support (for fixed # of cameras)Igor Murashkin2013-03-261-5/+6
| | | | | | | * Minor: also change addListener to fire the current status upon subscription * Minor: STATUS_AVAILABLE is now an alias for STATUS_PRESENT and deprecated Change-Id: I254608a7332095e3ef201ffea64cff156cfc1b3e
* ICameraServiceListener.h: Add STATUS_ENUMERATING enumIgor Murashkin2013-03-211-2/+21
| | | | Change-Id: I41a9f358f63a19e7b746a9ccf24722001e5e7475
* Camera: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-281-0/+64
* Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84