Marco Nelissen
e726680652
am 52e2b6f7: Merge "Update calls to IInterface::asBinder()"
...
* commit '52e2b6f79d44ff289c97653edea0548352c2f55b':
Update calls to IInterface::asBinder()
2014-11-17 18:24:54 +00:00
Marco Nelissen
97069dd4fd
Update calls to IInterface::asBinder()
...
to use the new static version.
Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
2014-11-17 10:05:31 -08:00
Marco Nelissen
dce97407dc
Update calls to IInterface::asBinder()
...
to use the new static version.
Change-Id: I88ee037c66aa254f466d3a51ddc358bd37cf44b5
2014-11-14 14:02:09 -08:00
Mike Lockwood
3733efc8c1
am b8cb45fd: am 01816640: am eb205b88: Merge "MTP: Update JNI for new packet getters" into lmp-mr1-dev
...
* commit 'b8cb45fddf5618ca0e8e9b36368a729785599e7c':
MTP: Update JNI for new packet getters
2014-11-14 00:44:51 +00:00
Mike Lockwood
b8cb45fddf
am 01816640: am eb205b88: Merge "MTP: Update JNI for new packet getters" into lmp-mr1-dev
...
* commit '0181664081db2149aa465332c33c5cb413a4348c':
MTP: Update JNI for new packet getters
2014-11-13 18:01:55 +00:00
Mike Lockwood
9c803fa526
MTP: Update JNI for new packet getters
...
Bug:18113092
Change-Id: I5d7473af1b57235fbc078c297a309e4a301c9fbd
2014-11-13 09:40:42 -08:00
Dariusz Iwanoczko
ed86e19af2
Race-condition in SoundPool during release
...
There is race between SoundPoolThread and SoundPool / AudioManager
threads during releasing SoundPool.
AudioManager deletes a global reference before setting SoundPool
callback to NULL. If, at that time, a call to the SoundPool::notify
fuction happens then mCallback is valid but mUserData is not.
The following log will show up to indicate the problem:
JNI ERROR (app bug): accessed deleted global reference 0xXXXXXXXX
This fix is to clear the SoundPool's callback before releasing global
reference.
Change-Id: I5e6d647edc0444340db879428048e2c0a068a8b4
2014-11-11 13:12:53 +01:00
Andreas Gampe
baa73b056c
am cba06c22: resolved conflicts for merge of 6957369d to lmp-mr1-dev-plus-aosp
...
* commit 'cba06c2272c8bce7d10b2a7ee762d12043f3252a':
Frameworks/base: Wall Werror in media/jni
2014-11-11 04:02:22 +00:00
Andreas Gampe
cba06c2272
resolved conflicts for merge of 6957369d to lmp-mr1-dev-plus-aosp
...
Change-Id: Ie3bd0e24c69c0c7ae500b8eb4a1198650e993a19
2014-11-10 19:41:52 -08:00
Andreas Gampe
5a15d0d31b
Frameworks/base: Wall Werror in media/jni
...
Turn on -Wall -Werror in media/jni. Fix warnings.
Change-Id: I9da54ad379d8172ee535b52ee2b0637a2533f4e3
2014-11-10 18:19:40 -08:00
Dan Stoza
ceb5bdf42a
am 1437146a: am bb8a87f4: am d17793ea: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
...
* commit '1437146a3e63cd932a29116f032847d4585cb4cd':
Add a BufferItem parameter to onFrameAvailable
2014-11-07 20:03:49 +00:00
Dan Stoza
d17793ea2a
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
2014-11-07 19:44:34 +00:00
Jeff Tinker
9e522f3432
am 0d8d6ba8: am e7f66ada: am fc4e6f70: Merge "Add missing secure stop methods" into lmp-mr1-dev
...
* commit '0d8d6ba807078b70eae53e676443ef5ac7598560':
Add missing secure stop methods
2014-11-06 02:54:57 +00:00
Jeff Tinker
fc4e6f70f6
Merge "Add missing secure stop methods" into lmp-mr1-dev
2014-11-06 02:33:23 +00:00
Eric Laurent
bf5d162b91
am c3a61d98: am 29218f24: am e43bf082: Merge "AudioEffect JNI: use new max preprocessing constant" into lmp-mr1-dev
...
* commit 'c3a61d98387507ed0c24e54f9e056014e23d9d7a':
AudioEffect JNI: use new max preprocessing constant
2014-11-05 22:15:50 +00:00
Eric Laurent
b27a8a5bcc
AudioEffect JNI: use new max preprocessing constant
...
Bug: 18226810.
Change-Id: Ica5677da247268306b34dfce38f25394586817fd
2014-11-05 12:20:49 -08:00
Dan Stoza
2c34b5e813
Add a BufferItem parameter to onFrameAvailable
...
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
2014-11-04 11:36:33 -08:00
Jeff Tinker
1b51c72e91
Add missing secure stop methods
...
b/18053197
b/18076411
Change-Id: Ide9ecab2fd2021f3544491f23ae84c394c48ac14
2014-11-03 16:22:04 -08:00
Hochi Huang
cdf4a6244d
am 2a4425c1: am 35658cc4: am 4a7873f1: [FM]Fix FM App record fail Buganizer ID: 17975676 automerge: 8659bf1
...
* commit '2a4425c1725e483a60cc7dec833176873148c1d4':
[FM]Fix FM App record fail Buganizer ID: 17975676
2014-10-24 03:47:23 +00:00
Hochi Huang
35658cc42e
am 4a7873f1: [FM]Fix FM App record fail Buganizer ID: 17975676
...
* commit '4a7873f19afecb01ef06b0f3dc4dde0a13a17ab3':
[FM]Fix FM App record fail Buganizer ID: 17975676
2014-10-24 03:17:24 +00:00
Hochi Huang
4a7873f19a
[FM]Fix FM App record fail Buganizer ID: 17975676
...
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
Review: https://partner-android-review.git.corp.google.com/#/c/185235
Change-Id: I024db429b8ff56851c814857691b06ea5e69198a
2014-10-24 00:47:54 +00:00
Mike Lockwood
c6d0006245
am 5d4a1aae: am 2039b757: am 63ffd78a: MtpDatabase: Increase size of string buffer in JNI code
...
* commit '5d4a1aaed561dbbe87b05bc40ddb5dc2df46e699':
MtpDatabase: Increase size of string buffer in JNI code
2014-10-03 18:12:11 +00:00
Mike Lockwood
63ffd78aaa
MtpDatabase: Increase size of string buffer in JNI code
...
Fixes problems handling files that have full path length > 255 characters
Bug: 17383223
Change-Id: I2a1ebedee8dd86b3060f14c2d1af636fc9bc95cb
2014-10-03 17:54:18 +00:00
Ruben Brunk
b73767f3bb
am e6098661: am df261085: am 4d9face6: am 7432b884: am b3c802f2: Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
...
* commit 'e60986611fe891b47f72b47873ed87deb2e3afc2':
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
2014-10-01 17:18:38 +00:00
Ruben Brunk
0c79884076
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
...
Bug: 17675571
- All of the mistakes were made. Unmake them.
Change-Id: I23ff7a553347d4d9588c728219f4bf0604ba2e38
2014-09-30 13:54:20 -07:00
Ruben Brunk
48ca9cd9f8
am 6c583ef7: am c6c331ee: am 174355d6: am d0f17b98: am 6f34ad71: Merge "camera2: Fix native ImageReader test segfaults." into lmp-dev
...
* commit '6c583ef7ea34a2ac2eb490237908587bcbddb0e3':
camera2: Fix native ImageReader test segfaults.
2014-09-29 19:47:25 +00:00
Ruben Brunk
31798f3318
camera2: Fix native ImageReader test segfaults.
...
Bug: 17675571
- Check for JPEG footer in correct location from ImageReader
when using the RGBA override.
- Add additional error checks in produceFrame method.
- Avoid allocating extra space for jpeg buffers due to
incorrect width calculations.
Change-Id: I926f37e8b3e5c4bad24c16dcee48d52adb1706dd
2014-09-26 18:00:21 -07:00
Ruben Brunk
4656e6bb16
am 043d6fff: am 01105fee: am ae7ff48d: am 6a7dcedf: am 8acfdc7b: Merge "camera2: Hide JPEGs in RGBA gralloc buffers." into lmp-dev
...
* commit '043d6fffee2b2fe3aa8821914ba761eae964cf2e':
camera2: Hide JPEGs in RGBA gralloc buffers.
2014-09-25 10:35:00 +00:00
Ruben Brunk
0fd198ad89
camera2: Hide JPEGs in RGBA gralloc buffers.
...
Bug: 17379185
- WAR for SW Write usage flags being unavailable on
certain devices for JPEG (blob) format buffers.
Change-Id: Ic7299785b743f35dd47264b9d1cea01a88b71d91
2014-09-24 10:43:12 -07:00
Eric Laurent
c206aa58fe
am 7a3c88e0: am 6bc4e4b4: am 0b381432: Merge "AudioEffect JNI: fix queryEffects()" into lmp-dev
...
* commit '7a3c88e004b664d3bb20b56b029d29d629541399':
AudioEffect JNI: fix queryEffects()
2014-09-11 17:25:51 +00:00
Eric Laurent
4fc28d78cb
AudioEffect JNI: fix queryEffects()
...
Some effects supported by the platform may not be
returned to JAVA layer because not visible by applications.
The size of the array of effect descriptors
returned must be adjusted so that no entry in the array is null.
Bug: 17453177.
Change-Id: I3baaacf24bcb0fa45ce50461a1ac3d6eaa67f4b9
2014-09-10 15:05:03 -07:00
Jeff Tinker
02fe289de9
am 52b59f6c: am 6a884aad: am 50bb6215: Merge "Add support for max-res decode" into lmp-dev
...
* commit '52b59f6cb7155bf21abff70d25f0751a3f101830':
Add support for max-res decode
2014-09-10 01:10:08 +00:00
Jeff Tinker
b00ab012bf
Merge "Add support for max-res decode" into lmp-dev
2014-09-09 23:56:11 +00:00
Jeff Tinker
44e21a21b0
am 576dc318: am d83b4f16: am b8ccb705: Merge "Fix exception message string formatting in MediaDrm" into lmp-dev
...
* commit '576dc3188364d54137151913230b01ab18af2324':
Fix exception message string formatting in MediaDrm
2014-08-29 19:13:55 +00:00
Jeff Tinker
336d3eabc0
Add support for max-res decode
...
bug: 16034599
Change-Id: I12124aef03518600a27de45bae24eef9c9735be5
2014-08-29 01:42:48 +00:00
Jeff Tinker
2979986b57
Fix exception message string formatting in MediaDrm
...
bug: 17281760
Change-Id: If527234d2efb1507eca8703027e3cbdd53961b9e
2014-08-27 11:05:13 -07:00
Lajos Molnar
f642d52941
am e3cd62bf: am 4f1245eb: am 266abcaf: Merge "media: release allocated strings on error" into lmp-dev
...
* commit 'e3cd62bf63706c663f85f31b7925efd85a41efc3':
media: release allocated strings on error
2014-08-14 18:10:20 +00:00
Mike Reed
021a3443c6
SkBitmap::Config is deprecated
...
Change-Id: I0bbd929074474ae3c1d497c2f645417e4876d9e3
2014-08-14 09:57:06 -04:00
Lajos Molnar
018b70f5de
media: release allocated strings on error
...
Bug: 11990470
Change-Id: I74ffbfed8eb322d1b994fff99ed2470358bccf83
2014-08-12 11:38:23 -07:00
Andy Hung
5f9aa0bcea
Update exception handling for MediaCodec
...
Throw MediaCodec.CodecException (versus IllegalStateException).
Print out status error codes as found (See MediaError.h for details).
Update error code mapping to CryptoException.
Bug: 12034929
Bug: 13976475
Change-Id: I23b951cb06807413f087c238a1d3526659f06e7b
2014-08-08 16:15:07 +00:00
Lajos Molnar
cd5e3f95bf
media: update to reworked media codec list/info
...
Bug: 11990470
Change-Id: I884d656f6a325f7074a89d09601ad19363daa8a0
2014-08-07 17:27:20 -07:00
Jeff Tinker
6bf5b600d6
Allow device to be unprovisioned
...
bug: 12247651
Change-Id: Ie2e77566d2c65925091296da5bcbec327985c946
2014-08-01 17:16:01 +00:00
Robert Shih
05ad96e9a3
Merge "MediaPlayer: scanInternalSubtitleTracks in synchronous prepare" into lmp-dev
2014-07-28 22:45:16 +00:00
Robert Shih
c42a96dba4
MediaPlayer: scanInternalSubtitleTracks in synchronous prepare
...
Bug: 16385674
Change-Id: I56d205ad2fe33bd64ea2251440c88fd4ecfa13ad
2014-07-29 11:55:46 -07:00
Zhijun He
4c4064fa66
ImageFormat: update raw10 spec to allow row padding
...
Change-Id: Id191b92037487f16538d111fc6171d3be9a02acf
2014-07-28 18:42:10 +00:00
Lajos Molnar
7de28d34f1
Implement MediaCodec.getImage methods
...
Bug: 10706245
Change-Id: Icbac5538a27ffdb53d974e2e1f8dc5afe02fb391
2014-07-25 19:30:23 -07:00
Zhijun He
f7badff8bb
CamcorderProfiles: add high speed profile constants
...
Change-Id: I8f783466f8c2560820db14488acc1a309d27ab0f
2014-07-25 23:59:06 +00:00
Jean-Michel Trivi
55a30c41b6
AudioAttributes for SoundPool
...
Add support for building a SoundPool instance and specify
the AudioAttributes.
Remove SRC quality which was never implemented, while leaving
room for supporting it later through the Builder pattern.
Remove stream types.
Update AudioService's use of SoundPool to the new scheme.
Change-Id: Ie51e4008684e5ba25f9b7368098e4f20266a15c7
2014-07-20 18:12:00 -07:00
Lajos Molnar
b58dc31322
Extend MediaCodecInfo to describe usable codec limits and features
...
Bug: 11990470
Bug: 12065651
Bug: 16131974
Change-Id: I841b8507e823f1ddf14754e34029a9bed4f402d8
2014-07-19 02:14:00 -07:00
Lajos Molnar
1e6e8018a4
MediaCodec: add reset() + documentation fixes
...
Bug: 12034929
Change-Id: I38f89a2e4c41e0ceb3fdae4522b9c04f6c43a4f1
2014-07-15 18:14:04 -07:00