| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30204103
Change-Id: Ie0dd3568a375f1e9fed8615ad3d85184bcc99028
(cherry picked from commit ee0a0e39acdcf8f97e0d6945c31ff36a06a36e9d)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Validate lengths on strings in ID3 tags, particularly around 0.
Also added code to handle cases when we can't get memory for
copies of strings we want to extract from these tags.
Affects L/M/N/master, same patch for all of them.
Bug: 30744884
Change-Id: I2675a817a39f0927ec1f7e9f9c09f2e61020311e
Test: play mp3 file which caused a <0 length.
(cherry picked from commit d23c01546c4f82840a01a380def76ab6cae5d43f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also prevent overflow in SoftMPEG4 and division by zero in SoftMPEG4Encoder.
Bug: 30033990
Change-Id: I7701f5fc54c2670587d122330e5dc851f64ed3c2
(cherry picked from commit 695123195034402ca76169b195069c28c30342d3)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix merge conflict to mnc-mr3-release
Bug: 30204301
Change-Id: Ib9c3ee1c2f23c96f8f7092dd9e146bc453d7a290
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30103394
Change-Id: If449d3e30a0bf2ebea5317f41813bfed094f7408
(cherry picked from commit 2c74a3cd5d1d66b9a35424b9c4443dafa6db5bef)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Impose a restriction of 200MiB for tables in stsc, stts, ctts and stss
boxes. Also change mTimeToSample from Vector to array.
Bug: 29367429
Change-Id: I953bea9fe0590268cf27376740f582dc88563d42
Merge conflict resolution of ag/1170200 to mnc-mr2-release
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421804
Change-Id: Iba1011e9af942a6dff7f659af769a51e3f5ba66f
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I48ba34b3df9c9a896d4b18c3f48e41744b7dab54
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I96a9c437eec53a285ac96794cc1ad0c8954b27e0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29250543
Change-Id: I3518416e89ed901021970958fb6005fd69129f7c
(cherry picked from commit 1d3f4278b2666d1a145af2f54782c993aa07d1d9)
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9bb8c659d3fc97a8e748451d82d0f3448faa242b
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421675
Change-Id: I25d4cf54a5df22c2130c37e95c7c7f75063111f3
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421811
Change-Id: I0a73ba12bae4122f1d89fc92e5ea4f6a96cd1ed1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
change unbound sprintf() to snprintf() so network-provided values
can't overflow the buffers.
Applicable to all K/L/M/N branches.
Bug: 25747670
Change-Id: Id6a5120c2d08a6fbbd47deffb680ecf82015f4f6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Additionally, remove use of variable length array which is
non-standard in C++.
Bug: 29161888
Change-Id: Ifdc3e7435f2225214c053b13f3bfe71c7d0ff506
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29422022
Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
*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
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Android 6.0.1 release 66
Change-Id: I1d3eb6b66b7482149fe93647c278065fa46dc518
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30103394
Change-Id: If449d3e30a0bf2ebea5317f41813bfed094f7408
(cherry picked from commit 2c74a3cd5d1d66b9a35424b9c4443dafa6db5bef)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421804
Change-Id: Iba1011e9af942a6dff7f659af769a51e3f5ba66f
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I48ba34b3df9c9a896d4b18c3f48e41744b7dab54
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I96a9c437eec53a285ac96794cc1ad0c8954b27e0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29250543
Change-Id: I3518416e89ed901021970958fb6005fd69129f7c
(cherry picked from commit 1d3f4278b2666d1a145af2f54782c993aa07d1d9)
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9bb8c659d3fc97a8e748451d82d0f3448faa242b
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421675
Change-Id: I25d4cf54a5df22c2130c37e95c7c7f75063111f3
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29421811
Change-Id: I0a73ba12bae4122f1d89fc92e5ea4f6a96cd1ed1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
change unbound sprintf() to snprintf() so network-provided values
can't overflow the buffers.
Applicable to all K/L/M/N branches.
Bug: 25747670
Change-Id: Id6a5120c2d08a6fbbd47deffb680ecf82015f4f6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Additionally, remove use of variable length array which is
non-standard in C++.
Bug: 29161888
Change-Id: Ifdc3e7435f2225214c053b13f3bfe71c7d0ff506
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29422022
Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Impose a restriction of 200MiB for tables in stsc, stts, ctts and stss
boxes. Also change mTimeToSample from Vector to array.
Bug: 29367429
Change-Id: I953bea9fe0590268cf27376740f582dc88563d42
Merge conflict resolution of ag/1170200 to mnc-mr2-release
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For mediatek video codecs, validate that the current cropped rectangle
is valid and use the full frame size otherwise. This fixes a bug where
format changes in the same native window would preserve the previous
cropping and cause most of the image to be off-screen.
Change-Id: If56ca11453f5d2e04a4138b2efe28203f30ba569
Ticket: PORRIDGE-440
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* The hardware is freezing when used for certain media types. Disable
it until the issue is understood.
Change-Id: Iaec2420b4f8d3ceacf2c6f72ab14db424092c96b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Apparently there are a number of people and/or tools that name their
opus coded audio in ogg containers *.opus. Reflect that fact.
Change-Id: I0617a6d93fe793cdef06ffd4e334001e5f9b054e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Usage of boot-time as the timestamp reference isn't necessarily limited to
HAL3. A single property check for media.camera.ts.monotonic is enough to
cover all cases.
Change-Id: Ic56dbcc6ba32c25bccde6dd0bbf07d4c918af43e
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
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: 28816827
Change-Id: I3d5bad4a1ef96dec544b05bb31cc6f7109aae0a5
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29251553
Change-Id: I1bcc1281f1f0542bb645f6358ce31631f2a8ffbf
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Exit for error in allocation and unsupported resolutions
Bug: 28816956
Change-Id: Ieb830bedeb3a7431d1d21a024927df630f7eda1e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
because they may end up pointing to NULL after a NULL check was performed.
Bug: 28166152
Change-Id: Iab2ea30395b620628cc6f3d067dd4f6fcda824fe
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 29153599
Change-Id: I1cb81c054098b86cf24f024f8479909ca7bc85a6
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 28533562
Change-Id: I798ab24caa4c81f3ba564cad7c9ee019284fb702
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
Ticket: CYNGNOS-3020
Change-Id: I7e8d69c5f7041b66893ea643c4bc19c3b7bcdda5
|
| | |/
| | |
| | |
| | |
| | |
| | | |
Change-Id: I336cb003fb7f50fd7d95c30ca47e45530a7ad503
(cherry picked from commit 33f6da1092834f1e4be199cfa3b6310d66b521c0)
(cherry picked from commit bb3a0338b58fafb01ac5b34efc450b80747e71e4)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
track.
GenericSource: return error when no track exists.
SampleIterator: make sure mSamplesPerChunk is not zero before using it as divisor.
Bug: 21657957
Bug: 23705695
Bug: 22802344
Bug: 28799341
Change-Id: I7664992ade90b935d3f255dcd43ecc2898f30b04
(cherry picked from commit 0386c91b8a910a134e5898ffa924c1b6c7560b13)
|