summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-19Fix security vulnerability: potential OOB write in audioserverandroid-7.1.1_r27android-7.1.1_r16nougat-mr1.4-releaserago
Bug: 32705438 Bug: 32703959 Test: cts security test Change-Id: I920a74cb0a809c623ddf802f3d2808f0f1bd537c (cherry picked from commit 3f9a6d3bd97966999fa35b9423b8c0042c8198b3)
2016-09-18merge in nyc-mr1-release history after reset to nyc-mr1-devandroid-cts_7.1_r1android-cts-7.1_r2android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r6android-7.1.1_r4android-7.1.1_r3android-7.1.1_r2android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1nougat-mr1.2-releasegitbuildkicker
2016-09-15audio effect: add flag for effects without actual processingnougat-mr1-devEric Laurent
Add a flag for effect descriptor indicating that the effect does not implement a process function. This tells the framework that no latency or performance penalty comes with enabling this effect. When this flag is set, the process function does not have to be implemented by the effect implementation. Bug: 31491112 Change-Id: I69e6959eb17e04266f4de3f2943c226e34868b1f
2016-07-20merge in nyc-mr1-release history after reset to nyc-mr1-devgitbuildkicker
2016-07-20Merge \\\"DO NOT MERGE ANYWHERE Sensors: MultiHal: ignore errors from poll ↵Nick Vaccaro
calls\\\" into cw-e-dev am: f7eed1ea07 -s ours am: df20006a10 -s ours am: 2537c546f3 -s ours Change-Id: I135fc8f84e358a0af581a8b10632035372c5450d
2016-07-20Merge \\"DO NOT MERGE ANYWHERE Sensors: MultiHal: ignore errors from poll ↵Nick Vaccaro
calls\\" into cw-e-dev am: f7eed1ea07 -s ours am: df20006a10 -s ours Change-Id: I2e73c8d4a4fd201a4e8ec1040b229440a4b365c9
2016-07-20Merge \"DO NOT MERGE ANYWHERE Sensors: MultiHal: ignore errors from poll ↵Nick Vaccaro
calls\" into cw-e-dev am: f7eed1ea07 -s ours Change-Id: I48415c2c6aed8f18212b239469a9c66894f753af
2016-07-19Merge "DO NOT MERGE ANYWHERE Sensors: MultiHal: ignore errors from poll ↵Nick Vaccaro
calls" into cw-e-dev
2016-07-19DO NOT MERGE ANYWHERE Sensors: MultiHal: ignore errors from poll callsNick Vaccaro
MultiHal was not properly fielding errors from the poll() calls of sub-HALs. Propagating errors received from sub-HALs up to Sensor Services causes Sensor Services to abort, so instead of propagating the error up to Sensor Services, the MultiHal logs a message to logcat to fix the sub-HAL problem. Bug: 30060537 Change-Id: I6e20c193a2f2d228da48cf3d5a23e439eaf663df
2016-07-19Merge "power: Adds POWER_HINT_DISABLE_TOUCH" into nyc-mr1-devChenjie Luo
2016-07-18DO NOT MERGE ANYWHERE power: Adds POWER_HINT_DISABLE_TOUCH am: 2df182d7b1 ↵Chenjie Luo
-s ours am: 3e8005b289 -s ours am: daddf59fe6 -s ours Change-Id: I9a49c02e5f6992425e7b41a3f4381a31c5f1f910
2016-07-18DO NOT MERGE ANYWHERE Add new power hints for launch activity am: a2aa3f358f ↵Wei Wang
-s ours am: 145907b2f5 -s ours am: 45d1d74210 -s ours Change-Id: I4689365f8c48e94160bc6c74ab1ff86a6f81e8c4
2016-07-18DO NOT MERGE ANYWHERE power: Adds POWER_HINT_DISABLE_TOUCH am: 2df182d7b1 ↵Chenjie Luo
-s ours am: 3e8005b289 -s ours Change-Id: Ie308c154a314faf32ca21f6913053753549a6f29
2016-07-18DO NOT MERGE ANYWHERE Add new power hints for launch activity am: a2aa3f358f ↵Wei Wang
-s ours am: 145907b2f5 -s ours Change-Id: Iffa33cd078e302c60ed8d9d5e2ab082058122761
2016-07-18DO NOT MERGE ANYWHERE power: Adds POWER_HINT_DISABLE_TOUCHChenjie Luo
am: 2df182d7b1 -s ours Change-Id: I2e8f3feb242c8abf1410c49cc218becd4caf2e6a
2016-07-18DO NOT MERGE ANYWHERE Add new power hints for launch activityWei Wang
am: a2aa3f358f -s ours Change-Id: I1cde82735cc43082f63e2ae901afb6faeec1c92e
2016-07-18power: Adds POWER_HINT_DISABLE_TOUCHChenjie Luo
POWER_HINT_DISABLE_TOUCH is used to hint power hal that device is in a state that touch controller could be disabled to save power. Bug: 30143923 Change-Id: I56c588e62afadffdb367b6e2c3115cffef51bb45 (cherry picked from commit 90db35122df088212dfef1c09af9d5470363d6c0)
2016-07-18DO NOT MERGE ANYWHERE power: Adds POWER_HINT_DISABLE_TOUCHChenjie Luo
POWER_HINT_DISABLE_TOUCH is used to hint power hal that device is in a state that touch controller could be disabled to save power. Bug: 30143923 Change-Id: I56c588e62afadffdb367b6e2c3115cffef51bb45 (cherry picked from commit 90db35122df088212dfef1c09af9d5470363d6c0)
2016-07-18DO NOT MERGE ANYWHERE Add new power hints for launch activityWei Wang
BUG: 28220567 Change-Id: I6da77240cdca5caa2e8504c36e83287954fd6ffc (cherry picked from commit a787ab79e50f6c5d5fe8b3866cd417a50ef46ff8)
2016-07-17merge in nyc-mr1-release history after reset to nyc-mr1-devgitbuildkicker
2016-07-15HWC2: Add SKIP_CLIENT_COLOR_TRANSFORM capabilityDan Stoza
Adds HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM, which indicates that the client should never apply the color transform, even if all layers are being composed by the client. This allows the device to use its color management hardware in all cases to avoid any potential mismatches between client and device application of the transform. Bug: 29870302 Change-Id: I90234d91858206714e650eadb03227a4a180d975
2016-07-15Merge "Improve stub hal read and write timing" into nyc-mr1-devAndy Hung
2016-07-14HWC2: Redefine retire fence as present fenceDan Stoza
Redefines the retire fence returned by presentDisplay to be a present fence with more strictly defined semantics: this fence should fire at the vsync when the frame is picked up by hardware, either for scanout (in the case of video-mode panels) or for transfer to panel memory (in the case of command-mode panels). Bug: 29771461 Change-Id: Idf5f86c92a8748426cf3368242c08876a48d81dd
2016-07-14HWC2: Add SKIP_CLIENT_COLOR_TRANSFORM capabilityDan Stoza
Adds HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM, which indicates that the client should never apply the color transform, even if all layers are being composed by the client. This allows the device to use its color management hardware in all cases to avoid any potential mismatches between client and device application of the transform. Bug: 29870302 Change-Id: I90234d91858206714e650eadb03227a4a180d975
2016-07-14HWC2: Redefine retire fence as present fenceDan Stoza
Redefines the retire fence returned by presentDisplay to be a present fence with more strictly defined semantics: this fence should fire at the vsync when the frame is picked up by hardware, either for scanout (in the case of video-mode panels) or for transfer to panel memory (in the case of command-mode panels). Bug: 29771461 Change-Id: Idf5f86c92a8748426cf3368242c08876a48d81dd
2016-07-13Improve stub hal read and write timingAndy Hung
Now considers time to mix or record. Bug: 29634175 Change-Id: Ifb2a2e11cb75ca9e83aadbc95943a618b0707f3f
2016-07-12Merge "audio: Add callback event to asynchronously notify error" into ↵Eric Laurent
nyc-mr1-dev
2016-07-11audio: Add callback event to asynchronously notify errorHaynes Mathew George
Add new event to notify error using async callback path Change-Id: I80a0ff74ea5a6497331a87ee33b2d0a890cbd2db
2016-07-11context hub: add reboot command/response and reboot notificationAlexey Polyudov
Change-Id: I20447c0b20eb2d6c4019f8038cb19749fee0126b
2016-06-15Revert \"Fingerprint: Add an API to support throttling.\"Jim Miller
am: e453c5212a Change-Id: Ic925b2038494d20038de1d10454a5de3114d7763
2016-06-14Revert "Fingerprint: Add an API to support throttling."nougat-devJim Miller
This reverts commit 7e9204a954deeeb6c2fad6752b87af0638ef0d5d. Fixes bug 29248095 Change-Id: I60ce4dd96affbc263a14921cbdda59df7e7a65f4
2016-06-14Use UINT16 for GATT attribute id fieldJakub Pawlowski
am: 7dde9350e6 Change-Id: I84a92dc5d8a3d58b9e75767b5afe85b1b5391d48
2016-06-14Merge "Re-add gralloc 1.0 header" into nyc-mr1-devDan Stoza
2016-06-14Use UINT16 for GATT attribute id fieldJakub Pawlowski
Id field is equal to attribute handle, so it must be 16bits. Otherwise only piece of GATT database can be used. Bug: 29253825 Change-Id: I75c0c993a987bf0a48e910fa3c0f41f9d876bec6
2016-06-13Simplify and clarify channel count/mask calculation for stream open routines.Paul McLean
Bug: 29154372 Change-Id: I849c02da0cc500e906cbda97b7258a3acf1e38f2
2016-06-02Re-add gralloc 1.0 headerDan Stoza
Adds the header for version 1.0 of the gralloc HAL, now that the framework properly supports it. Bug: 28401203 Change-Id: I2ef28ca1e5ed5e9e71a14c4d1c97245051acce6c
2016-06-02replace naked pthread_mutex_ functions with semantics-explicit lock/unlock ↵Paul McLean
functions. Bug: 29103653 Change-Id: Ic91f75f8653f7946790b8b433236fd918b41f3a6
2016-06-02Merge "Fix up inconsistent variable names." into nyc-mr1-devPaul Mclean
2016-06-01HFP 1.7 profile update (2/4)Mudumba Ananth
-> Updated the HF HAL interface to support two new commands (AT + BIND, AT + BIEV) added in the profile update Bug: 19983867 Change-Id: I672232522e9634d93ae86e5db81544b17b13576d
2016-06-01Fix up inconsistent variable names.Paul McLean
Bug: 29065081 Change-Id: I1c8305afdebd7e1eedb4afafb0d06003c6a9e576
2016-06-01Merge "Add dump() (i.e dumpsys media.audio_flinger) functionality to USB ↵Paul Mclean
HAL" into nyc-mr1-dev
2016-06-01Add dump() (i.e dumpsys media.audio_flinger) functionality to USB HALPaul McLean
Bug: 28960293 Change-Id: Ia3a2b966079633d9357e5ae96247b771073f2de6
2016-05-26Add new power hints for launch activityWei Wang
BUG: 28220567 Change-Id: I6da77240cdca5caa2e8504c36e83287954fd6ffc
2016-05-25Merge "Ensure we get a default sample rate for "query" cases in ↵Paul McLean
open_input_device()." into nyc-dev am: 86df5ad096 * commit '86df5ad096224060eb5275e6b7c4a1d5552210ee': Ensure we get a default sample rate for "query" cases in open_input_device(). Change-Id: I484e88a6b8da002b40f2769e3d869434f0b9efb2
2016-05-25Merge "Ensure we get a default sample rate for "query" cases in ↵Paul Mclean
open_input_device()." into nyc-dev
2016-05-25Ensure we get a default sample rate for "query" cases in open_input_device().Paul McLean
Bug: 28474561 Change-Id: I2946dda95ab47bd38a582f49e566541bc4e20bbf
2016-05-25Merge "Lock input and output sample rates" into nyc-devPaul McLean
am: 6bd8429fe2 * commit '6bd8429fe2efab5339c4a8446aaae53bd4d06422': Lock input and output sample rates Change-Id: I7788bcfa7ea8581d72f508c8db0cc77bbd2b5016
2016-05-25Merge "Lock input and output sample rates" into nyc-devPaul Mclean
2016-05-25Lock input and output sample ratesPaul McLean
Bug: 28474561 Change-Id: I551d346aea9c4f36b51a9c1a1c557c5e2757334b
2016-05-24Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: ↵Ajay Panicker
4137555a77 am: 9ed5e051f0 -s ours am: 07c1c4dd8d am: d22d07f82b am: 9de98af266 am: 2fc4aebcdd am: c32a7a662a * commit 'c32a7a662a3a519dd79df44fd88dde1e008cb20f': Add guest mode functionality (1/3) Change-Id: I2c48cee179955e232195bcf37faa7b2c5f596d63