summaryrefslogtreecommitdiffstats
path: root/include/camera/ICameraService.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Add camera type to ICameraService.getNumberOfCameras.Eino-Ville Talvala2015-08-141-0/+10
| | | | | | | | | Also determine the number of 'normal' cameras present on camera service startup, and ensure that all normal cameras have IDs lower than the 'strange' cameras. Bug: 23194168 Change-Id: I1f7b14825cb52707de698a955f85da1eaa932663
* camera2: Fix work-profile eviction handling.Ruben Brunk2015-05-141-1/+1
| | | | | Bug: 20124384 Change-Id: I6fb82dbfd5f98746ed4befed81a583e3709bfee8
* Revert "Add camera app op - camera"Svetoslav Ganov2015-05-121-3/+3
| | | | | | | | This is not needed duplication of work This reverts commit 32fa6d0e65dbf956e253a1006e9419dce2fe75c9. Change-Id: I2c81b0dacb2ed99c408c79c1f9e22a4baa564494
* Add camera app op - cameraSvet Ganov2015-05-021-3/+3
| | | | Change-Id: I26570cc0a23fdea740b416a26838d40cac296c85
* camera2: Enforce client eviction on user switch.Ruben Brunk2015-03-311-1/+18
| | | | | Bug: 19186859 Change-Id: I172a2ce46c8e8a131ae7e8dd99d60c5f4f0d6668
* camera2: Remove ProCamera.Ruben Brunk2015-03-201-10/+0
| | | | | Bug: 19186859 Change-Id: I4aaadb53db65b479f92cbb3c05329d1e40317900
* camera: fix flashlight implementation for HAL v2Chien-Yu Chen2015-03-031-1/+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/+7
| | | | | | | | 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
* cameraservice: Implement HAL1 and higher HAL API coexistenceZhijun He2014-06-191-0/+17
| | | | | | | A higher hal version device like HAL3.2 can be opened as HAL1.0 device if HAL supports it. This only applies to camera API1. Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07
* camera: Add #getLegacyParameters, #supportsCameraApi to ICameraServiceIgor Murashkin2014-06-171-0/+20
| | | | Change-Id: Ic86c8df3d703e7cf89caa856387e2c0a1b977401
* camera2: Don't log vendor tag errors when camera HAL too oldIgor Murashkin2014-03-171-3/+7
| | | | Change-Id: Iac3d23284230c95c85ee404abbf9b22df1ae721c
* camera3: Pass vendor tags through binder.Ruben Brunk2014-03-131-0/+4
| | | | | | | | | | Bug: 12134423 - Adds a class for parceling vendor tag definitions. - Passes vendor tag definitions to clients of the camera service. - Switches over to new vendor tag mechanism when reading from HAL. Change-Id: Icef3fe9e67160767bdb8244ac49c85b68b497123
* Camera: Implement getCameraCharacteristicsZhijun He2013-09-251-0/+5
| | | | | | Bug: 10904541 Bug: 10360518 Change-Id: Ie9ca6b3b0b5f2fe529e6b0decc193096e770a017
* Refactor CameraService to handle errors properly.Ruben Brunk2013-08-161-6/+12
| | | | | | | | Bug: 10361136 -Connect calls now return status_t error flags. Change-Id: Idca453b111e5df31327f6c99ebe853bb2e332b95
* Initial implementation of android.hardware.photography.CameraDevice (service)Igor Murashkin2013-06-201-0/+9
| | | | | | | | | | | * Verified preview streaming requests * Other things *should* work but unverified / unimplemented in client side Missing: * CameraService needs to return static camera info metadata Bug: 9213377 Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868
* 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: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-281-3/+15
| | | | | | | * Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
* camera_client: refactor Camera/ProCamera commonalities into BasicCameraIgor Murashkin2013-02-261-5/+8
| | | | Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
* CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-251-5/+15
| | | | | | | | | | | | | Camera: - Signal to AppOpsService when camera usage starts and stops - Listen to permissions revocations and act on them - Currently just kill camera connection when permissions lost Stagefright: - Pass on client name, UID to camera as needed Bug: 8181262 Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
* Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-221-1/+7
| | | | Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
* Remove new camera connect API.Wu-cheng Li2012-04-191-1/+1
| | | | | | | | Applications are not resumed under the lock screen now. This API is not needed anymore. bug:5584464 Change-Id: I115daf6b647348617ec0fc05b626878c945b9b29
* Add a new camera open API that allows taking the ownership.Wu-cheng Li2012-03-151-1/+1
| | | | | | | | | | | | | | The purpose is to let face unlock always get the camera successfully. What happened was the camera applications may have opened the camera in onResume under the lock screen. This API lets face unlock take the camera from the camera application. A new permission will be added, so other applicatoins won't be able to take the camera from the face unlock. bug:5584464 Change-Id: Ib3d9dcbc2161815b68db42327dc01148453704c6
* Change camera interface to support multiple cameras.Chih-Chung Chang2010-06-111-0/+3
| | | | Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
* Support multiple cameras in framework.Chih-Chung Chang2010-05-101-2/+5
| | | | Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-0/+55