| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Not needed anymore as this is handled by NotificationManager.
Change-Id: I6f1f7fd0e970e50899eaad184b7481088701428e
|
|
|
|
|
|
| |
libserviceutility is removed
Change-Id: I8574b4c4798ea21aa63f692ebacd733c760b8d7a
|
|
|
|
|
|
|
|
|
|
|
| |
When the new selected input device is not supported by current
input handle, normally it needs to be closed and then create
a new one to capture with the new device.
While for HOTWORD recording, as the data will either be captured
from handset mic or headset mic, recording can be continued on
the original input handle.
Change-Id: I0f20811effc18433d97b5460b66d4fed21c323b4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During voice call, when device switch from handset to speaker,
speaker volume in voice stream is set only after voice call is
routed to speaker. In this duration, handset volume is used for
voice call even if speaker device is enabled.
Fix it by setting voice volume after voice output device is changed.
CRs-Fixed: 2281357
Change-Id: I5cf9639cfac788d12c07f3c83b610bc16fc0143c
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When USB headset is inserted, VoIP client will stop current output
and then open a new output. Due to voip usecase is not closed in time,
the new output is opened in handset with FLAG_NONE and fallback to
primary output.
Fix it by closing voip output when a new output is opened by same voip
client in different device.
CRs-Fixed: 2272627
Change-Id: I71672675f13f58ed818117d5d0abe0d93204227e
|
|/
|
|
|
|
|
|
|
| |
-Deep buffer flag is getting set for incall music use case
leading to cts failures related to incall music routing.
-do not set deep buffer flag for incall music use case.
Change-Id: I5fc7367996d7844dce796cd15f1fc782a631cc89
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With 3rd party voip application, compress voip usecase is
failed to be selected by policy when headset is inserted during
voip call.
Audio policy invalidates the track first and then closes the
direct output. Voip output count is not reset to 0 when new track
is created from restoreTrack. APM rejects voip usecae due to
this reason.
Close voip output before invalidating the track to avoid this
issue.
CRs-Fixed: 2251583
Change-Id: I9fac1974fae2565daee10fce44f4a14d6961421b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case of FM concurrency output curActiveCount was not getting updated
When FM device is connected then setDeviceConnectionStateInt is called
which was not updating the output curActiveCount because of which if any
other tracks were added the curActiveCount mismatch issue was occuring and
the AudioServer was dying.
As a solution to this problem start() and stop() are called when mRefCount is
updated in case of FM.
CRs-Fixed: 2230307
Change-Id: Ib591127bb60741228ec7ab2341e0512f8f05b5c0
|
|
|
|
|
|
| |
- Update API signature to inline with AOSP refresh
Change-Id: Ie9eac48abc7f10d3673d6dee8c391ff75f44cc1e
|
|
|
|
|
|
| |
- Update API name to inline with AOSP refresh
Change-Id: I70368b65223587363f0dac2c6c5ff1e136d29362
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In customer policy manager, AudioInputDescriptor::close() is
not called to reset curActiveCount. This will cause input
stream start fail.
Remove closeAllInputs() from custom policy manager.
CRs-Fixed: 2218335
Change-Id: I31a6643f6ba5a517212adaae8706667f49558e68
|
|/
|
|
| |
Change-Id: I1459b1a51c5e276f7cbf46fa02068e09f79c730d
|
|
|
|
|
|
|
|
|
|
|
|
| |
closeAllInputs is not closing the input descriptor of all the
inputs before clearing input list. current active input count
on the profile is not getting decremented due to this reason
Called close on input descriptor to update curActiveCount
correctly
CRs-Fixed: 2217362
Change-Id: I8b0739ab179d2f9eaf92ee105d6bcfdcfca34de0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Remove the AOSP header paths and add them through
corresponding header library.
Change-Id: I55434d49bc2251c874fc0a974f1b8a43ab90d6cc
|
|/
|
|
|
|
|
|
|
|
| |
- enable track offload through direct output
- restrict track offload for media and game
usages
- select non direct output when direct pcm is
already in use
Change-Id: I8eb0e52a01c56b9bcfb00493624dd1e48d41a769
|
|
|
|
|
|
| |
- Update GetOutputDevice API to inline with AOSP refresh
Change-Id: Ia898b25e1d547052a50d691d9550831c6c8d064a
|
|
|
|
|
|
|
| |
- Modify API signature and associated logic for
android upgrade.
Change-Id: Iec030d5b1c35d3e2af94681bd8e3b6711c428229
|
|
|
|
|
|
|
| |
This fix compilation failure for platforms with COMPRESS VOIP enabled.
Change-Id: I664be06da07d776cae7a2f73e0a225af3f9075eb
CRs-Fixed: 2145990
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I0b4efbbe0620766e68999bb8e9cabe28ff9ba28d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If voice stream can't go with voip path, then always let it use
primary output for playback.
CRs-Fixed: 2145990
Change-Id: I0c55f5e8ad806ed7320ac42d832bcd96adc6be9d
|
|\| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Block setting direct VoIP flag to normal playback output.
Fallback to primary output if a VoIP output is already
opened and if there is a request for other.
CRs-Fixed: 2145224
Change-Id: I33c553f1e8e3fcb15a9810a0bd9c35780ce7fa34
|
|/
|
|
|
|
|
|
| |
Query hal to determine whether display-port is connected
and is allowed to be used for voip/voice call
CRs-Fixed: 2151861
Change-Id: I82b78315e336baea64234fb8e44f5b875ea6e10f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, restore device for the output handle can be ignored if
the new device is the same with current device of this output, this
can lead playback for this output keeps on the route of the stopped
output.
Instead, need to compare the device with the previous active device
of the stopped output to decide if it's a spurious routing request.
Change-Id: I3e5eb8b3aa68b050a84515b50b9745864826129a
CRs-Fixed: 2136994
|
|/
|
|
|
|
|
| |
Add sanity check on stream to avoid potential out of bounds
access on mRefCount and mStopTime arrays
Change-Id: I1ec657e50a5ccb1db80617ce4eac3ac686c9b21f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
COMPRESS_VOIP_ENABLED is defined as false by default
in makefile even if COMPRESS_VOIP feature is applicable.
Then VoIP rx and tone playback both are configured with
direct flag, and reusing same direct output. When tone
stop, VoIP rx also is also stopped.
Fix by correcting error in makefile to use right cflags
to support Compress VoIP.
CRs-Fixed: 2115554
Change-Id: Ie06f4859ed6c2c74d48c89bb7cf588df1dd3cff7
|
|/
|
|
|
|
|
|
|
| |
This is a work around for platforms that don't properly support
concurrent capture in the audio hal - the APM won't preempt sound
trigger streams for other sound trigger streams, and will allow
concurrent sound trigger streams to be recording at the same time.
Change-Id: I8e946862605926ecefd7555a5661d9149b9ea0be
|
|
|
|
|
|
|
| |
Fix possible NULL dereference in custom policy manager inside method
getOutputForDevice().
Change-Id: I643d5e8401b03973284cef06820cc1cc914b0658
|
|
|
|
|
|
|
| |
Simplify audio policy HAL changes to support VoIP using audio path.
This is intended for VoIP usecase on direct output stream.
Change-Id: I490f225e17bc31d30003dbf90b687eee30bec8db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update custom audio policy implementation APIs against below O-AOSP updates.
1. audio policy manager: do not reapply same forced usage
Skip systematic audio path and volume reevaluation when the new
forced configuration for the selected usage is the same as current one.
Bug: 38276985
commit: 8dc87a60e69f462e0382d025c335e45699025b48
Change-Id: Id43a5270c666065e099d02d9e52de86b20cb8039
2. audio policy: always provide a valid device address when opening a stream
Treble audio HAL mandates that a valid device address is passed when
opening an output or input stream and teh device type requires and
address.
Bug: 37905534
commit: e301410b8495a3702e21019e92d44ade2a3f81d1
Change-Id: I12f2128120b1bbe8530e8c2428e3e2cba1ba1535
3. audio policy: fix global effect attachment
Fix logic for global music effects (e.g Visualizer) attachement to
output streams.
- Consider only outputs with active music sessions first and then all
outputs
- Reevaluate effect attachment systematically on music playback start/stop
and when outputs are opened/closed
- Use the same logic every where.
Bug: 33397379
commit: 36829f97c0c547d9c6c918e248071cc616818616
Change-Id: Iabc23bc8a24f36b68942b7f32749c535781497b4
4. audio policy: disable concurrent capture
Disable concurrent capture until the corresponding UI is available.
Restore preemption for HOTWORD audio source.
Bug:36891272
commit: 74708e7c4622d65a7798d5fa9347c55583d347fe
Change-Id: I1b6c32c2a76ae0e004e14e46fedd596a8844c0d4
Change-Id: I1d59377e9892350b8f6a33de5640a90c4b6cdc5f
Conflicts:
policy_hal/AudioPolicyManager.cpp
Conflicts:
policy_hal/AudioPolicyManager.cpp
|
|
|
|
| |
Change-Id: I2ad929d8b4c048501e50187e6f74a201761cf0b5
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During VoIP use audio path scenario, ULL usecase is
used for VoIP rx path due to AUDIO_OUTPUT_FLAG_RAW is
set. And primary output is on standby status. Due to
it, VoIP tx device cannot get proper device.
Fix this by setting primary outupt flag when VoIP RX
use audio path.
CRs-Fixed: 2051669
Change-Id: I878486d8e0805d9fccae524c5fc2fc6240dfe8f9
|
|
|
|
|
|
|
|
|
|
|
| |
Fallback to non-direct output when direct/track pcm is already
active and clients are not same, since reusing output between
different clients can lead to continuous teardown of sessions
by one client to another.
Force deep-buffer when falling back from direct pcm to non-direct
outputs.
Change-Id: I383b8d526c8a87abe771b3d9d94b2b7c6f7edb6a
|
|
|
|
|
|
|
|
|
| |
Vendor created android system properties are required to have
vendor/qti prefixes. Update vendor specific audio system
properties used in policy HAL.
CRs-Fixed: 2034869
Change-Id: I2bbe9ff9d8576fc62886679bfc419411422a3d20
|
|
|
|
|
|
|
| |
Move audio policy from hardware audio to vendor
opensource audio project.
Change-Id: I9531d7be602a33b59ac2c9d217f671c50e7b919a
|
|
|