| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
Android 6.0.1 Release 72 (M4B30X)
Change-Id: I617426a3fbf7a8d013c5be838ad4c80a00b61a5f
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 30148546
Change-Id: I082f535a853c96571887eeea37c6d41ecee7d8c0
(cherry picked from commit bb00d8f139ff51336ab3c810d35685003949bcf8)
(cherry picked from commit ef0c91518446e65533ca8bab6726a845f27c73fd)
|
| |
| |
| |
| |
| |
| | |
Fix merge conflict to mnc-mr3-release
Bug: 30204301
Change-Id: Ib9c3ee1c2f23c96f8f7092dd9e146bc453d7a290
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
*This fixes the torch light for cameras with hal 1
*This fix works on the htc m7ul
*Fixed line length
*Fixed unused parameter names
Change-Id: I89c6112546e36dbcca099f4d5cd70371b2c5340a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Process them irrespective of whether the track is invalid.
Ignoring to do so may lead to glitches/loud bursts in audio when a new
track reuses the same output.
CRs-Fixed: 1002448
Change-Id: I9afbdd221db3a7311eb0ec8bb75852cf5409084e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On invalidating an offload track, the IAudioTrack instance is
destroyed and the offload output is released. If it so happens
that APM::getOutputForAttr for the new IAudioTrack is called before
OffloadThread::prepareTracks_l checks and removes an invalid track,
the same output can get reused.
The side effect of this is data present in HAL and below from before the
invalidate will be rendered before data from the new seek position
is rendered. This is unexpected.
To fix this, set hint to issue flush when an offload track is invalidated.
Bug: 28566885
CRs-Fixed: 1002438
Change-Id: Ib6c38a3abb600598b87591bac90d03b7150d5216
|
| |
| |
| |
| |
| | |
Bug: 25020816
Change-Id: Ife4da9fc3000e645f654f2eb28b37ad3a89d61f9
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Android 6.0.1 Release 61 (MOB30Z)
Change-Id: Ic86e42d5fb8f81fe5c4f58d2e76852829c609760
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Subtract address of a random static object from pointers being routed
through app process.
Bug: 28466701
Change-Id: Idcbfe81e9507433769672f3dc6d67db5eeed4e04
|
| |/
| |
| |
| |
| | |
Bug: 29251553
Change-Id: I1bcc1281f1f0542bb645f6358ce31631f2a8ffbf
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* We're really only interested in music streams right now, but
events are being generated for all streams (system sounds, etc).
* Constrain for now, in the future we will filter based on client
registrations.
Change-Id: Ic445052028c454eed146addebcdb28c4b26c4f20
|
| |
| |
| |
| | |
Change-Id: I13f3ba8fc9caaeee21597a2405a8c3629e985502
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using the configurable policy engine, the audiopolicy makefile
implicitly declares dependencies on the configuration files. However,
the example folder already contains the example files which we wan't to
override.
This patch removes the example from the makefile inclusion path so that
we can declare it on a per-device basis without getting errored out by
duplicate module names.
Change-Id: Ie47ebff6b13606c93630c017252ebaa204203a76
|
| |
| |
| |
| |
| |
| |
| | |
Reverting the Temp change.
This reverts commit f300e17bf3451bf821ccc48c45b243c84ebaff7f.
Change-Id: Ib11e38eb8edd7523cb6cdb21caa511152ee62e45
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We seem to get an improper offset when getting the value from the DSP
(offset 100, data size 1), when this happens, return a new phrase event
with valid extras which are initialized to some default values.
Change-Id: Ie041f78fec6bdbcd82286b54a7b7fb0c98c740f5
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Ticket: CYNGNOS-2373
Android 6.0.1 release 43 (MOB30J)
Change-Id: Ie0ab546349bd8a7eed51c839fba28b809e433fd4
|
| |
| |
| |
| |
| |
| |
| |
| | |
Validate template ID before creating a default request.
Bug: 26866110
Bug: 27568958
Change-Id: Ifda457024f1d5c2b1382f189c1a8d5fda852d30d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* This patch introduces a new API which allows applications to
query the state of the audio effects system, and receive
callbacks with the necessary information to attach effects
to any stream.
* In the future, this may come as part of the AudioPort system,
but since that's an active area of development by Google, we
will dodge it for now.
* The policy now simply keeps a refcounted list of objects which
hold various bits of stream metadata. Callbacks are sent on
stream open/close to applications which might be listening
for them.
Change-Id: I2d554d36e1378f4eb7b276010a3bfe8345c22ecd
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* This has been rearchitected in a better way, as this
feature turns out to be more difficult than it seems.
* Reverting all of this stuff and rolling it into a single commit.
This reverts commit c27a16c33c78a36482336a16199b1b8be794cea4.
This reverts commit 32ef0556ae58ff6b7c6fe6fb0a17d3ff7f01de31.
This reverts commit 489c9fb62f02e1d23d6d6c89b22f7d19c596e65e.
This reverts commit a4123803d0a0e9e0c69faa4207d357cc74a65d58.
This reverts commit e13b58b988ab642d4ae5ca6d0a89013510714956.
This reverts commit 47f8c7303c9e2054f1492b02b6c7472385c52dc9.
This reverts commit 0479d7c79a7fd6f112e8dc7e45c009cf6602dbaa.
Change-Id: Iaed9f198d806aa414c95960713e8187c98db248b
|
| |
| |
| |
| | |
Change-Id: Ifba4025532debc50c7931d08a9bcd1593d9b1721
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Since we're not using the policy directly to auto-attach,
let's clean it up and remove the unused stuff.
* Also fixes notifications for session release.
This reverts commit 47f8c7303c9e2054f1492b02b6c7472385c52dc9.
Change-Id: Ibe65f427773c6ef012dde4f289d10e4089c094ea
|
| |
| |
| |
| | |
Change-Id: Id6f24195721a48dc5a0d3a7ff7fbee2bd8614128
|
| |
| |
| |
| |
| |
| | |
Fix compilation issues that appear when enabling LOG_NDEBUG.
Change-Id: I87e9e5ac66157759dd6f521fab0dd346089a011a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ZSL mode is not working on HAL3 due to camera
backend failures. Run HAL3 forcefully in Non zsl
mode till the problem in camera backend fixed.
This change will be reverted once the backend issue
is fixed.
CRs-Fixed: 956182
Change-Id: I1dfcda8eb0fe5cd2d9be6cb2e103f5fd84955ecb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Configure QTI resampler as 32 bit input format to avoid
losing precision.
audioflinger: add channel count check to use QTI resampler
Change-Id: I8f76dd82b72a0dd8b77343e77e0d0545e1be2114
CRs-Fixed: 940287
Change-Id: I7e1b8582cd6bb106ab0bd25f9bc1bd9e4092318b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Current makefile compiles the resampler only for 64 bit environment.
Allow compilation for 32 bit environment as well.
CRs-Fixed: 735776
Change-Id: I626725551af73fc5ea98a7dbf87cacea9dbbc0ef
|
| |
| |
| |
| |
| |
| |
| | |
Return on MTK hardware, the HAL does this internally and duplicating it
here causes an infinite loop.
Change-Id: I5bdb925ddb49980747b58dfae4543f812cef4c7d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* The edge cases, ZOMG!
* Instead of relying on effects to be automatically attached, let's
just always notify userspace and send a bit more information. This
lets the application decide if effects should be attached rather
than relying on a hard-coded configuration file.
* Perform the setup in getOutputForAttr, but do it on the command
thread so we don't block the client.
OPO-593
Change-Id: I3900b349f2e895d51fa3a3dcc2de0c4bdf6dbc08
|
| |
| |
| |
| |
| |
| |
| | |
* Because we get a hellish firestorm during offload fallback, and
our effects library really dislikes this.
Change-Id: I22adb55d04502eedf03ce22f35f8b9f61de1c7b0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Default standby delay for legacy direct is too aggressive for track
offloaded use case. Using offload standby delay instead, which allows
sufficient time for track transition before standby the output.
CRs-Fixed: 982822
Change-Id: Ifd0e39c5b3fe4a4af9f444dbbad21ef1e1a5edfa
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay standby for offload track use case is not suitable for direct
track in PCM format, because player torn down doesn't necessarily happen.
To avoid AP looping infinitely, allow standby right after direct track
in PCM format is paused.
CRs-Fixed: 986784
Change-Id: Id0026ac9891a12acc4affa446b2bc841559fcc28
|
| |
| |
| |
| |
| |
| |
| |
| | |
Clear the mMixerBuffer if frame is not ready before the FastMixer
starts processing. Otherwise it might result in large glitches on
output device due to junk data present in the mixbuffer.
Change-Id: I9f025234d4ac100f85d2ec67c06a8df4195bea98
|
| |
| |
| |
| |
| |
| |
| | |
The cameraId should be of type int, instead of camera_device_status_t.
Change-Id: I26d587bb74f7100028f09928984c2e8dad6eebef
Signed-off-by: Bin Chen <chen_bin@projectara.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The camera service may fail to release the camera hardware instance
in some use cases.
When an application unlocked the camera before disconnect, disconnect
from the application will not be accepted. And disconnect from media
server will not be accepted also. Then, the camera hardware instance
will not be released and a resource leak will be caused.
Allow media server to disconnect the camera at all times even if
the camera is unlocked.
Change-Id: Icd5ed81bed242fa5947aa40ca85e4ca7fa7286e7
|
| |
| |
| |
| |
| |
| | |
This is moved to custom policy manager in HAL sources.
Change-Id: I716580f7d3399f1628c26bd3b79bd6c6a52fbbf6
|
|\ \
| | |
| | |
| | |
| | |
| | | |
https://android.googlesource.com/platform/frameworks/av into cm-13.0
Android 6.0.1 release 22
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: fb5043a703
* commit 'fb5043a703f596b7393c1e24ca4b321b0f697293':
Camera: Disallow dumping clients directly
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 795243686f
* commit '795243686fe2e1c352732b47bcdb6ea9e9e7e39e':
Camera: Disallow dumping clients directly
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: c400396525
* commit 'c4003965258404a19b99280ac0f475e2f290bf27':
Camera: Disallow dumping clients directly
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Camera service dumps should only be initiated through
ICameraService::dump.
Bug: 26265403
Change-Id: If3ca4718ed74bf33ad8a416192689203029e2803
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 6dd6c54651
* commit '6dd6c546513aa18dc1d7fba0f72d670edce34f77':
Camera: set mNumberOfNormalCameras correctly
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Need to set the number correctly when a camera HAL is not present.
Bug: 25951590
Change-Id: I666acf7a2a523c51f2c2ae88ff690ca9dccda08c
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make sure that standby delay is never less than the audio flinger
default on A2DP output.
Due to variable latency and amount of buffering in A2DP sinks,
an agressive standby delay could lead to truncated audio.
Bug: 25830539.
Change-Id: I38be37ad346f5f4bf8303d3db4e3e911bf637968
(cherry picked from commit 42537be61479e59c4718e1304364551c1454f63c)
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
to IResourceManagerClient." into mnc-dr-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
IResourceManagerClient.
Bug: 25166048
Change-Id: I35f9917079c4b783a7cf4cef94b3c7112760c0b8
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
operations""" into mnc-dev
am: 681bc45d25
* commit '681bc45d2592ed447f70d1dd14e92ad584499c9d':
Revert "Revert "audio policy: bind setMode() and setPhoneState() operations""
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 26ce11a1dd2a9b70865aec1b42c365dd19172511.
Change-Id: I0affb97e7f2eb541ebd6f26c33e8f32261e9e221
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
into mnc-dev
am: 6919fbe40d
* commit '6919fbe40d92af432d3b72ad36e0697654f8146c':
Revert "Revert "AudioPolicyService: fix race in AudioCommandThread""
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 75c82b50951b21190f710a638c6a26ff7ee6d86d.
Change-Id: I1b1f147bedf205636ec20b84faf6ef597a781c0d
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: cda4871486
* commit 'cda487148602325701ffd7f595ca096a182f380c':
Revert "AudioPolicyService: fix race in AudioCommandThread"
|