summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-12-121-3/+5
|\ | | | | | | https://github.com/CyanogenMod/android_hardware_libhardware into replicant-6.0
| * Memory leak fix during sensor HAL initializationDhruva Krishnamurthy2016-08-301-3/+3
| | | | | | | | Change-Id: If8833dd1285f33498277c10b0e1fd0a1269284a0
| * Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-101-0/+2
| |\ | | | | | | | | | | | | | | | https://android.googlesource.com/platform/hardware/libhardware into cm-13.0 Android 6.0.1 release 22
| | * am 419c27b9: Do not reset out_get_presentation_position() to 0 on standbyAndy Hung2015-10-141-28/+40
| | |\ | | | | | | | | | | | | | | | | * commit '419c27b937b1628340985ac27f1d577e41b9a60e': Do not reset out_get_presentation_position() to 0 on standby
| | * \ am 569737c6: Merge "Add USB out_get_presentation_position() for timestamps" ↵Glenn Kasten2015-08-071-2/+10
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '569737c6b0301a1411bd02cc9eb59e9c64c8a7eb': Add USB out_get_presentation_position() for timestamps
| | * | | Fix compilation error on emerald-devChing Tzung Lin2015-07-231-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I324fb9b1b54e31610fe4fdce8edbb6979e666cbb
* | | | | gralloc: Correct stride for maguroPaul Kocialkowski2015-12-152-0/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | | | | gralloc: RGB565 framebuffer formatPaul Kocialkowski2015-12-151-1/+36
|/ / / / | | | | | | | | | | | | | | | | Change-Id: I17dcc28b8bb78a74f227d5e1edcf82e6f69ba242 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | | | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-081-28/+40
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/hardware/libhardware into HEAD Android 6.0.1 release 3 Change-Id: I8d2fae05954594f003fc2506fc123147e70c3602
| * | | Do not reset out_get_presentation_position() to 0 on standbyAndy Hung2015-10-131-28/+40
| | |/ | |/| | | | | | | | | | | | | Bug: 21199150 Bug: 23080499 Change-Id: I749b331bfce8cfe27b16bb2fce14f23816fb48ce
* | | remote_submix: Fix resampler and channel conversionEdward Wang2015-10-261-16/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for multiple channels to resampler * Fix out-of-bounds write during channel conversion. When pipe stream is stereo and input stream is mono, it will do inplace conversion. But the input buffer is only allocated for mono channel. Repurpose resampler_buffer for both conversion and resampling. Change-Id: I5a683148317e4fabc1c40b308472f698a8429c6b
* | | audio_amplifier: fix compilationScott Mertz2015-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | | stdlib.h is needed explicitely with the new toolchain/toolchain options. Change-Id: I876041828310ec8f9fb1e0d636a38cce1977d9b9
* | | amplifier: add set_parameters methodScott Mertz2015-10-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | - audio hal should pass the audio_device parameters to the amplifier to allow the amplifier to make decisions based on the additional parameters. For example, we may want to change settings for DTS TrueMedia use case. Change-Id: Iccf6ef7ced2abd2e12e857eea8e580cda15eec04
* | | audio: Notify amplifier HAL of device enable/disableEthan Chen2015-10-131-0/+14
| | | | | | | | | | | | Change-Id: I34ec900c9850e8ed3edecf2b92e12801bdbd4fe5
* | | audio: Add audio amplifier HALEthan Chen2015-10-132-0/+136
| | | | | | | | | | | | Change-Id: Iad42bcc183dda7dba62a67959fb793e089c5d46e
* | | libhardware: sensors: update multi hal to support 64bit buildsSatya Durga Srinivasu Prabhala2015-10-062-35/+15
|/ / | | | | | | | | | | | | | | | | | | | | | | To get multi hal working on both 32 & 64 bit targets, removing hardcoded paths & checks in multi HAL. Sensor HAL libs must be installed path that is available through LD_LIBRARY_PATH. /system/lib & /system/vendor/lib for 32-bit targets. /system/lib64 & /system/vendor/lib64 for 64-bit targets. Change-Id: Ib1c1f25f08855c4584d53cc04fbe82a3a768b180
* | Add USB out_get_presentation_position() for timestampsAndy Hung2015-08-061-2/+10
|/ | | | | Bug: 21196672 Change-Id: Ic509e91a9c0d3421b78371207d7e63425e895e71
* audio HAL: reverse mutex locking orderEric Laurent2015-06-191-26/+51
| | | | | | | | | | | | Do not use main audio HAL mutex but a specific stream mutex when preventing control thread starvation by playback or capture threads. This will prevent systematic locking of main HAL mutex in read ot write and avoid glitches. Bug: 21880828. Bug: 18489202. Change-Id: I3054e0d93b823bd9d2fb84a49e9c5bbbe728262a
* Merge "Update USB channel mask handling" into mnc-devAndy Hung2015-06-121-2/+8
|\
| * Update USB channel mask handlingAndy Hung2015-06-101-2/+8
| | | | | | | | | | | | | | | | 1 and 2 channels will default to mono and stereo n > 2 will default to channel index masks Bug: 16245854 Change-Id: I39f9d43385a93f48e323653fbde2e38a99b6256f
* | Fingerprint: Avoid passing structures where simple types should suffice.Sasha Levitskiy2015-06-101-1/+1
| | | | | | | | | | | | | | Bug: 21282699 Change-Id: I02e13b7da0ad361a95b981f9745aac039151f356 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | Fingerprint: Remove unused API elements.Sasha Levitskiy2015-06-081-1/+1
|/ | | | | Change-Id: Iba2f6a5bc7a2923c3e9b92684a2fab2190f14fd5 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* Implement timestamp reporting functionsJean-Michel Trivi2015-05-281-5/+52
| | | | | | | | | | Count number of frames that have been written, reset on standby. The presentation position is the number of written frames minus the frames still in the pipe (they were written but not presented). Bug 21198864 Change-Id: I00ef10f56a825555e7a970cce1504a9bd3744e04
* Reduce pipe lengthJean-Michel Trivi2015-05-271-1/+1
| | | | | | Bug 21198864 Change-Id: I5bb7ba20c4e2d294363a3a4487f4e3ae634ada46
* Remove unused data conversion functions from usb halAndy Hung2015-05-111-68/+0
| | | | Change-Id: I4ccf8441171ad796e8954b1960f76411ebb86e9d
* Add output channel index mask to USB halAndy Hung2015-05-111-7/+18
| | | | Change-Id: I17818ac89f7ca591422cadfaa388590ff9c08613
* Add multichannel input to USB halAndy Hung2015-05-111-65/+35
| | | | Change-Id: I297669f7ba5a711923cf2f371d161819fad04740
* fm radio HAL: fix metadata handlingEric Laurent2015-04-271-17/+35
| | | | | | | Fix potential crash due to list item removal while processing metadata or cancel command. Change-Id: I0c5552fcfc515e9591ce77f874c7450edb0dbf72
* Fingerprint: Add an API to get authenticator idSasha Levitskiy2015-04-161-0/+11
| | | | | Change-Id: If45ebc228425eaa43bf9abde934f8bb4e7d97e6c Signed-off-by: Sasha Levitskiy <sanek@google.com>
* Add input HAL methods for getting device properties.Tim Kilbourn2015-04-162-0/+85
| | | | | | | | | | A property map holds the collection of the properties for a given device identifier. HAL modules allocate and release these property maps to control the lifetime of the data. The host will typically open and read the corresponding idc file on allocation, and release these resources when it is freed. Change-Id: Ia13ec7b7abf1a79eeed87dc744c174a37f1fb8a9
* Camera: Add HAL module init method.Eino-Ville Talvala2015-04-152-0/+2
| | | | | | | | For use by Camera HAL libraries to perform one-time initialization steps after the library is loaded. Bug: 20016050 Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
* Fingerprint: Add auth token to enrollSasha Levitskiy2015-04-141-0/+1
| | | | Change-Id: Ied10a03213b8473b1a625229a75b7af6126d635a
* Clean up FingerprintManager API and make it public.Jim Miller2015-04-111-2/+2
| | | | Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d
* Input event hub for evdev input HAL module.Tim Kilbourn2015-03-3010-7/+1585
| | | | | | | | | InputHub monitors paths for device changes and input events. InputDeviceManager creates InputDevices and routes input events to them. InputDevices currently just log these events during development. InputHost represents a wrapper around the HAL interface. Change-Id: Ic47d574498eb07bcdcd17812a648539fdf1c69d6
* Merge "Update fingerprint.h for new API"Jim Miller2015-03-251-1/+1
|\
| * Update fingerprint.h for new APIJim Miller2015-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds vendor-specific messaging capabilities to the HAL driver to avoid the possibility of vendors clobbering general-purpose methods. The framework translates these additional messages as an offset into a custom message array. Additionally, authenticate() now takes a group id to restrict authentication to a subset of possible fingerprints. Bug 16487912 Change-Id: I8a92a6c86b4729af03a5576b4a150b1c73fbc9cc
* | Fix build error on 64-bitGlenn Kasten2015-03-231-3/+3
| | | | | | | | Change-Id: I9a308bf6499a74efa8084a2e4df1f029b26f3d6c
* | Merge "Creating audio.stub.default for default HAL audio output"Ricardo Garcia2015-03-232-7/+71
|\ \ | |/ |/|
| * Creating audio.stub.default for default HAL audio outputRicardo Garcia2015-03-172-7/+71
| | | | | | | | | | | | | | | | | | | | | | | | Creating a simple "stub" audio HAL to be used in systems with no hardware output. This stub HAL allows systems to run CTS tests and other audio system calls without crashing or unexpected behavior. The stub can be used also as a starting point for creating a new HAL. This is needed for audio_output feature support. bug: 19439530 Change-Id: I9e8e06e5b7fea7c7f3ff1de303db015b51e8acde
* | Merge "radio stub HAL."Eric Laurent2015-03-162-0/+753
|\ \ | |/ |/|
| * radio stub HAL.Eric Laurent2015-03-122-0/+753
| | | | | | | | | | | | | | radio HAL stub implementation to be used for test or reference. Change-Id: I83294501d0bc138bcce68eb83296da6f6f4438d3
* | Replace/rename old HAL graphics formatsEino-Ville Talvala2015-03-065-15/+11
|/ | | | | | | - Replace RAW_SENSOR with RAW16 - Remove sRGB formats Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
* Merge "Add input HAL header."Michael Wright2015-02-234-1/+115
|\
| * Add input HAL header.Michael Wright2015-02-234-1/+115
| | | | | | | | Change-Id: Ia959dd1d1adf024459d2423fc9d59a811466e53c
* | Back out locking order and (over) simplification in out_write(), in_read().Paul McLean2015-02-201-3/+4
| | | | | | | | Change-Id: I96954f883798f8e10adce56d9c33b70574999d1c
* | USB device disconnect latencyPaul McLean2015-02-201-42/+3
| | | | | | | | | | | | | | | | | | Eliminated unnecessay locking/unlocking in adev_set_parameters(). Corrected and simplified lock/unlock order in out_write() and in_read(). Bugs 19363750 Change-Id: Iede9a95f5f17645d9780b344fd5ee009cd9fa94d
* | Merge "Improve locking/unlocking in *_set_params()."Paul McLean2015-02-181-21/+27
|\ \
| * | Improve locking/unlocking in *_set_params().Paul McLean2015-02-181-21/+27
| |/ | | | | | | | | | | | | | | | | | | Also clean up logging. This doesn't completely fix the referenced bug, but substantially reduces the instances of long latency on USB device disconnect. Bug: 19363750 Change-Id: If0a6d64c4973277ae2474e121198e47df973965e
* | hardware: libhardware: introduce new fingerprint HAL 2.0 features.Sasha Levitskiy2015-02-171-3/+21
|/ | | | | Change-Id: I4ab0a511417742a4b0b912ebf98a3773ec22bb10 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* am 06b402dd: am ac41815a: Merge "Add missing includes."Elliott Hughes2015-01-307-1/+8
|\ | | | | | | | | * commit '06b402dd10f6d6d0e2ee0127e9254d0bd7f480fe': Add missing includes.