libhidltransport symbols are being moved into libhidlbase in order to
optimize linking/memory usage. libhidltransport will no longer be
required in the future (however removing references to it will come
separately).
Bug: 134961554
Test: boot
Change-Id: Ie8b9b03a53ae1f5672ce2565550768b4bcd321ee
Added mDisconnectLock to seperate it from mLock, used for protecting
mDataSource, mHttpSource and mDisconnected in order that disconnect()
won't be blocked by mLock.
Bug: 133900877
Test: android.media.cts.MediaPlayerFlakyNetworkTest
Change-Id: I15693c0a61f898aad4035d0fa55c8af25de4fc96
am: 537bb11d8d -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 9a44849c88 is in history
Change-Id: I7d942708538a3dff8a677b823a4dd8aa7dbad56c
am: 29b1c433c2 -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 9a44849c88 is in history
Change-Id: I89accfeea89f68d2b97da2dbe7e3a9109b53deff
am: 66171de55c -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 9a44849c88 is in history
Change-Id: Ief599a58c9b329f8e5c215a79f4d3b2b3a55a4b2
am: c49dabdd95 -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 9a44849c88 is in history
Change-Id: Ic042305b658414d72a4c1c8060a982729a972c81
am: 7242dcd767 -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 9a44849c88 is in history
Change-Id: I5e9ff2dbcc3c0117d5c0455854d64d7933b0a7fe
am: 4d5d3df900 -s ours
am skip reason: change_id I33f476d94baec2feffc7bcccd0ad0481b8452518 with SHA1 82cb46d0d5 is in history
Change-Id: I11568f0a6408e07b831193c67e17e2e27d5b0814
In ACELP_4t64_fx, when iterating over ind array, check index against
array size to prevent OOB write, log an error if such an access
was about to happen.
Bug 132647222
Test: atest EncoderTest#testAMRWBEncoders
Merged-in: I33f476d94baec2feffc7bcccd0ad0481b8452518
Change-Id: I814a05217f20ea3b941deddb70edb31cd342de6b
Since vendor native clients don't have package names, appOps reporting
would be inaccurate for them. In order to avoid that, we stop appOps
reporting for vendor clients.
Bug: 132718220
Test: AImageReaderVendorTest, use hal client for cameraserver, GCA(sanity)
Change-Id: Ie6f80e8ab530aa755df57f8d25d9f1a15a20d7f7
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Starting from HAL device version 3.5, the format and dataSpace for
IMPLEMENTATION_DEFINED pixel format uses original instead of overridden
values.
This makes HAL interface behavior consistent in that HAL doesn't need to
distinguish between first-time configureStreams and subsequent
reconfigure.
Test: Camera CTS and partner testing
Bug: 131864007
Change-Id: Ie5fdc7e9b6c11c1c96a069262b9458455855bcef
In ACELP_4t64_fx, when iterating over ind array, check index against
array size to prevent OOB write, log an error if such an access
was about to happen.
Bug 132647222
Test: atest EncoderTest#testAMRWBEncoders
Merged-in: I33f476d94baec2feffc7bcccd0ad0481b8452518
Change-Id: I814a05217f20ea3b941deddb70edb31cd342de6b
Output buffer allocated was not large enough to hold higher bitrate
outputs for lower sample rates (eg: 512kbps at 8000 Hz)
Also pass remaining bytes in the allocated output buffer correctly
to encoder.
Bug: 134087860
Test: Apply CTS cl mentioned in the bug
Test: atest android.media.cts.EncoderTest#testOpusEncoders
Change-Id: I01a75cb76d15b733690e35fa107ec973668d19bb
In ACELP_4t64_fx, when iterating over ind array, check index against
array size to prevent OOB write, log an error if such an access
was about to happen.
Bug: 132647222
Test: atest EncoderTest#testAMRWBEncoders
Change-Id: I33f476d94baec2feffc7bcccd0ad0481b8452518
(cherry picked from commit 82cb46d0d5)
Merged-in: I33f476d94baec2feffc7bcccd0ad0481b8452518
When a mov file includes alac audio, the alac codec
info is included under bellow box:
stsd->alac->wave->alac
The .mov cannot work with the original code for alac.
So we need to handle it by judging if it is a mov file.
Bug: 134102659
Test: Play a mov video with alac audio and check if it
can play normally.
Change-Id: Ibadfbd5b4036b220bd6ebf431fd53e4d1a69be8b