summaryrefslogtreecommitdiffstats
path: root/include/hardware
Commit message (Collapse)AuthorAgeFilesLines
* camera_common: change torch status callback APIChien-Yu Chen2015-03-171-28/+31
| | | | | | | | | | | | | | | | | | Update the torch status callback API so that HAL must invoke the torch status callback whenever the torch status changes including changes by set_torch_mode(). The problem of the previous approach was camera service needed to invoke the callback after calling set_torch_mode() and two sources of the torch status changes (HAL and camera service) caused a race condition. Add STATUS_ON and remove STATUS_AVAILABLE which isn't useful because STATUS_OFF means torch is off and available. STATUS_ON means torch is on and available. Bug: 2682206 Change-Id: Ide5d289c5f485404a3ba46e6cb359fa8a52da0bb
* camera_common: add -EUSERS to set_torch_modeChien-Yu Chen2015-03-171-4/+6
| | | | | | | | To match the public API, seperate camera device in use and other resources in use errors. Bug: 2682206 Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe
* camera3: update reprocessing specZhijun He2015-03-172-4/+161
| | | | | | Also bump the HAL version to 3.3 for reprocessing spec update Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
* camera_common: add TORCH_MODE_STATUS_OFFChien-Yu Chen2015-03-171-2/+20
| | | | | | | | | | Add TORCH_MODE_STATUS_OFF for the case when HAL has to turn off the torch mode that was turned on by a previous set_torch_mode() call in order to turn on the torch mode for the current set_torch_mode() call. Bug: 2682206 Change-Id: Ia2f717ffaca8c4346ec5fcdf73895160f700f067
* camera HAL: Update camera_info with simultaneous access information.Ruben Brunk2015-03-171-0/+80
| | | | | | | | | - Add necessary metadata to the camera_info structure to allow the camera service to determine which devices can be safely opened and used simultaneously without attempting to open camera devices. Change-Id: I4250b4c7e1296ebf4cab07355d6d3be01f17ba1e
* camera: update HAL module API for external cameraZhijun He2015-03-171-28/+101
| | | | | | Update camera module API 2.4 for usb camera support. Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
* camera_common: add torch mode APIs for flashlightChien-Yu Chen2015-03-171-5/+166
| | | | | | | | Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
* Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into ↵Lajos Molnar2015-02-041-2/+11
|\ | | | | | | lmp-mr1-dev
| * gralloc: clarify lock_ycbcr in light of multimedia codec usageLajos Molnar2015-01-301-2/+11
| | | | | | | | | | Bug: 19179927 Change-Id: I53886f8d1a3a998b958f031b04ddd4cbf19aad2c
* | audio: Add audio parameter key for device connectHaynes Mathew George2015-01-311-0/+1
|/ | | | | | | | | Add audio parameter key for device connect. Bug: 17785277 Bug: 19214836 Change-Id: Icd81702634e0bd83645d89c2d65e2b303fc11f8c (cherry picked from commit 55c07c3418a3bc19a72c4935d8ed57a57074c49a)
* camera3: update ZSL specZhijun He2015-01-291-31/+2
| | | | | | | | INPUT stream is not used by framework-implemented ZSL (HAL3.2), the sample use case description is incorrect. Bug: 19197776 Change-Id: I247ad8755b2197c2a62cc109c151749b42a4bd49
* CEC: Add a new flag for set_optionJinsuk Kim2015-01-191-0/+9
| | | | | | | | | Added a flag to pass system language information to HAL so that it can respond to <Get Menu Language> in standby mode. Bug: 19054079 Change-Id: Iada00307202f5c9429944184b62b6456b624125a
* CEC: Add a parameter port ID to set_audio_return_channelJinsuk Kim2014-12-171-1/+1
| | | | | | | | | This CL addresses the cases where TV has more than one ARC-supported HDMI ports. Bug: 18781204 Change-Id: I4eaeb755caf2552b826a7322d19ee671407ee43f
* Add server-side callback for change in MTU (1/4)Andre Eisenbach2014-11-261-0/+4
| | | | | | | | | When a client requests to update the LE transport MTU, the server currently does not get notified and can therefor not properly size notifications appropriate to the current MTU. Bug: 18388114 Change-Id: I136f32cba48da3302e13fb9a9ec81b8e01712138
* Merge "Fix typo and add more detailed comments on what we expect from GPS ↵Daniel Estrada Alva2014-11-061-7/+38
|\ | | | | | | HAL. b/16727892" into lmp-mr1-dev
| * Fix typo and add more detailed comments on what we expect from GPS HAL.Tsuwei Chen2014-10-311-7/+38
| | | | | | | | | | | | b/16727892 Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
* | Merge "power: Adds setFeature functionality for the power module" into ↵Ruchi Kandoi2014-10-311-0/+20
|\ \ | |/ |/| | | lmp-mr1-dev
| * power: Adds setFeature functionality for the power moduleRuchi Kandoi2014-10-311-0/+20
| | | | | | | | | | | | | | | | | | | | | | Adds the setFeature callback which could be used to enable/disable power as well as performance specific features. POWER_FEATURE_DOUBLE_TAP_WAKE is added which uses the setFeature callback to enable/disable the double-tap feature. Bug: 16875464 Change-Id: I5ed9b5be8fddedf9861eedd962def421d9fac5bf
* | Merge "tv_input: more documentation to events" into lmp-mr1-devWonsik Kim2014-10-231-0/+49
|\ \
| * | tv_input: more documentation to eventsWonsik Kim2014-10-231-0/+49
| |/ | | | | | | | | Bug: 18047715 Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b
* | audio: new parameter key for HW A/V sync ID allocationEric Laurent2014-10-201-3/+5
|/ | | | | | | | | | | The HW A/V sync ID is retrieved from the HAL by calling global get_parameters() with key AUDIO_PARAMETER_HW_AV_SYNC. After the output stream is opened, the HW A/V sync ID is communicated by stream set_parameters() with key AUDIO_PARAMETER_STREAM_HW_AV_SYNC. Bug: 17112525. Change-Id: Id1e3a3aa1e88d15461a609b381ca8c1902735a29
* Camera HALs: Promote device HAL v3.2Eino-Ville Talvala2014-09-104-7/+13
| | | | | | | And deprecate older HALs. Bug: 17445920 Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
* sensors.h documentation change.Aravind Akella2014-09-051-8/+13
| | | | | | | | i) on-change sensors should set maxDelay. ii) Drivers should hold a wake_lock till poll() is called the next time when delivering events from wake-up sensors. Change-Id: I4b137843d5c857f04601618548306a710fbfbe5c
* Merge "Creates interface to dynamically configure GPS. Bug: 17110478 ↵Tsuwei Chen2014-09-021-2/+30
|\ | | | | | | Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev
| * Creates interface to dynamically configure GPS.Tsuwei Chen2014-08-301-2/+30
| | | | | | | | Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
* | Merge commit '38014a7c' into lmp-devGriff Hazen2014-08-281-3/+5
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: include/hardware/sensors.h Change-Id: I21517f717761af7f52c003d535e86059ebb75f05
| * \ am 74279e3c: Adding information about the first activationVinod Krishnan2014-08-281-3/+5
| |\ \ | | | | | | | | | | | | | | | | * commit '74279e3c23bd62c70d53098be91db85df5a68ece': Adding information about the first activation
| | * | Adding information about the first activationVinod Krishnan2014-08-281-3/+5
| | | | | | | | | | | | | | | | Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
* | | | Fix problem with dropouts with multiple USB audio streams.Paul McLean2014-08-281-0/+2
| |_|/ |/| | | | | | | | | | | | | | Bug 17136569 Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
* | | Sensor HAL documentation fix.Aravind Akella2014-08-211-0/+2
| | | | | | | | | | | | Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
* | | Some parameter renaming and comment update in sensors.hEtienne Le Grand2014-08-191-15/+31
| | | | | | | | | | | | | | | bug: 16818625 Change-Id: Ifcda8cd4e80a7377a6b5b138b9c7a5a2275af153
* | | Merge "LE: Add limited advertising duration capability (1/3)" into lmp-devAndre Eisenbach2014-08-061-5/+5
|\ \ \
| * | | LE: Add limited advertising duration capability (1/3)Andre Eisenbach2014-08-071-5/+5
| | | | | | | | | | | | | | | | Change-Id: I14006aa96758c285a1d88aef12df11cf28598028
* | | | audio HAL: add parameter to get audio HW sync sourceEric Laurent2014-08-051-0/+6
| | | | | | | | | | | | | | | | | | | | Bug: 16132368. Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b
* | | | Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." ↵destradaa2014-08-041-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | into lmp-dev
| * | | | Add HAL capabilities for GPS Measurements and Navigation Messages.destradaa2014-08-041-1/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95
* | | | | Add transport parameter to createBond() function (1/4)Andre Eisenbach2014-08-041-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90
* | | | Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-devAravind Akella2014-07-291-111/+92
|\ \ \ \
| * | | | Remove WAKE_UP_* sensor constants and stringTypes.Aravind Akella2014-07-301-111/+92
| | | | | | | | | | | | | | | | | | | | Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad
* | | | | Incorrect data type. bt_local_le_features_t of wrong sizePrerepa Viswanadham2014-07-301-1/+2
|/ / / / | | | | | | | | | | | | | | | | b/16653133 Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff
* | | | Add parameter key and values for hearing aid compatibility modeEric Laurent2014-07-301-0/+6
| | | | | | | | | | | | | | | | Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e
* | | | Merge "audio HAL: add parameters to open stream" into lmp-devEric Laurent2014-07-251-21/+19
|\ \ \ \
| * | | | audio HAL: add parameters to open streamEric Laurent2014-07-281-21/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass device address (and audio source for inputs) to open_output_stream() and open_input_stream() audio HAL functions. Bug: 14815883. Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
* | | | | Revert "Update comment for send message."Jinsuk Kim2014-07-281-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0e956a7cd2dee76b762320c141960ffdb64d24eb. The decision was to revert to the old behavior where retransmission will be handled by HAL for efficiency. Change-Id: If165b60c0408ea1015b83806f6bf21e18b15bc7f
* | | | Delete mcu HAL.Jeff Brown2014-07-261-82/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This HAL was intended to support doze mode but it is currently unused and it's best for it to stay that way. Bug: 16516536 Change-Id: I4f442e27d68f18ff322afd4c1debd2f392687e80
* | | | Merge "Add HAL module ID for BCM2079x." into lmp-devMartijn Coenen2014-07-241-0/+1
|\ \ \ \
| * | | | Add HAL module ID for BCM2079x.Martijn Coenen2014-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 16542494 Change-Id: Ia03f981d134e0f4f2de909f8ab158b28931a1dc0
* | | | | Merge "Camera: Define error codes for remaining camera_module methods." into ↵Eino-Ville Talvala2014-07-241-2/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | lmp-dev
| * | | | | Camera: Define error codes for remaining camera_module methods.Eino-Ville Talvala2014-07-241-2/+41
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Not previously documented, though already assumed to be this. Bug: 16514157 Change-Id: I9334fdf672c9772014681a5c346a6f20b51d8213
* | | | | Merge "gralloc: add GRALLOC_USAGE_CURSOR flag" into lmp-devGreg Hackmann2014-07-241-0/+3
|\ \ \ \ \