summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | usb audio: fix capture channel conversionEric Laurent2014-06-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibdff053bd6ecc4bf2bc8bb51384098911f52f6ef
* | | | | | | | | | | Implement minimal buffer size for playbackPaul McLean2014-06-201-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable low-latency playback in mixer/audioflinger. Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7
* | | | | | | | | | | Merge "usb audio: fix usb capture configuration"Eric Laurent2014-06-171-13/+18
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | usb audio: fix usb capture configurationEric Laurent2014-06-111-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Capture configuration was using cached_output_hardware_config instead of cached_input_hardware_config. Also enable mono capture by rejecting first attempt to open an input stream in mono with -EINVAL error: AudioFlinger will reopen in stereo and do the channel conversion. Change-Id: Ibdf53be4aa88d47091745bc71daa1dec002535f8
* | | | | | | | | | | | Merge "hardware: camera_common: add module open legacy device API"Zhijun He2014-06-101-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | hardware: camera_common: add module open legacy device APIZhijun He2014-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the module API to open a camera device as lower HAL version legacy device. Change-Id: I6616aebc5ec0cef28f675e5dddb334dc6b5dfea9
* | | | | | | | | | | | | am aa13433c: am c384b186: Don\'t pass up bad sensor event packets to Sensor ↵Nick Vaccaro2014-06-111-2/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Services * commit 'aa13433c89d720d4b707e2e14110688d8b733e35': Don't pass up bad sensor event packets to Sensor Services
| * | | | | | | | | | | | am c384b186: Don\'t pass up bad sensor event packets to Sensor ServicesNick Vaccaro2014-06-111-2/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c384b1863768d424116c1bcc7f26f5764c35c330': Don't pass up bad sensor event packets to Sensor Services
| | * | | | | | | | | | | | Don't pass up bad sensor event packets to Sensor ServicesNick Vaccaro2014-06-111-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an event packet is read containing an unknown sensor handle, don't pass it on to Sensor Services. Drop it on the floor instead as it's causing Sensor Services to crash. Moved read of queue size in sensors_poll_context_t::poll() to post queue mutex grab for safety. Bug: 15285345 Change-Id: I2ebc0f8591a1ae60f09bf9599b8321c5a3dfae69
* | | | | | | | | | | | | | am 10f1a806: Fixed submix buffering when input and output stream formats differ.Stewart Miles2014-06-111-14/+31
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / | |/| | / / / / / / / / / / | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | | * commit '10f1a806e6537835de7f71dbc05db1889436732e': Fixed submix buffering when input and output stream formats differ.
| * | | | | | | | | | | | Fixed submix buffering when input and output stream formats differ.Stewart Miles2014-06-101-14/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When channel conversion is enabled and the pipe is opened with less channels (e.g 1) than the output stream's channels (e.g 2) the input stream's buffer size was calculated incorrectly which resulted in the input stream buffer size being larger than the output stream buffer size in terms of time. This changes the pipe size to take into the account maximum frame size so the output stream buffer size will be greater or equal to the input stream buffer size. In addition, if the pipe is created when the input stream is opened and the output stream is opened at a different sample rate (e.g input = 8KHz, output = 48Khz) the pipe will incorrectly rate limit writes to the pipe resulting in gaps of silence in the data read from the pipe by the input stream. Bug: 15291446 Change-Id: I01480edff7ef3a199f509866c1e95ecd4c437a92
* | | | | | | | | | | | | sound trigger test/stub HAL - WIPEric Laurent2014-06-042-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie8120df144662b12bba41e2346bac3ce816f9838
* | | | | | | | | | | | | Switch libhardware to POSIX dprintf.Elliott Hughes2014-05-222-14/+14
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15022164 Change-Id: Ie4c93318c2e7a947a57e16b220a6abceec59e6aa
* | | | | | | | | | | | Added basic resampling of submix data on read from the input stream.Stewart Miles2014-05-191-6/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As described in If592270a17e08c5852b00b730bb9c5166c746ad2 the audio mixer doesn't work correctly when sending data to an output device that supports a sample rate that is more than 2x different to the source data rate. This modifies the remote submix module to resample data from the pipe when it's read from the input stream. Bug: 11273000 Change-Id: I9c4b3710bcebf3a2df045965dfdafdd9855b0b25
* | | | | | | | | | | | Add optional logging of input and output streams to the submix HAL.Stewart Miles2014-05-191-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to aid debugging of issues with streaming data in the submix HAL this change introduces a compile time option to log the input and output streams to files for offline inspection. Bug: 11273000 Change-Id: Ib2d929d7ba66f63b719e6996df9016f73c9080aa
* | | | | | | | | | | | Implemented mono->stereo, stereo->mono channel conversion in submix HAL.Stewart Miles2014-05-161-11/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AudioFlinger service currently will only open stereo streams from mono AudioTracks since all mixing is performed in stereo and then sent to the HAL stream. In order to allow a process to record a mono stream from the submix HAL, this change implements channel conversion in the submix HAL so that it's possible to open the output stream in stereo and the input stream in mono. Bug: 11273000 Change-Id: I840ce0be3cf7e5bc8a4c6de63a70d5408d60b716
* | | | | | | | | | | | Modified submix HAL to drop data to the output stream if the pipe could block.Stewart Miles2014-05-161-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it's possible to open an output stream on the submix HAL before the input stream is open, writes to the output stream that fill the shared pipe result in indefinitely blocking the thread writing to the stream. This change modifies the behavior of writes to a submix output stream such that if a write would result in blocking the thread and an input isn't open, the pipe is flushed of the appropriate amount of data such that the write will not block. Bug: 11273000 Change-Id: Ic81c50e4b44b777273191a1bc8cdf52181c3d2a0
* | | | | | | | | | | | Merge "Modify submix HAL to allow either input or output streams create the ↵Stewart Miles2014-05-161-141/+232
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pipe."
| * | | | | | | | | | | | Modify submix HAL to allow either input or output streams create the pipe.Stewart Miles2014-05-161-141/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is primarily being made as a short term solution to allow an input audio stream received over the network to be fed into an audio input stream (e.g the MIC stream) when a physical audio input device isn't present. This makes both the input and output streams owners of the pipe so that creation order no longer matters. In addition, it works around a memory leak caused by applications that never close input streams. Bug: 11273000 Change-Id: I5a3fb0b6f2148c113b2f3050b72ff2a8979a3e6d
* | | | | | | | | | | | | am f8cbc9e6: am ad70dc48: add /system/vendor/lib as valid search path for ↵Nick Vaccaro2014-05-151-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| / / / / / / / / / / / | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sensor HALs * commit 'f8cbc9e65cd67da20167a88daaa9e99bf32de8b9': add /system/vendor/lib as valid search path for sensor HALs
| * | | | | | | | | | | am ad70dc48: add /system/vendor/lib as valid search path for sensor HALsNick Vaccaro2014-05-151-3/+5
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ad70dc482f044b1ef03ef1aa74b6e2c5a446d32b': add /system/vendor/lib as valid search path for sensor HALs
| | * | | | | | | | | | add /system/vendor/lib as valid search path for sensor HALsNick Vaccaro2014-05-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MultiHal will now accept sensor HALs listed in the hals.conf file that reside in either /system/lib/hw or /system/vendor/lib. Bug: 14994424 Change-Id: I13f17352b97c36b97cfbcee8c9b6a0d2e1ed6dc3
* | | | | | | | | | | | Allow submix module streams to use any NBAIO format.Stewart Miles2014-05-141-43/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the submix module to allow the internal buffer to be any NBAIO format. This is useful when sending audio of arbitrary formats between processes. AudioFlinger continues to enforce format restrictions as specified by the device specific audio_policy.conf so the submix streams will have the same restrictions as before. Bug: 11273000 Change-Id: I2cd4ff383c5c75e491ab22bc1949c835f04e230f
* | | | | | | | | | | | Modified submix buffer size accessors to use the pipe configuration.Stewart Miles2014-05-141-45/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change stores the period size (fraction of the pipe buffer size) in the submix device's configuration which is then used to calculate the input and output stream buffer size. In addition, accessors for the input / output stream format have been modified to use the pipe format in the device configuration rather than returning hard coded values. Bug: 11273000 Change-Id: I9c14f8d549f4b4a6d7f77a9aeab4edfa5ba6bd1a
* | | | | | | | | | | | Implemented accessors for derived submix HAL objects.Stewart Miles2014-05-131-65/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change cleans up casting from contained to container structures. Such that if.. struct child { struct parent; int child_data; }; is changed to... struct child { int child_data; struct parent; }; functions that cast from "parent" to "child" will continue to function correctly. Change-Id: I88d70930d4d4df2e291239e562971b07d8b92f94
* | | | | | | | | | | | Added a compile time option to enable / disable verbose submix logging.Stewart Miles2014-05-121-30/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Along with the following minor changes: * Fixed all referenced variable compiler warnings. * Ordered headers in alphabetical order. Change-Id: I122ef67d25b78056a60b85baf897005293a9efa0
* | | | | | | | | | | | am c7651350: am d34ed32e: Change MultiHal API version to 1.1Nick Vaccaro2014-05-061-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c76513507b4a081e80ebf9a441d04005bf94418a': Change MultiHal API version to 1.1
| * | | | | | | | | | | am d34ed32e: Change MultiHal API version to 1.1Nick Vaccaro2014-05-061-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd34ed32e06045c5a55b4d25247a98fa64c233bfe': Change MultiHal API version to 1.1
| | * | | | | | | | | | Change MultiHal API version to 1.1Nick Vaccaro2014-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14451762 Change-Id: Id16fa71ae7382689ce141a92eb974b208e20327b
* | | | | | | | | | | | USB HAL: 64-bit compile issuesMark Salyzyn2014-04-281-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - size_t/ssize_t issues - const warnings - printf format (unsigned/signed and non-integer types) Change-Id: I36d6b0d86e832b46eb0da076e99bf1f25bd697ff
* | | | | | | | | | | | Added support for 1-channel capture sources (like a microphone)Paul McLean2014-04-281-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie38b41ed8a63bf1b813379361665c883f08cbaae
* | | | | | | | | | | | Merge "USB HAL Capture Implementation"Paul McLean2014-04-251-199/+408
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | USB HAL Capture ImplementationPaul McLean2014-04-241-199/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic04f7e1b33b423e5169667700145b9cbdd9704a6
* | | | | | | | | | | | | Merge "Hardware: Fingerprint: Fix the remove() argument, typos."Sasha Levitskiy2014-04-231-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Hardware: Fingerprint: Fix the remove() argument, typos.Sasha Levitskiy2014-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I99e8e2f24f0264c2217d67a75fe437756596053c Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | | | | | Camera: HAL: 64-bit warning fixit.Sasha Levitskiy2014-04-237-74/+98
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iecc3e1846fbf63c51952d115e1f167cf32135b18 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | | | | Merge "Hardware: Fingerprint: Move the HAL to an async model, add some ↵Sasha Levitskiy2014-04-221-14/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vendor requested functionality."
| * | | | | | | | | | | | | Hardware: Fingerprint: Move the HAL to an async model, add some vendor ↵Sasha Levitskiy2014-04-221-14/+11
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requested functionality. Change-Id: Ib99e3edb99579ac4495918eb57d1022d75dccb57 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | | | | am 6322562d: am c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135eColin Cross2014-04-214-10/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| / / / / / / / / / / / | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6322562d0f1387c08109f706f381a3818114f91f': usbaudio: allow compiling for 64-bit audio_remote_submix: allow compiling for 64-bit audio: allow compiling for 64-bit
| * | | | | | | | | | | am c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135eColin Cross2014-04-214-10/+11
| |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c070bad435799b4febdd2acf6be6c191f15f724e': usbaudio: allow compiling for 64-bit audio_remote_submix: allow compiling for 64-bit audio: allow compiling for 64-bit
| | * | | | | | | | | | usbaudio: allow compiling for 64-bitColin Cross2014-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: I672d4ee8d9e70c75f9376ca60389af08f73166b8
| | * | | | | | | | | | audio_remote_submix: allow compiling for 64-bitColin Cross2014-04-182-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: I6a2183b5bb0cdf438a04de967995da7b1e2e3854
| | * | | | | | | | | | audio: allow compiling for 64-bitColin Cross2014-04-181-2/+2
| | | |_|_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: If0c0135e57935d785a0f36b7d5187ac567c7e21c
* | | | | | | | | | | am dbcec633: am dd6e1a01: Merge "Reduced most MultiHal ALOGI to ALOGV, ↵Aaron Whyte2014-04-161-7/+7
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reducing bootup logspam." into klp-modular-dev * commit 'dbcec633d3d9e7e63f287e39c691439424a9c288': Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.
| * | | | | | | | | | am dd6e1a01: Merge "Reduced most MultiHal ALOGI to ALOGV, reducing bootup ↵Aaron Whyte2014-04-161-7/+7
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logspam." into klp-modular-dev * commit 'dd6e1a018e318d8f95d507a2b7fc54eaa0fcabf5': Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.
| | * | | | | | | | | Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.Aaron Whyte2014-04-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14084750 Change-Id: I099aaaa24caf0213af373b5a600616674349ff95
* | | | | | | | | | | am da38fb2d: am 4d7ac52d: Fixed multihal handling of nonexistent sensor handles.Aaron Whyte2014-04-151-17/+65
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'da38fb2d13ceeee79a39146ca30e720e58572989': Fixed multihal handling of nonexistent sensor handles.
| * | | | | | | | | | am 4d7ac52d: Fixed multihal handling of nonexistent sensor handles.Aaron Whyte2014-04-151-17/+65
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4d7ac52d75b725ff25d68416747bfd43bbbc065d': Fixed multihal handling of nonexistent sensor handles.
| | * | | | | | | | | Fixed multihal handling of nonexistent sensor handles.Aaron Whyte2014-04-151-17/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents crashes and undefined behavior when someone calls sensor HAL methods with nonexistent handles. It also adds checks and warnings if bad sensor HALs provide garbage sensor handles in their sensor events. Tested by making sure pedometer and tilt still work. Bug: 13513595 Change-Id: Ie1489d3f2972bec82ee1c73189e532f6658d1eca
* | | | | | | | | | | tv_input: add buffer producer profileWonsik Kim2014-04-091-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id86e282a06d6353f05d47a2f198bde0534d9dcf2