| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add bounds checking for buffers
CRs-Fixed: 2013236
Change-Id: I0e1f75ea307088b92e87b99f8b614afbcd0f1c82
CVE-2017-8278
|
|
|
|
|
|
|
|
| |
Test: see CTS testAllEffectsEqualizer_CVE_2017_0401
Bug: 37536407
Change-Id: Ifa515dea10c9293022b7d0971d097f0bd727ac6c
(cherry picked from commit 8cf151a63177247a370ecdef6f2e1ec0b80901d5)
CVE-2017-0767
|
|
|
|
|
|
|
|
| |
Bug: 37563371
Test: use POC on bug or cts security test
Change-Id: Ia04f172fb21b11463ffa9ea023d69a3db01e0731
(cherry picked from commit 617cd5c7f46c2312c7253001c46e7eea4c0315e0)
|
|
|
|
|
|
| |
These are the changes from commit a66b28ebd1117778f025deaab2cf042d3e5ac74c applied to the msm8909 directory.
Change-Id: I8e8e76db366b44806f8f8b5804706acdd36a3565
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 32588016
Bug: 32585400
Test: Use POC bug or cts security test
Change-Id: I5ef8c756369d488ad5903c163584f24de63d73e3
(cherry picked from commit 500a9feaf816c719241de83f2ee65c8e2d7ff269)
(cherry picked from commit ed79f2cc961d7d35fdbbafdd235c1436bcd74358)
# Conflicts:
# post_proc/equalizer.c
Fix security vulnerability: Equalizer command might allow negative indexes
Bug: 32247948
Bug: 32438598
Bug: 32436341
Test: use POC on bug or cts security test
Change-Id: I56a92582687599b5b313dea1abcb8bcb19c7fc0e
(cherry picked from commit 3f37d4ef89f4f0eef9e201c5a91b7b2c77ed1071)
(cherry picked from commit ceb7b2d7a4c4cb8d03f166c61f5c7551c6c760aa)
(cherry picked from commit d72ea85c78a1a68bf99fd5804ad9784b4102fe57)
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 30229821
CYNGNOS-3312
Test: fixing CL. Existing unit tests still pass.
Change-Id: I73d3fe413dd7590470c5b3b19569d6a7969c4dd8
(cherry picked from commit 0c39abc483ba980f7c417e57a0aa39139136c97a)
(cherry picked from commit 2aa3913e968dfe1721f29ab86197178e1ad80b6b)
|
|\
| |
| |
| |
| |
| | |
CYNGNOS-3303
Android 6.0.1 release 74
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 30229821
Change-Id: Iea1c4a21735e893aeded95b980044ec0861a7ea8
(cherry picked from commit 2fa52194ef64843c2908c69527384c6c2fcdbafa)
(cherry picked from commit 57ac66340ad488a17fc285b6fc2635cb7375d72b)
|
| |
| |
| |
| |
| |
| | |
* fixes low volume on bullhead
Change-Id: I278c0eda14a5c15ab6ad07051789e8d49c59c1ad
|
|\|
| |
| |
| |
| |
| | |
Ticket: CYNGNOS-3020
Change-Id: Iafd7ca0e83097fd9bec0fe3e8ff4c05205d6410c
|
| |
| |
| |
| |
| | |
Bug: 28173666
Change-Id: I055af37a721b20c5da0f1ec4b02f630dcd5aee02
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix access to deleted effect context in vol_prc_lib_release()
Bug: 25753245.
Change-Id: I64ca99e4d5d09667be4c8c605f66700b9ae67949
(cherry picked from commit 93ab6fdda7b7557ccb34372670c30fa6178f8426)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For speaker thermal calibration, backend needs to be configured
with default sample rate(48kHz). Currently backend configuration
does not reset to default value after playback finishes, results
in failure of speaker calibration. Fix this issue by resetting the
backend configuration to default primary output value before
speaker thermal calibration.
Change-Id: Id231faf7249506ef668a943b6b12c2738b504a50
|
| |
| |
| |
| |
| |
| | |
* Fix issues with soundtrigger and possible crashes.
Change-Id: I7a455c176b97097464592a922154a62a0aa2283e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the framework doesn't call read before standby and closes the
record session, sound trigger buffering will not be stopped and
sound trigger hal continue buffering internally. Fix this by
stopping buffering during record session close.
Change-Id: I83941610b3152f26e5ae9c449dbb8f9846b266a2
CRs-fixed: 966060
|
| |
| |
| |
| | |
Change-Id: Ice58e83f731d45be77f69f2810426dd72cfb98f7
|
| |
| |
| |
| | |
Change-Id: I6a0a0d15bf196e6f5ffab6b68a96e341fc6fe3bf
|
| |
| |
| |
| |
| |
| |
| | |
Make logs more meaningful and remove
ones not necessary.
Change-Id: I9562cf34a5dee406b1c0347a9004db08de9cd5df
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When output is unintended device, there's no need to query enable_flag
before setting effect to disabled state. There's possiblity that
enable_flag is 0 as initialized value, which hinder effects from being
disabled.
Change-Id: Ib90c0ad0982dc8274129bb1bed7861e11670fbdb
|
| |
| |
| |
| |
| |
| | |
Silence volume listener log for offload use case
Change-Id: I1b6344dbb898d64ae52a7d3ef60d5666703516f9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Virtualizer is getting applied just by setting strength even though
it was kept disabled by client.
- Enable/disable from strength context is not able to track state set by
client, since internal state may not be same as one set by client.
- Add a separate variable to track state set by client which would help
avoid going into any such inconsistent state.
Change-Id: I4985b2d12dc0ee3f62089423e3a71d530f66027c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
post_proc: disable effect immediately when routed to invalid devices
Offload effect is still perceived when invalid output device is
connected. We should send disable command immediately once phone is
routed to unexpected device and forbid effect enablement during
temporary disabled state.
Change-Id: I26d4ccfd77037a879622b0437ae3916ff0071a69
CRs-Fixed: 630408
post_proc: disable Bassboost and Virtualizer for USB_ACCESSORY
USB_ACCESSORY is not intended to be applied with SA+ bassboost
and virtualizer, so add into invalid devices list.
CRs-Fixed: 659191
Change-Id: If1f3421f9935ce624dc21895d9244d36d195b2bd
post_proc: fix post and pre process KW issues
KW issue fix includes:
- handle memory allocation failure
- array index boundary check
Change-Id: I083952ba58d348a5b650601a83e6f492b0d686bb
post_proc: Fix improper datatype of EQ preset band level value
unsigned int causes negative band level turn out to be extreme large
value, which results in EQ works abnormally due to unexpected parameter
sent.
Change-Id: I81120c604f4e9f23b25d5a45a7b0294fea63d207
CRs-Fixed: 696825
post_proc: add support for virtualizer capability query
Add extra virtualizer interfaces to keep align with aosp design.
Extended capabilities include:
- Stub interface to allow querying speaker angles.
- Force set output device as specific virtualize mode.
- Query virtualize mode
Stub function remains to be refined in sync with upcoming aosp
changes.
Change-Id: I3316f6d944db1c9954eda7643a5ce433defa1a6c
CRs-Fixed: 810294
post_proc: remove unnecessary command size check
Up bound check for command size of EFFECT_CMD_SET_PARAM is not
applicable for DSP effect bundle. Remove the check to avoid parameter
not taking effect.
Change-Id: I7e8f73377699f11bdc1f62a05f6bea03c9c24151
CRs-Fixed: 816053
post_proc: explicitly disable virtualizer module if strength is 0
0 stength in DSP virtualizer is not equivalent to disable state as down
mix is still happening for multichannel inputs.
For better user experience, explicitly disable virtualizer module when
strength is 0.
Change-Id: Ic2884ac7010e4f835df871719d546c0c05173f4b
CRs-Fixed: 872772
post_proc: fix reverb processing issue when preset is set to NONE
Reverb effects are getting applied even after setting reverb preset
to REVERB_PRESET_NONE.
Preset NONE is used by client and is supposed to be equivalent to
disabled state, even though this preset is not supported in DSP.
Fix this issue by avoiding enable command from post processing HAL
to DSP when preset NONE is in use.
CRs-Fixed: 868041
Change-Id: Iad626a7400246e80a97a926234cfb7756ec6083e
post_proc: fix crash in offload effect bundle during stop output
Effect bundle stop() frees mixer contol before doing module stop(),
whereas module's stop() still needs this control to send disable
command down the layer.
Crash is observed if memory associated with effect control is reused
and gets altered by the time mixer control is completed.
Move mixer control's deletion after module's stop() to fix this issue.
CRs-Fixed: 860604
Change-Id: Ia8b6d5f847b69392afbda1ba77fc740a47aba25d
|
|\ \
| | |
| | |
| | |
| | |
| | | |
https://android.googlesource.com/platform/hardware/qcom/audio into cm-13.0
Android 6.0.1 release 22
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
MSM8909w Audio HAL code copied from CAF release
LW.BR.1.0-00410-8x09w.0
dbcce50 hal: Port wcd9326 changes to 8909
410c530 hal: update error handling for pcm_prepare failures
ff79309 hal: fix compilation issues with audio FM extention
762d7eb policy_hal: add support for fm device loopback
7c418f9 audio_policy: modify few methods to appropriately override base
8b12163 audio: Add support to enable split A2DP
a0559fa Revert "Revert "policy_hal: Function prototype correction for custom policy"."
Fixed makefiles to be compatible with PDK without kernel source
Change-Id: I9c6f2139adee62426b877516deeb41d4ed8052b2
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: ffa7f34752
* commit 'ffa7f347525d9f4c705e753908c55fe75af0560f':
post proc : volume listener : fix effect release crash
|
| | |\ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
am: ebbb823651
* commit 'ebbb82365172337c6c250c6cac4e326970a9e351':
post proc : volume listener : fix effect release crash
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix access to deleted effect context in vol_prc_lib_release()
Bug: 25753245.
Change-Id: I64ca99e4d5d09667be4c8c605f66700b9ae67949
(cherry picked from commit 93ab6fdda7b7557ccb34372670c30fa6178f8426)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use audio_stream_out_frame_size instead
Change-Id: I0416e0f9079b834361ac89821459c151cb428c0d
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mnc-dr-dev
* commit '26f06c79dd04fba38a97f2548ead140d25edde78':
hal: fix mic selection for IN_COMMUNICATION mode
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into mnc-dr-dev
* commit 'cc3f2e8dbe76ea15472471fa374051273c441035':
hal: Add support for perf lock management (continued)
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'c075069083619889b0b28147f08e53371551ea91':
Configure platform msm8960
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '7246fb647b8e30c0aaec48961274c3a81e67d6e3':
Define max number of channels for msm8974
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Current hal doesn't support mute/unmute for HFP Tx. So add the feature
to support mute/unmute for HFP Tx
Bug: 23559037
Change-Id: Ibd67225ce926516974ca87059bb139e6af0083ac
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '888dc3d2301c438392644b71dbea43b8860687bb':
hal: fix hotword detection failure during music playback
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '8c83fe85b6d1257298208de043acece927787c3f':
Add support for voice recognition on headset use case
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '04643599078ac0501b64493e791320277ac05a47':
hal: Fix EC not working with some VoIP app
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* commit '533bb72620933eddd232d41e171ab70ea0807e34':
hal: Add support for perf lock management
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* commit '88cbad341d2dd920ac74c2296f319482bd53a33d':
Ramp speaker gain when swapping L/R channels for ACDB change
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
* commit '425e154c046554deb7ba766e89b943e8870ee251':
hal: msm8974: Conditional device switch to swap LR channels
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
* commit 'a1478073c18fbdecd6510452304270d2149ae5b6':
Revert "Revert "audio HAL: fix thread starvation""
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Use default acdb id same as speaker and speaker-mic which will be present
on platforms. overwrite the acdb ids through device specific config file
audio_platform_info.xml if required.
Change-Id: I732dcdea691a1ae74b553964f349f1312d300da1
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
- add support for audio tuning of HFP
- add TX reference for TX Echo Cancellation
Change-Id: I5d7ffe1481a5093262b4b94ae0325fa81111feac
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
* commit '1536efd3864d745782e05aa92ebe48a5c327d79f':
DO NOT MERGE - volume_listener: fix release
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
* commit '1b49155ca2a0b056d09f159861ad0d251a36116d':
hal: change sequence of selecting output device
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
* commit 'e04901bfccd127bbf24f0064077c9ff93c2401e1':
msm7984: fix plaform_set_parameters().
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
mode." into mnc-dr-dev
* commit '13355e906843e889df8ee88d39015f373666fb7f':
volume listener: fix process() function for accumulate mode.
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
* commit 'e63e61d40e171b60b8345f2a47022d066aa589f2':
hal msm8974: fix logic in platform_check_backends_match().
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
* commit '9af4b91ddd17beb8e0db420874014a5662848159':
hal: fix backend check routine for combo device
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
* commit '2facd29ca7a04fcfe01b83cf044d552d6b728dd7':
volume_listener: fix release
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
* commit '5a95ff689b4a1827488d576f02b6292e4318abb2':
hal: Fix incorrect audio calibration after device switch
|