summaryrefslogtreecommitdiffstats
path: root/core/jni
Commit message (Collapse)AuthorAgeFilesLines
* jni: isLoggable calls __android_log_is_loggableMark Salyzyn2015-06-161-25/+1
| | | | | | | | | (cherry pick from commit 8685a4569d2bdcb1a7361e3d75f832cf3ba9d4b6) Will inherit additional functionality and cache improvements Bug: 17760225 Change-Id: Iab1816d37cc74343d83629d851a5784d4865ebb4
* Merge "Set scaling mode for legacy device surfaces." into mnc-devRuben Brunk2015-06-111-0/+20
|\
| * Set scaling mode for legacy device surfaces.Ruben Brunk2015-06-111-0/+20
| | | | | | | | | | Bug: 19371754 Change-Id: I0dd762e7b1485ba2d3bec9604407125c35ad1218
* | Merge "Workaround shader crash" into mnc-devChris Craik2015-06-111-1/+5
|\ \
| * | Workaround shader crashChris Craik2015-06-101-1/+5
| | | | | | | | | | | | | | | | | | bug:21706035 Change-Id: Ia1cd4824c742b2d6fc0feb2861ccfde0b6ac2189
* | | Merge "Add more specific consumer names for common buffer queue endpoints." ↵Eino-Ville Talvala2015-06-111-0/+11
|\ \ \ | |/ / |/| | | | | into mnc-dev
| * | Add more specific consumer names for common buffer queue endpoints.Eino-Ville Talvala2015-06-091-0/+11
| | | | | | | | | | | | Change-Id: I744bdcba6e60e5efd8865f725b09a9f791d76160
* | | Fix order of initialization arguments for obtained MotionEvents.Michael Wright2015-06-101-1/+1
|/ / | | | | | | | | Bug: 21330711 Change-Id: I308f7675d2730210228a0c01856616ce07d6374e
* | Fix Bitmap parceling through ashmem.Jeff Brown2015-06-064-86/+123
| | | | | | | | | | | | | | | | | | | | | | Fixes a bug where the Bitmap parceling code was unable to deal with sending bitmaps through Parcels that disallow file descriptors. Uses extended functionality of the Parcel blob interface to pass buffers around more efficiently while adapting to whether FDs are allowed. Bug: 21428802 Change-Id: If24926f4388d29aa2aac627000436beb015edcb9
* | Update the pdfium library - frameworkSvet Ganov2015-06-043-9/+10
| | | | | | | | Change-Id: I4880e9310c02c6e26d4560fb8515f2ce51c597f4
* | Merge "FastJNI for android.os.Trace" into mnc-devChris Craik2015-06-041-5/+5
|\ \
| * | FastJNI for android.os.TraceChris Craik2015-06-031-5/+5
| | | | | | | | | | | | | | | | | | bug:21566713 Change-Id: I129e405fe46268b9d40974d3a43f06a1faf4cadd
* | | Delete MAKE_ENUM_FLAGSChris Craik2015-06-031-1/+1
|/ / | | | | | | | | | | | | | | bug:21595702 Settle on namespace-enum for consistency. Also removes k prefix. Change-Id: Ib89f94cb9263de40b6e4636577dca4860867d0d8
* | Apply contextStart consistently in getRunAdvanceRaph Levien2015-06-031-1/+2
| | | | | | | | | | | | | | | | | | The contextStart needs to be applied to all offsets relative to the actual start of context. The code was missing "offset", which caused mischief especially in mixed LTR and RTL text. Bug: 21573666 Change-Id: I47a1b6cde5862442b9c7236ee72b2ceb0df9b2e9
* | Merge "Deprecations are warnings not errors" into mnc-devGlenn Kasten2015-05-281-1/+2
|\ \
| * | Deprecations are warnings not errorsGlenn Kasten2015-05-281-1/+2
| | | | | | | | | | | | Change-Id: Ib77f45fdc27ea53f1dd181f48c76810d03f8dcdb
* | | Merge "Add comments to indicate code review was done for bugs" into mnc-devGlenn Kasten2015-05-282-0/+2
|\ \ \
| * | | Add comments to indicate code review was done for bugsGlenn Kasten2015-05-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 20818955 Bug: 20890069 Change-Id: I243205b99b198eb1b5a1a027b27cbb7d5aaaa8db
* | | | Fix reconfigure & setPremult alpha handlingJohn Reck2015-05-272-7/+25
| |/ / |/| | | | | | | | | | | Bug: 20948129 Change-Id: Ifba35e5d87772a304fd3655e4a2363b293a6d8ac
* | | Merge "Don't count lowmem mappings as memory used." into mnc-devMartijn Coenen2015-05-261-2/+2
|\ \ \
| * | | Don't count lowmem mappings as memory used.Martijn Coenen2015-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | Bug: 21268095 Change-Id: I1b5f42752752584e947af710e53896203fbe477c
* | | | Merge "Improve reporting to apps of transaction too large failures." into ↵Dianne Hackborn2015-05-222-7/+10
|\ \ \ \ | | | | | | | | | | | | | | | mnc-dev
| * | | | Improve reporting to apps of transaction too large failures.Dianne Hackborn2015-05-212-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the app tried to do various things with too much data -- starting an activity, starting a service, sending a broadcast -- this would fairly silently fail with little indication of what was going on. Fix this in two ways: - Now when the native code generates a TransactionTooLargeException, it may include an additional message in it telling you how much data was in the parcel being sent, to help you understand why this happening. - In all the framework code paths where we call to the system and may fail, convert these failures into a a runtime exception and rethrow them back to the app so that it will clearly get the above message. Change-Id: I745159b97d3edb6fca86aa09cbc40c1f15a7d128
* | | | | Merge "sound trigger: fix wrong field type in JNI" into mnc-devEric Laurent2015-05-221-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | sound trigger: fix wrong field type in JNIEric Laurent2015-05-221-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | Bug: 20951546. Change-Id: I44f6dd05888e335a70bd212eb6f9c468a338ff92
* | | | Merge "Close race condition in binderDied()" into mnc-devChristopher Tate2015-05-211-5/+18
|\ \ \ \
| * | | | Close race condition in binderDied()Christopher Tate2015-05-191-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was possible for a binderDied() call to occur while the death recipient list containing the object was being iterated, in which case we could invalidate an object reference out from under the iteration, causing a VM abort. We now interlock the binderDied() deref operation with the list's locking semantics to prevent this. Bug 15831054 Change-Id: If0027d3ac4da1153284a425dd9b2819a203481ab
* | | | | Merge "Fix overflow in NinePatchImpl." into mnc-devLeon Scroggins III2015-05-211-1/+4
|\ \ \ \ \
| * | | | | Fix overflow in NinePatchImpl.Leon Scroggins III2015-05-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cast numXDivs to a size_t before adding 1, so that if numXDivs is 255 it does not overflow. Move the calculation outside of alloca(). BUG:20727488 Change-Id: I2ecc9d650338acba7316554cb72195e02816b1f8
* | | | | | Merge "Test for non-null AudioTrack() object in ↵Paul McLean2015-05-212-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | android_media_AudioTrack_setOutputDevice()." into mnc-dev
| * | | | | | Test for non-null AudioTrack() object in ↵Paul McLean2015-05-212-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | android_media_AudioTrack_setOutputDevice(). Change-Id: Ibf77bb0757720aa25eaaf6e603ab446257430453
* | | | | | | Merge "AudioService: indicate system ready to AudioFlinger" into mnc-devEric Laurent2015-05-211-0/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | AudioService: indicate system ready to AudioFlingerEric Laurent2015-05-201-0/+6
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Indicate when JAVA services are ready to AudioFlinger so that calls to power manager and scheduling service can be enabled. Bug: 11520969. Change-Id: Id977cab3208c34709011703d2dfdcf552e60371b
* | | | | | Merge "Fix AudioTrack, AudioRecord, AudioFormat API" into mnc-devAndy Hung2015-05-201-4/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix AudioTrack, AudioRecord, AudioFormat APIAndy Hung2015-05-201-4/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename getNativeFrameCount to getBufferSizeInFrames Remove throw declaration on IllegalArgumentException and IllegalStateException Bug: 20887665 Bug: 21304902 Change-Id: Ia85d8010be46524b9a8b93105b16b7b9480f6bd9
* | | | | Merge "AudioFormat: more compressed formats" into mnc-devEric Laurent2015-05-201-0/+20
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | AudioFormat: more compressed formatsEric Laurent2015-05-191-0/+20
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MP3 and AAC as valid AudioFormat encodings. Only @hide for now to allow system components to manage audio patches with those formats. Bug: 18649264. Change-Id: I5ef5f151783308e31d8ac5b29454589077ef62ea
* | | | Merge "Query HTTP proxy for network via a new API to avoid permissions ↵Paul Jensen2015-05-191-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | exceptions" into mnc-dev
| * | | | Query HTTP proxy for network via a new API to avoid permissions exceptionsPaul Jensen2015-05-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add @hidden ConnectivityManager.getProxyForNetwork() API. Bug:20470604 Change-Id: I6a9bc4afc8273bc43b14cdeccfedbbf3ff66be40
* | | | | Merge "Check that the parcel contained the expected amount of region data." ↵Derek Sollenberger2015-05-191-3/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | Check that the parcel contained the expected amount of region data.Derek Sollenberger2015-05-181-3/+7
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | bug:20883006 Change-Id: Ib47a8ec8696dbc37e958b8dbceb43fcbabf6605b
* | | | | Merge "Add -round and -notround qualifier to android runtime/aapt" into mnc-devAdam Powell2015-05-181-0/+11
|\ \ \ \ \
| * | | | | Add -round and -notround qualifier to android runtime/aaptAdam Lesinski2015-05-151-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The round qualifier denotes a device with a screen shape that is round. The qualifier shows up after the 'long/notlong' qualifier and before the orientation 'port/land/square' qualifiers. Change-Id: I3044258b2703a9165694b79725bade770fa6cea1
* | | | | | Add internal bitmap api for creating immutable ashmem backed bitmaps.Riley Andrews2015-05-183-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 21037890 Change-Id: I827e83dd75e301e7d93ead5efdd744f0d8435ae5
* | | | | | Use ashmem to optimize all bitmap copies.Riley Andrews2015-05-184-35/+204
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Bug 21037890 Change-Id: Ie32ca3a0c527755f1a1b77db7548cb9629e2001b
* | | | | Merge "Ensure that unparcelling Region only reads the expected number of ↵Derek Sollenberger2015-05-181-3/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | bytes" into mnc-dev
| * | | | Ensure that unparcelling Region only reads the expected number of bytesDerek Sollenberger2015-05-131-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | bug: 20883006 Change-Id: I4f109667fb210a80fbddddf5f1bfb7ef3a02b6ce
* | | | | Merge "SkScalarDiv and its variants are deprecated" into mnc-devJérôme Poichet2015-05-162-4/+3
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | SkScalarDiv and its variants are deprecatedMike Reed2015-05-132-4/+3
| |/ / / | | | | | | | | | | | | | | | | Change-Id: Icf2c13d0b19360753c9eed5f991b056201eb63df (cherry picked from commit 4069f39b30084c4c907ce9921275975ff3d1b9d5)
* | | | Merge "Adjust light source for window position" into mnc-devAlan Viverette2015-05-152-7/+12
|\ \ \ \