summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* API changes in MicrophoneDirectionPaul McLean2019-03-221-0/+8
| | | | | | Bug: 128523813 Test: build, flash, testbed app. Change-Id: I1bcc9bb667224cebb401d9506853d5c650e7d68d
* audio HAL: restore HOTWORD audio sourceEric Laurent2019-03-201-0/+1
| | | | | | | | HOTWORD audio source was removed from HAL V4.0 by mistake. Bug: 129001649 Test: make Change-Id: I664eb6ca2a6c30bc6f48a752cb7300aac6c4294b
* audio: Add APTX_TWSP audio formatAniket Kumar Lata2019-03-193-0/+3
| | | | | | | | | Add APTX_TWSP audio format support. Bug: 111812273 Bug: 128825638 Test: make Change-Id: Id8ba35d8aeea3d0c02be6c63ed3d05b039b0bb4f
* Merge "audio: Fix and enhance channel mask enums"TreeHugger Robot2019-03-121-3/+19
|\
| * audio: Fix and enhance channel mask enumsMikhail Naganov2019-03-081-3/+19
| | | | | | | | | | | | | | | | | | | | Add AUDIO_CHANNEL_INDEX_MASK_{9..24} Fix channel order for AUDIO_CHANNEL_OUT_3POINT{0,1}POINT2 Bug: 126455009 Test: make Change-Id: I36a89c9903ad1702c5c0bdb0632c3f3234bb75d7
* | audio: Make 'surroundSound' element optionalMikhail Naganov2019-03-061-1/+1
|/ | | | | | | | | | | | This element makes sense only for TV platforms. The deserializer treats it as optional. Update the schema to match this. Bug: 116356348 Test: xmllint --noout --xinclude --schema \ hardware/interfaces/audio/5.0/config/audio_policy_configuration.xsd \ frameworks/av/services/audiopolicy/config/audio_policy_configuration.xml Change-Id: I822c3ff10a6becc859d3d44fd58ef2ebcd3d40b1
* Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6Steven Moreland2019-03-049-194/+0
|\ | | | | | | | | | | am: 7224bc9bcf Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
| * Update makefies: no 'types'Steven Moreland2019-03-049-194/+0
| | | | | | | | | | | | Bug: 123976090 Test: N/A Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
* | Merge "audio: Add support for dumping info from effect HAL modules"Mikhail Naganov2019-02-2724-0/+70
|\ \
| * | audio: Add support for dumping info from effect HAL modulesMikhail Naganov2019-02-2224-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation uses IBase::debug() method which can write debugging info into the provided file descriptor (same model as used for devices and streams). Bug: 69939533 Test: adb shell dumpsys media.audio_flinger Change-Id: I7876fd43a7066c0f081ea2ca0b3b4b37bbdf8e6c
* | | Audio HAL: add address documentation am: 3cdb31ee57 am: 6420797904Kevin Rocard2019-02-261-2/+4
|\ \ \ | | |/ | |/| | | | | | | | | | am: 7e2aa9b955 Change-Id: I205bd30ffa969b090d507ea5791b0413bc0e4ff4
| * | Audio HAL: add address documentationKevin Rocard2019-02-261-2/+4
| | | | | | | | | | | | | | | | | | Test: compile Change-Id: I108d512cf3381c5b87c76d152252050d309e46a6 Signed-off-by: Kevin Rocard <krocard@google.com>
| * | Make audio HAL consistent.Steven Moreland2019-02-266-25/+55
| | | | | | | | | | | | | | | | | | | | | Bug: 124459302 Test: hidl-gen -Lcheck ... Change-Id: I319fb00ef3a2da3944094228d4801bd9f88c16bb Merged-In: Ie125d9bb014ee747ce56a59feaca577ab2d9e96c
| * | [Master port]audio: add new audio formatsEric Laurent2019-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. Add audio format for LHDC Bluetooth codec. Also add missing audio sources and devices in xsd. Bug: 124247199 Bug: 120395342 Test: make Change-Id: Ib55c7d351074d8ef75747bcb1195e1ce15ed8b20 Merged-In: Ib55c7d351074d8ef75747bcb1195e1ce15ed8b20
| * | [Master port]audio: add new audio formatsEric Laurent2019-02-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. Add AAC_LATM*, CELT and APTX_ADAPTIVE to the list of audio formats. Bug: 124247199 Bug: 123082414 Test: make Change-Id: Id75e1f5016929d5a67e777774aaa892df6f91e78 Merged-In: Id75e1f5016929d5a67e777774aaa892df6f91e78
| * | [Master port]Add new audio sources for audio captureEric Laurent2019-02-151-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. This commit adds the following audio capture sources: - AUDIO_SOURCE_VOICE_PERFORMANCE: for real time live performances like Karaoke. - AUDIO_SOURCE_ECHO_REFERENCE: for capturing the reference signal to suppress by an echo canceller. Protected by privileged permission CAPTURE_AUDIO_OUTPUT. Also added device AUDIO_DEVICE_IN_ECHO_REFERENCE selected when the requested capture source is AUDIO_SOURCE_ECHO_REFERENCE. Bug: 124247199 Bug: 118203066 Test: CTS tests for audio capture Change-Id: Ia93550b278733ae9cc5cda731b014421002fde35 Merged-In: Ia93550b278733ae9cc5cda731b014421002fde35
| * | [Master port] Audio HAL: Add optional Destination to SinkMetadataMikhail Naganov2019-02-152-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. Currently this is used to indicate the output device when the input stream is from an intermediate processing module like MSD. Bug: 124247199 Bug: 120859615 Test: make Change-Id: I60bac5c24a263ab0b8965e9dbf9514445e88c270 Merged-In: I60bac5c24a263ab0b8965e9dbf9514445e88c270
| * | [Master port] Add haptic channel mask.jiabin2019-02-151-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. Bug: 111454766 Bug: 124247199 Test: build Change-Id: I00c28aa02473ce83b0d9b404b5cf33410c73a2c8 Merged-In: I00c28aa02473ce83b0d9b404b5cf33410c73a2c8
* | | Revert "Revert "Fix audio VTS build""Eric Laurent2019-02-221-2/+1
| | | | | | | | | | | | | | | | | | This reverts commit 6735fea7125030db314e32e4852f73d5ab9930a2. Test: make.
* | | Revert "Fix audio VTS build"Eric Laurent2019-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 22ab6f2febfc39f26d1b2866a064a5189c69bdb2. Bug; 125937703 Test: make Change-Id: Iead87b0e1b8078262d7e370b050c2a75dbcda387
* | | Fix audio VTS buildEric Laurent2019-02-221-2/+1
| |/ |/| | | | | | | | | | | | | Update AudioPrimaryHidlHalTest to reflect changes in AudioPolicyConfig class. Test: make Change-Id: Iab5cb85ff8e79fb5387d5e8ad2f85748342e80fa
* | Merge "Change class and variable names"TreeHugger Robot2019-02-151-11/+11
|\ \
| * | Change class and variable namesSundong Ahn2019-02-111-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | The rule to generate class and variable names is changed. So update api names according to this rule. Test: make update-api && make checkapi Bug: 123777669 Change-Id: I5ba41679c863d8f57e9c43821b311ca09e9b4ea2
* | | Update makefiles.Steven Moreland2019-02-111-0/+1
|/ / | | | | | | | | | | Bug: 123976090 Test: N/A Change-Id: I5fb6c126a090a3fe0fa4829ea9224564133dc1ae
* | Merge "Register Bluetooth Audio Hal v2 within Audio HAL" am: f7b6c73725 am: ↵Cheney Ni2019-02-062-0/+7
|\| | | | | | | | | | | | | | | 6cef9b0a49 am: 1c9ef33a17 Change-Id: I1868f8093259855c2331231678dc71f3f2522735
| * Merge "Register Bluetooth Audio Hal v2 within Audio HAL"Treehugger Robot2019-02-072-0/+7
| |\
| | * Register Bluetooth Audio Hal v2 within Audio HALCheney Ni2019-02-062-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register Bluetooth Audio Hal v2 by Audio HAL service so Bluetooth stack can fetch the service interface as well. Bug: 111519504 Test: manual Change-Id: I3ac8c0472c58dd4d8a9b1ad8408313b80282cc85
| * | Update makefiles.Steven Moreland2019-02-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Some of these are out of date. Bug: N/A Test: N/A Change-Id: Ibf87fad9981d4e430a0bf797feadbb0bede232fc
| * | Remove the dependency on ICUVictor Chang2019-01-314-12/+0
| |/ | | | | | | | | | | | | | | | | | | | | Static libxml2 no longer requires ICU4C. Remove the depedency from the build file. Bug: 121468463 Test: vts-tradefed run vts -m VtsHalAudioEffectV4_0Target Test: vts-tradefed run vts -m VtsHalAudioV4_0Target Merged-In: Ib843fb1071a634f25e27e5291b00d11852ac08a9 Change-Id: Ib843fb1071a634f25e27e5291b00d11852ac08a9
| * Update signature files to the new formatTor Norbye2019-01-184-150/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new format is described in tools/metalava/FORMAT.md. Fixes: 116589402 Switch signature files over to the v2 format Fixes: 112626813 Drop "synchronized" modifier from the signature format Fixes: 122358225 Omit overriding methods that only differ in final [...] Fixes: 73088715 API Review: Need doclava to output nullability Fixes: 79739773 API Review: Metalava enforcing constants are constant Exempt-From-Owner-Approval: Large-scale tooling change Test: make sdk, make update-api, make checkapi Change-Id: I767f9fb2941789615c9513072a381e79a5654373 Merged-In: I2943d9a65c24e7ca8fb9ae9b69f7edf06173f467
| * Add libandroidicu as static lib in the VtsHalAudioVictor Chang2019-01-084-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | libxml2 now depends on libandroidicu. Add the same dependency into the VTS. TODO: b/121468463 to remove ICU from VtsHalAudio Bug: 117094880 Test: m checkbuild Merged-In: I105e7ad1517ecf8780adfb730650e1ad82f65857 Change-Id: I105e7ad1517ecf8780adfb730650e1ad82f65857
* | Remove the dependency on ICUVictor Chang2019-01-312-6/+0
| | | | | | | | | | | | | | | | | | Static libxml2 no longer requires ICU4C. Remove the depedency from the build file. Bug: 121468463 Test: Treehugger Change-Id: Ib843fb1071a634f25e27e5291b00d11852ac08a9
* | Merge "VTS test for MicrophoneDirection API (HAL V 5.0)"TreeHugger Robot2019-01-302-2/+56
|\ \
| * | VTS test for MicrophoneDirection API (HAL V 5.0)Paul McLean2019-01-302-2/+56
| | | | | | | | | | | | | | | | | | | | | Bug: 121201996 Test: atest VtsHalAudioV5_0TargetTest Change-Id: Icf8a054b50568f51a49b74f15de64232d1dc1c39
* | | Effects: add new effect volume flagJasmine Cha2019-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new effect flag to monitor requested volume from audio framework. Bug: 123251705 Test: on/off equalizer on spotify/google music switch songs with equalizer Change-Id: Id89f6921923e7d55fa06c52579357fcd2f1c1fd0 Signed-off-by: Jasmine Cha <chajasmine@google.com>
* | | audio: add new audio formatsEric Laurent2019-01-225-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add audio format for LHDC Bluetooth codec. Also add missing audio sources and devices in xsd. Bug: 120395342 Test: make Change-Id: Ib55c7d351074d8ef75747bcb1195e1ce15ed8b20
* | | audio: add new audio formatsEric Laurent2019-01-223-0/+19
|/ / | | | | | | | | | | | | | | | | Add AAC_LATM*, CELT and APTX_ADAPTIVE to the list of audio formats. Bug: 123082414 Test: make Change-Id: Id75e1f5016929d5a67e777774aaa892df6f91e78
* | Merge "audio vts: update with new audio policy class"Eric Laurent2019-01-211-1/+2
|\ \
| * | audio vts: update with new audio policy classEric Laurent2019-01-191-1/+2
| | | | | | | | | | | | | | | | | | Bug: 111812273 Test: make Change-Id: I2daae7401269d2fff59f0ecf69a45b62873ef1a1
* | | Update signature files to the new formatTor Norbye2019-01-186-175/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new format is described in tools/metalava/FORMAT.md. Fixes: 116589402 Switch signature files over to the v2 format Fixes: 112626813 Drop "synchronized" modifier from the signature format Fixes: 122358225 Omit overriding methods that only differ in final [...] Fixes: 73088715 API Review: Need doclava to output nullability Fixes: 79739773 API Review: Metalava enforcing constants are constant Exempt-From-Owner-Approval: Large-scale tooling change Test: make sdk, make update-api, make checkapi Change-Id: I2943d9a65c24e7ca8fb9ae9b69f7edf06173f467
* | | Merge "audio: Add 'encodedFormats' field to 'devicePort'"TreeHugger Robot2019-01-192-2/+6
|\ \ \
| * | | audio: Add 'encodedFormats' field to 'devicePort'Mikhail Naganov2019-01-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used to specify the list of codecs that the device supports. Bug: 120860184 Test: xmllint --noout --xinclude --schema \ hardware/interfaces/audio/5.0/config/audio_policy_configuration.xsd \ frameworks/av/services/audiopolicy/config/audio_policy_configuration*.xml Change-Id: Ifb80afed7947dc2332a8188defa86db98851188e
* | | | Merge "Enabling sound trigger V2_2"Michael Dooley2019-01-182-3/+6
|\ \ \ \ | |_|/ / |/| | |
| * | | Enabling sound trigger V2_2mike dooley2019-01-172-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | V2_2 has the same functionality as V2_1 except it adds one new api, getModelState. Note: V2_1 will be removed in a subsequent cl. Test: built android and tested using SoundTriggerTestApp Bug: 70206501 Change-Id: Ia1567bfc988482195b89b8d6a0901d51e870bfbf
* | | | Merge "Adding Audio HAL V5: Direction API"Paul Mclean2019-01-174-1/+74
|\ \ \ \
| * | | | Adding Audio HAL V5: Direction APIPaul McLean2019-01-164-1/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 119137468 Test: Testbed App Change-Id: Ief74abab49b68ac13e0433f5fe29dd25379c7aec
* | | | | Merge "add new audio sources for audio capture"Eric Laurent2019-01-161-1/+13
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | add new audio sources for audio captureEric Laurent2019-01-161-1/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following audio capture sources: - AUDIO_SOURCE_VOICE_PERFORMANCE: for real time live performances like Karaoke. - AUDIO_SOURCE_ECHO_REFERENCE: for capturing the reference signal to suppress by an echo canceller. Protected by privileged permission CAPTURE_AUDIO_OUTPUT. Also added device AUDIO_DEVICE_IN_ECHO_REFERENCE selected when the requested capture source is AUDIO_SOURCE_ECHO_REFERENCE. Bug: 118203066 Test: CTS tests for audio capture Change-Id: Ia93550b278733ae9cc5cda731b014421002fde35
* | | | Merge "Add audio_effects_conf"TreeHugger Robot2019-01-165-0/+142
|\ \ \ \
| * | | | Add audio_effects_confSundong Ahn2019-01-085-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module is for API check of java file generated from audio_effects_conf.xsd. Bug: 80453829 Test: m -j && make update-api && make check-api Change-Id: I0be0176a1d63db0ccc8c4bb38705a76a0070c981