| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
while (count--) causes an unsigned overflow when count = 0, refactor the
condition to avoid this.
Change-Id: I91a8c93e6be715d80070a4c94c1de712cb659265
|
|
|
|
|
|
|
| |
An unsigned overflow could occur in timestamp computation when
mTimestamp < mServer.
Change-Id: I9e01897478a6d481dd6fb7303d325617466497cf
|
|
|
|
|
|
|
|
| |
two uint32_t's were being used in a computation that could be negative,
cast to int32_t before the subtraction to prevent incorrect overflow
detection.
Change-Id: I33c5ef79a0ebbba055daa0ea041b42229d0c3152
|
|
|
|
|
|
|
|
| |
IMemory can return a NULL pointer or the destination buffer for readAt can
be NULL. Check for NULL and report error.
Change-Id: I9608de8ee3817a681c5c51ec7fdbd1bf207d9463
CRs-Fixed: 931744
|
|
|
|
|
|
| |
Add QHD & 2K profile for recorder
Change-Id: Ib74ca47fc330d02069a3ec010c6ce8431c50f0fe
|
|
|
|
|
|
|
| |
Underlying bug 25195759 is not yet fixed.
Bug: 24263351
Change-Id: I04b644246640054d38c8de79e0eb80fcbfef0e48
|
|\
| |
| |
| | |
git://codeaurora.org/platform/frameworks/av into cm-13.0
|
| |
| |
| |
| |
| |
| |
| |
| | |
Handle timestamp queries for Track offload session
cleanly
Change-Id: I93759c0e186e4286037837787057960ee52875d7
CRs-Fixed: 933740
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add 2 APIs (suspend/resume) in MediaPlayer
- API:suspend() will just pause the player and release all the decoders
to replace release() which will release the whole player
- API:resume() will just init the decoders again,
then start() will be called to restart streaming playback
- Add a check in AwesomePlayer::onVideoEvent()
to make sure the first seek operation will always seek to the next
i-frame
Change-Id: Ie4c82906a2a056378119921a656128ebdc1007c4
audio: Add pause support for hardware omx component
- ADSP doesn't enter sleep state after wma playback is paused
and power suspended.
- No support for NT session pause in case of hardware component.
NT session need to be paused to put ADSP into power collapse.
- Add support of pause in stagefright to ensure device enters
suspend mode. Also add intermediate states to avoid concurrency
issues between read and pause.
Change-Id: I41b946b8c8805e6ee303646b63513b5b16514ef6
libstagefright: Drain input buffer on resume
- Buffers returned from codec in paused state are not drained. When
codec is resumed these buffers are not drained until the next flush,
and may cause timed out issue.
- Added change to drain input buffers for sw decoders when resuming.
Change-Id: Ida2ab1d5dc3a1910accdd6fb89548262a912d8e7
CRs-Fixed: 569585, 574967
libstagefright: camcorder pause-resume implementation
- Add pause resume feature in camcorder app. So that
user can pause recording and resume later which results
in a single recorded clip.
Change-Id: Id19c45ae5bb85265aa4d5304b160ebf119d9575a
libstagefright: support pause/resume for timelapse recording
Modify the timestamp calculation mechanism in CameraSourceTimeLapse
in order to support pause/resume.
Change-Id: Icb02ea798b0b807ffb7ada2d1ef5b2414b74edfb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If setPeriodicCapture is called Visualizer will start a thread
and do periodic callbacks. When native_finalize is called the
reference to the class is deleted. If a callback happens after
this the reference is no longer valid and when used from the
callback method the vm crashes. With this patch the thread will
be terminated before deleting the reference.
Change-Id: I30f331437ddad05f8d52c244cdbecb1859a0abd2
|
| |
| |
| |
| |
| |
| |
| | |
fsanitize=integer adds unsigned checks to int32_t - uint32_t, force both
operands to int32_t to avoid such checks being added.
Change-Id: I76fce38f9636f5322ad95fdb81abb690503f4d08
|
| |
| |
| |
| |
| |
| |
| |
| | |
There is a check that results in a benign unsigned integer overflow.
This has been refactored to avoid the unsigned integer overflow.
Bug: 25327431
Change-Id: Ib112a7cd585c680f13e4bee3d7e9f45da7d66f1d
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Android 6.0.0 release 26
Change-Id: I8a57007bf6efcd8b95c3cebf5e0444345bdd4cda
|
| |\ \
| | | |
| | | |
| | | | |
mnc-dr-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Avoid a duplicate marker event race condition (1 in 30 or less)
by clearing marker reached in start() not stop().
Bug: 24497521
Change-Id: I9520d063c7d173d2e642174bf60a2bfe75edf085
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
allocateBuffer." into mnc-dev
* commit 'cb70fdbe9be14002a4303a93f07a13c508c00d89':
OMX: allow only secure codec to remotely call allocateBuffer.
|
| | |/ /
| | | |
| | | |
| | | |
| | | | |
Bug: 24310423
Change-Id: Iebcfc58b447f925ec2134898060af2ef227266a3
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The vector mIoDescriptors can be simultaneouly modified
and accessed by 2 threads. Acquire a lock while wrapping
the ioDescriptor in a sp<>
Bug: 24576810
Author: Haynes Mathew George <hgeorge@codeaurora.org>
Change-Id: I73c79ef8eca092b500a7ead3a5ebd0bcf75f9920
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ICrypto.cpp: ASLR bypass using DECRYPT IPC
bug: 24074485
Change-Id: I61cd77f0894140547f666a80526ebfe1ec3d2db6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
leak when writing them to Parcel.
Bug: 23953967
Change-Id: I3a1d0144ba3832649e322c197ff0f03305ee7829
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
writing them to Parcel.
Bug: 23953967
Change-Id: Ibbe841da149038675e9e8daea76c77558bc8564b
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Bug: 23905951
Bug: 23912202
Change-Id: Id13a9d3cae2c09e7381b841e67ddfb188274d74c
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c1e989e7: am 13ff64c2: Merge "Zero out return values in media binder calls" into klp-dev
* commit 'becceb1136e7eb01db7dd865cb98a57117212879':
Zero out return values in media binder calls
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
13ff64c2: Merge "Zero out return values in media binder calls" into klp-dev
* commit 'b57ffbb5486a58e0dbb03466e9f3a5e51d6cf0f3':
Zero out return values in media binder calls
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
values in media binder calls" into klp-dev
* commit 'b18c02761fe357599f9dad17355e38ec1d3226f2':
Zero out return values in media binder calls
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
calls" into klp-dev
* commit 'c1e989e76a461ea69e293839b3c29b634a462bd5':
Zero out return values in media binder calls
|
| | | | | |\ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '13ff64c2db84f4e7cac3396700e333b48c42c7ee':
Zero out return values in media binder calls
|
| | | | | | |\ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
More specifically when handling:
* GET_STREAM_VOLUME in IAudioPolicyService, and
* GET_CURRENT_POSITION and GET_DURATION in IMediaPlayer
This prevents leaking uninitialized values across binder in error cases.
Bug: 23756261
Change-Id: I0ffd900ab12b685b0611259ade4a3efb1ec5defe
|
| |\ \ \ \ \ \ \ \
| | |/ / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
3732a3ac: am ab203130: Merge "Make IEffect command more robust (second try)" into klp-dev
* commit '7734e37efe4ad47d91cdc5cfa6703d77a7a2ac0c':
Make IEffect command more robust (second try)
|
| | |\ \ \ \ \ \ \
| | | |/ / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
ab203130: Merge "Make IEffect command more robust (second try)" into klp-dev
* commit 'a1179678752e5755297a2bb66c730f4fd22856e3':
Make IEffect command more robust (second try)
|
| | | |\ \ \ \ \ \
| | | | |/ / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
command more robust (second try)" into klp-dev
* commit '5e193041ab8a541b478dd1b61c8c8cd24bca2ab5':
Make IEffect command more robust (second try)
|
| | | | |\ \ \ \ \
| | | | | |/ / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
try)" into klp-dev
* commit '3732a3acafa7eb621bc26cca3eb00150ea12d2e2':
Make IEffect command more robust (second try)
|
| | | | | |\ \ \ \
| | | | | | |/ / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'ab20313074bb109f29f677c3f09d5da1a48c94e7':
Make IEffect command more robust (second try)
|
| | | | | | |/ /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bug: 23540907
Change-Id: If30cfa535ad51521053706fc40fc98d893db5bc7
(cherry picked from commit 10e6660cc5da65b027c90489ba7ac55d1504e012)
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
audio binder calls" into lmp-mr1-dev
* commit '4abb48c30cd7821f3397ccd7de8deb3eb645b385':
Zero out return values in audio binder calls
|
| | |\ \ \ \ \ \
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
calls" into lmp-mr1-dev
* commit '898e857594b738f88be4de5addc8ca296dfabd74':
Zero out return values in audio binder calls
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
More specifically when handling GET_OUTPUT_FOR_ATTR in IAudioPolicyService.
This prevents leaking a uninitialized `output` across binder if
getOutputForAttr were to encounter errors.
Bug: 23756261
Change-Id: Ibff8a1249a4e8a3c89a33a540dda428b10d6ca82
|
| | |\ \ \ \ \ \
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
f394f121: Merge "libmedia: clear reply data for IEffect command" into klp-dev
* commit '6b203f06b969ba92181dbf781544b40cc2c41b7c':
libmedia: clear reply data for IEffect command
|
| | | |\ \ \ \ \
| | | | |/ / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
reply data for IEffect command" into klp-dev
* commit '0ea9e2761a04c4f592d854dbde2749395735fe56':
libmedia: clear reply data for IEffect command
|
| | | | |\ \ \ \
| | | | | |/ / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
command" into klp-dev
* commit 'fba72ab0fcf7298492dcd9e3045913435d30d3a9':
libmedia: clear reply data for IEffect command
|
| | | | | |\ \ \
| | | | | | |/ /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'f394f12167fddbc755855d06b615509517c99f14':
libmedia: clear reply data for IEffect command
|
| | | | | | |\ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bug: 23540907
Change-Id: Ib89afc6b273b0eb310bbc5a1bd92b1e3d407c249
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
bug: 23540426
Change-Id: Ifb12ac3350410a49ba7d81d1bde12822c3008cd5
|
| |\ \ \ \ \ \ \ \ \
| | | |/ / / / / / /
| | |/| | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
d437c777: am 0981df6e: IMediaPlayer.cpp: make sure structures are initialized to 0
* commit '608c349d611e03e0143c23c3f77ddc62b137e354':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | |\ \ \ \ \ \ \ \
| | | | |/ / / / / /
| | | |/| | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
0981df6e: IMediaPlayer.cpp: make sure structures are initialized to 0
* commit '4e861bf5d43eae00ae4cb8727c5a408c3728288b':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | |\ \ \ \ \ \ \
| | | | | |/ / / / /
| | | | |/| | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
sure structures are initialized to 0
* commit '762c713900bd764570c8fda4e238497200da66d6':
IMediaPlayer.cpp: make sure structures are initialized to 0
|