summaryrefslogtreecommitdiffstats
path: root/include/hardware
Commit message (Collapse)AuthorAgeFilesLines
* Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.Vincent Becker2014-01-131-0/+68
| | | | | | | | | | | | | | | | | | | | | | Android's implementation of vibrator needs to be done inside a hardware module, so that it can make a vendor implementation possible. Hw module's name becomes vibrator.default.so. This change is related to other changes in: - frameworks/base - hardware/libhardware_legacy - device/generic/goldfish - platform/build Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c Author: Vincent Becker <vincentx.becker@intel.com> Signed-off-by: Vincent Becker <vincentx.becker@intel.com> Signed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Signed-off-by: David Wagner <david.wagner@intel.com> Author-tracking-BZ: 49760 94611
* Update HWC documentation for virtual displaysJesse Hall2013-11-131-9/+23
| | | | | Bug: 8316155 Change-Id: I56598551b07082bfff90df160b103a4158e8c8c9
* Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVEEino-Ville Talvala2013-09-201-8/+32
| | | | | | | | | | | | | | Needed to support the real case of continuous focus giving up on a scene for a while (say, a blank wall), during which we shouldn't claim the lens is in motion. Also add new states for INACTIVE to clarify it as the starting state after mode transitions or enabling AF/AE/AWB. Bug: 10860639 Bug: 10446772 Change-Id: Ie4c1ac73e5a9eb6d1894d83dbded49a2767a8ffd
* Merge "Initial interface for MemoryTrackerHAL" into klp-devRom Lemarchand2013-09-131-0/+160
|\
| * Initial interface for MemoryTrackerHALColin Cross2013-09-091-0/+160
| | | | | | | | | | Bug: 10294768 Change-Id: I65cb28c8f77f3dafe5b47b24479c647fa72fc65f
* | consumer_ir: add array length to get carrier freqAlex Ray2013-09-111-2/+2
| | | | | | | | Change-Id: Iefb424db6f16ffefa40da56c765c9b7a24bea397
* | Merge "consumerir: make transmit array constant" into klp-devAlex Ray2013-09-111-1/+1
|\ \
| * | consumerir: make transmit array constantAlex Ray2013-09-111-1/+1
| | | | | | | | | | | | Change-Id: I0409970d7bd8efe69a69ec038eea4ee3ff9cbfe0
* | | Merge "Clarify return values of get_presentation_position" into klp-devGlenn Kasten2013-09-111-1/+9
|\ \ \ | |/ / |/| |
| * | Clarify return values of get_presentation_positionGlenn Kasten2013-09-101-1/+9
| |/ | | | | | | Change-Id: I495d7abd7e366849308c66bcaee99554dcd244aa
* | libhardware: add Consumer IR HAL APIAlex Ray2013-09-091-0/+80
|/ | | | Change-Id: I68db7911784aa802b378a5e1dad62397da16b03b
* Merge "hardware: camera_common: add module vendor tag ops" into klp-devAlex Ray2013-09-091-1/+87
|\
| * hardware: camera_common: add module vendor tag opsAlex Ray2013-09-061-1/+87
| | | | | | | | | | | | | | | | | | | | | | This updates the camera module API to have vendor-specific tag support. Vendor-specific metadata tags could be contained in static camera characteristics, so we need a method of accessing vendor tag information from the module level (and not just with a device open). Bug: 10612133 Change-Id: I28e8c769f8112ff4f745f3f1b5472e8a718f1356
* | keymaster: use new version fields in hw_moduleKenny Root2013-09-041-8/+10
|/ | | | | | | | | | The original version of this HAL used a field in keymaster_module to represent the module's version number, but a later revision of the HAL interface added a distinguisher between HAL module and device versions. This is needed to support upgrade code in keystore. Bug: 10600582 Change-Id: Ied34cf382e2b7725e648faada00df2dee993e6c5
* Add support for DSA and ECDSA key typesKenny Root2013-09-031-4/+46
| | | | | | | (cherry picked from commit 6e1683f5d508a4c1ff761a9a3508619ac5ac6ed7) Bug: 10600582 Change-Id: I8e5b66baa70b37031198260853bb5355df75e23d
* Merge "get_presentation_position" into klp-devGlenn Kasten2013-08-301-0/+12
|\
| * get_presentation_positionGlenn Kasten2013-08-291-0/+12
| | | | | | | | Change-Id: Iedc4df9018321d7273eaa862e913ad6d9a844618
* | Addition of EFFECT_CMD_OFFLOAD for effects offloadjpadmana2013-08-281-0/+32
|/ | | | | | | | | | | | | | Added EFFECT_CMD_OFFLOAD command to audio effect control interface. It is used by the framework to indicate if the playback thread the effect is attached to is offloaded of not. Added effect flag EFFECT_FLAG_OFFLOAD_SUPPORTED indicating if the effect implementation supports offloading to a DSP. Change-Id: I26553576657d3aa9cd0cdcd5785c813b02f48136 Signed-off-by: jpadmana <jayashree.r.padmanaban@intel.com> Signed-off-by: Eric Laurent <elaurent@google.com>
* Merge "Fix file permissions" into klp-devGlenn Kasten2013-08-222-0/+0
|\
| * Fix file permissionsGlenn Kasten2013-08-202-0/+0
| | | | | | | | Change-Id: Iffc2941d98ee16796cf3d44dec1cfa376d9362bb
* | Fix typo in FlpHaldestradaa2013-08-211-1/+1
|/ | | | Change-Id: I0a0598c4755052e071d793fbacf0aa25dfca6e5c
* Merge "Define a range for device specific sensors" into klp-devMathias Agopian2013-08-191-0/+11
|\
| * Define a range for device specific sensorsMathias Agopian2013-08-191-0/+11
| | | | | | | | | | Bug: 9551417 Change-Id: I5412d9c063743a0e99e8839a0758337c72a8725e
* | Merge "Add support for AbsoluteVolume" into klp-devMatthew Xie2013-08-181-1/+29
|\ \
| * | Add support for AbsoluteVolumeSatya Calloji2013-08-161-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for AbsoluteVolume in HAL bug 9595622 Change-Id: Iaf08b81b61aa07ebaa83f4bd6cc9e82171947aa1 Conflicts: include/hardware/bt_rc.h
* | | Add HWC_DISPLAY_VIRTUAL and adjust display count constantsJesse Hall2013-08-162-11/+15
|/ / | | | | | | | | | | | | | | Both surfaceflinger and HWC implementations have been defining these themselves, making future changes more difficult. Better to define them centrally, where they can be updated easily. Change-Id: I793158b858c84b2470b05f9ea77cc5a0c7e247f1
* | Add support for ff/rewJohn Du2013-08-151-1/+5
|/ | | | Change-Id: I95d17aa4f54d58596085f8d67e63e277b280a242 (cherry picked from commit a068b57857a6f9f2db335dbb18f1be37e85937c6)
* LE: Add peripheral role support (3/4)Andre Eisenbach2013-08-141-0/+14
| | | | | | Initial stack support for the LE peripheral role. Change-Id: Ie036432c90c405a331e2fceaf88bf97a46182176
* LE: Add instance ID to descriptors (3/4)Andre Eisenbach2013-08-132-23/+23
| | | | | | | If a remote devices offers multiple descriptors with the same UUID, the instance ID is used to differentiate between them. Change-Id: Ia5ab989f222a5cf1b7cb66966ad4f91f2b660708
* minor changes to sensor HAL interfaceMathias Agopian2013-08-061-6/+7
| | | | Change-Id: Idc415fd0a92482f4f4cd051b458a28d97f251f35
* improvements to the batch mode APIsMathias Agopian2013-08-051-1/+100
| | | | | | | - also added a flush() method to drain the FIFO before the batch timeout has expired Change-Id: I73cc450fae0a6acf73d8b5d73bcd7a225bfbfe35
* Camera: Add new 3.1 device versionEino-Ville Talvala2013-07-302-3/+4
| | | | | | | - Add new definition to camera_common - Update comment in camera3.h Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
* Merge "camera3: Add flush"Alex Ray2013-07-261-0/+45
|\
| * camera3: Add flushAlex Ray2013-06-241-0/+45
| | | | | | | | | | | | | | | | | | Flush is used to quiesce a camera device as quickly as possible, which can be used to deal with a pathological client (requests a frame duration of hours then dying) as well as speed up stream configuration changes when the outstanding requests data isn't required. Change-Id: Ie822efae8c705bd64d63c0eab7e9c291ecb570ef
* | Merge "camera3: Pass consumer information in configure_streams"Alex Ray2013-07-261-0/+26
|\ \ | |/
| * camera3: Pass consumer information in configure_streamsAlex Ray2013-06-201-0/+26
| | | | | | | | | | | | | | | | | | HALs seem to need to know the gralloc usage flags of the opposite endpoint (producer/consumer) of a stream at configure time. Instead of adding another call to pass stream information, we just pass the usage flags in the existing usage field. Change-Id: I745baf2c4dd9123273d811b9bd52ae68c854b70c
* | Merge "Add debug menu to enable btsnoop"Zhihai Xu2013-07-261-0/+2
|\ \
| * | Add debug menu to enable btsnoopZhihai Xu2013-06-101-0/+2
| | | | | | | | | | | | | | | bug: 8059358 Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca
* | | Add usage bit for RenderScript.Jason Sams2013-07-161-0/+3
| | | | | | | | | | | | Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
* | | Merge "Update FLP HAL definition for thread semantics."destradaa2013-07-131-7/+12
|\ \ \
| * | | Update FLP HAL definition for thread semantics.destradaa2013-07-121-7/+12
| | | | | | | | | | | | | | | | Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394
* | | | Merge "Clarify some comments in the sensor HAL"Etienne Le Grand2013-07-121-13/+36
|\ \ \ \
| * | | | Clarify some comments in the sensor HALEtienne Le Grand2013-07-101-13/+36
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Step count can reset when android restarts When calling activate() without calling setDelay() before, use a default rate Uncalibrated magnetometer should not be low pass filtered The accelerometer can be used for the geomagnetic rotation vector When batching call retuns an error, it shouldn't change the state. In particular, it shouldn't change the rate. batch(timeout=0) must always return success Wake upon fifo full will never be specified when timeout=0 setDelay is not called when in batch mode Change-Id: I8a437eeedbdc54e5f1f3e644a92e9f781d7add0d
* | | | bump HWC version to 1.3, add support for float crop rectangleMathias Agopian2013-07-102-2/+19
|/ / / | | | | | | | | | Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
* | | be more explicit about 64 bits values in sensor eventsMathias Agopian2013-07-081-26/+32
| | | | | | | | | | | | Change-Id: I61e4832ff2c721987c38897924b1b50b758384da
* | | Add defines and support for audio offloadRichard Fitzgerald2013-06-272-13/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add non-blocking write support, set_callback() function - Add pause, resume, flush, drain functions to audio output stream - Add audio parameter defines for compressed audio metadata - Extend audio_config_t to include an audio_offload_info_t field - Add is_offload_supported() function to test whether there is hardware decode support for a given compressed audio format - Change audio_stream_frame_size() to handle offloaded streams. For an offloaded stream the size is always counted in bytes (frame size == 1) and the number of channels is irrelevant. Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Eric Laurent <elaurent@google.com>
* | | am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODEIliyan Malchev2013-06-251-0/+3
|\ \ \ | | | | | | | | | | | | | | | | * commit '1b8e21aa2d4a48c3c0777929e723817995881f70': libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
| * | | libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODEIliyan Malchev2013-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 9581070 Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | Merge "Changes to fused location hardware hal."Jaikumar Ganesh2013-06-261-13/+78
|\ \ \ \
| * | | | Changes to fused location hardware hal.Kevin Tang2013-06-251-13/+78
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 1. Added some comments. 2. Added device context information. Change-Id: I0db21778b60339c92b4951aee4facb1148020198