summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Do not reset out_get_presentation_position() to 0 on standbyAndy Hung2015-10-131-28/+40
| | | | | | | | | | | | Bug: 21199150 Bug: 23080499 Change-Id: I749b331bfce8cfe27b16bb2fce14f23816fb48ce
* | 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
| * Add USB out_get_presentation_position() for timestampsAndy Hung2015-08-061-2/+10
| | | | | | | | | | Bug: 21196672 Change-Id: Ic509e91a9c0d3421b78371207d7e63425e895e71
* | Fix compilation error on emerald-devChing Tzung Lin2015-07-231-0/+2
|/ | | | Change-Id: I324fb9b1b54e31610fe4fdce8edbb6979e666cbb
* 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.
| * am ac41815a: Merge "Add missing includes."Elliott Hughes2015-01-307-1/+8
| |\ | | | | | | | | | | | | * commit 'ac41815a99763b3e59d0f2f9ef2bb3e5a2011336': Add missing includes.
| | * Add missing includes.Elliott Hughes2015-01-297-1/+8
| | | | | | | | | | | | Change-Id: I91730363386dae6ecb2193ec8f50ba9f8fc0ad60
* | | am 588f7259: am f4530d6e: Merge "Add missing includes."Elliott Hughes2015-01-292-2/+4
|\ \ \ | |/ / | | | | | | | | | * commit '588f725985ef0757dcf3e1257471b9c91dd4f106': Add missing includes.
| * | am f4530d6e: Merge "Add missing includes."Elliott Hughes2015-01-292-2/+4
| |\ \ | | |/ | | | | | | | | | * commit 'f4530d6eed5fa432fe9283355a265a38aea58bc6': Add missing includes.
| | * Add missing includes.Elliott Hughes2015-01-282-2/+4
| | | | | | | | | | | | Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773
* | | usbcamera: initial implementation of default usb camera HALZhijun He2015-01-1514-1/+1877
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Basic skeleton of usb camera hal implementation * Vendor tag is not supported yet * Further usb camera hal implementation can be filled into UsbCamera.cpp * Hot plug thread need to be implemented Change-Id: Ida63b6d640e32192f5b60a280d9d5106d80e523f
* | | camera_common: add torch mode APIs for flashlightChien-Yu Chen2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
* | | Technical Debt Paydown - move/rename filesPaul McLean2015-01-1310-1096/+6
| | | | | | | | | | | | | | | | | | | | | | | | Moved audio (alsa actually) utils files to system/core/alsa_utils. Renamed "audio" utilities to "alsa" to better relect their purpose. Renamed audio_hw.c -> to audio_hal. c to better reflect its purpose. Change-Id: I67c7d47ee02abafd3e12c4c99d605a62e0f59122
* | | am e6499429: Merge commit \'83b47a68\' into manualmergeEric Laurent2015-01-101-2/+4
|\ \ \ | |/ / | | | | | | | | | * commit 'e64994292cb02fae66f04002e1121d29979503d1': usb audio: Fix incorrect bytes returned for recording
| * | Merge commit '83b47a68' into manualmergeEric Laurent2015-01-091-2/+4
| |\ \
| | * | usb audio: Fix incorrect bytes returned for recordingPavan Chikkala2015-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a recording session , the number of bytes read is not updated when pcm_read() fails. This results in silence/invalid data being added during a device switch from USB headset to handset. Fix is to reset the number of bytes read if pcm_read() returns an error indicating removal of USB headset. Bug: 18611518 Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
| | * | DO NOT MERGE - fix: memory leaksoon1.choi2014-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free momory for str_parms to prevent memory leak. cherry-pcik from aosp c357157e28dc0ffd069b80aeba9bf8b9eed72c9a Bug: 18798194. Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe