OSDN Git Service
Jianzheng Zhou [Sat, 8 Feb 2014 04:43:07 +0000 (12:43 +0800)]
DO NOT MERGE refactor wifi p2p's startDhcpServer function
Add getTetheredDhcpRanges() interface and call it before calling
mNwService.startTethering() to update dhcp ranges. This will allow p2p app
to run well concurrently with other tethering app(e.g. usb tethering).
Change-Id: I5e8ffeb5d2d396f48b897cd9396f133e25ecca57
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Calin Juravle [Mon, 23 Jun 2014 17:23:02 +0000 (17:23 +0000)]
Merge "Fix the initialization of some profile properties"
Brian Carlstrom [Mon, 23 Jun 2014 15:40:47 +0000 (15:40 +0000)]
Merge "Treat missing package usage data as a separate case"
Craig Mautner [Mon, 23 Jun 2014 14:49:08 +0000 (14:49 +0000)]
Merge "Fix frontOfTask assignment."
Danny Baumann [Sun, 22 Jun 2014 14:55:36 +0000 (16:55 +0200)]
Fix frontOfTask assignment.
If all activities of a given stack were finishing, no activity was
marked as front-of-task. This confused ActivityManager, so make sure
there's always exactly one activity marked as front-of-task.
Change-Id: I087cbe10280d4a60aa5ccfaefe24a223523fb3f2
Brian Carlstrom [Thu, 19 Jun 2014 16:38:06 +0000 (09:38 -0700)]
Treat missing package usage data as a separate case
Bug:
15520936
Change-Id: I8e1c6921973f84af7ee94de91721cc4a3436ebaf
Dan Albert [Fri, 20 Jun 2014 19:51:20 +0000 (19:51 +0000)]
Merge "Use openssl's SHA1 instead of bionic's."
Elliott Hughes [Fri, 20 Jun 2014 16:26:45 +0000 (16:26 +0000)]
Merge "Fixed VM memory leak in AudioSystem JNI interface"
Calin Juravle [Thu, 19 Jun 2014 17:51:47 +0000 (18:51 +0100)]
Fix the initialization of some profile properties
Change-Id: I959cb53f262cfb9d1621e4cd99bec05514f7f11f
Stephen Hines [Thu, 19 Jun 2014 03:04:32 +0000 (03:04 +0000)]
Merge "Create FieldPacker.getPos() to get the actual amount of data used for FP."
Jeff Sharkey [Thu, 19 Jun 2014 16:02:11 +0000 (16:02 +0000)]
Merge "Fixing parcel leaks to avoid virtual memory leak"
Maunik Shah [Thu, 19 Jun 2014 08:48:39 +0000 (14:18 +0530)]
Fixing parcel leaks to avoid virtual memory leak
Client has to call recycle() on parcel object after its usage
otherwise native layer of binder won't clear the resources of
parcel which were allocated for IPC
Change-Id: Ib31ddcc92aa4ebd80bb66729922b9133692e9c9e
Brian Carlstrom [Thu, 19 Jun 2014 01:59:38 +0000 (01:59 +0000)]
Merge "Switch from core to core-libart"
Brian Carlstrom [Wed, 18 Jun 2014 22:11:01 +0000 (15:11 -0700)]
Switch from core to core-libart
Bug:
14298175
Change-Id: I89db18bf3d88f9511cb2ad943c64ecdbaf09d96f
Stephen Hines [Wed, 18 Jun 2014 00:25:04 +0000 (17:25 -0700)]
Create FieldPacker.getPos() to get the actual amount of data used for FP.
We need larger buffers to handle 64-bit RS object types, but 32-bit code
will never fill all of the getData().length bytes. This allows us to retain
our verification code.
We have to modify an existing use of FieldPacker that was doing partial
updates of the underlying buffer. This was really relying on the old data
to be implicitly selected and written back, but that is not guaranteed by
the original API. This also required a fix to the FieldPacker.reset() API,
which was not allowing the FieldPacker to ever point to the final entry in
its buffer.
Change-Id: Idcd52790ac2b0ab1eff3f043e7eec2832953f04b
Colin Cross [Tue, 17 Jun 2014 22:40:26 +0000 (22:40 +0000)]
Merge "Fix reading memory usage for 64-bit processes"
Colin Cross [Tue, 17 Jun 2014 22:18:07 +0000 (15:18 -0700)]
Fix reading memory usage for 64-bit processes
64-bit process will have virtual addresses that don't fit in an
unsigned long if ActivityManagerService is in a 32-bit process,
and the locations of the '-' and ' ' characters in the maps
are not predictable. Fix the sscanf for finding the start of the
mapping, and use it again to find the end of the mapping. Also
fix a few 64-bit warnings.
Change-Id: I8855c76085142768be1d45346f1032fd37cbe4eb
Jason Sams [Wed, 18 Jun 2014 21:21:29 +0000 (21:21 +0000)]
Merge "Fix element size on 64b"
Jason Sams [Wed, 18 Jun 2014 20:17:57 +0000 (13:17 -0700)]
Fix element size on 64b
RenderScript Element types know their own size. This
change properly tracks the new object sizes.
Change-Id: I3cbf76a7ec5f68056ed5599e9406cea05ba86969
Adam Lesinski [Tue, 17 Jun 2014 18:48:24 +0000 (18:48 +0000)]
Merge "[Asset Manager] Fix memory leakage bug"
Dan Albert [Mon, 16 Jun 2014 22:23:37 +0000 (15:23 -0700)]
Use openssl's SHA1 instead of bionic's.
Bionic is removing its SHA1.
Change-Id: I2b2d028223d2299666511a683cffba29c55639b7
Chris Craik [Mon, 16 Jun 2014 23:37:12 +0000 (23:37 +0000)]
Merge "Fix the texture ID reuse issue in HWUI."
Chris Craik [Mon, 16 Jun 2014 23:37:07 +0000 (23:37 +0000)]
Merge "hwui: fix possible null pointer de-refrence"
Colin Cross [Fri, 13 Jun 2014 19:58:55 +0000 (12:58 -0700)]
clean up native com.android.internal.os.Zygote
This is never compiled for the host any more, so remove all the
unnecesarry ifdefs.
Change-Id: I757e6d604b7f41476ac1021f5bdbc777eac6f99e
Colin Cross [Mon, 16 Jun 2014 20:08:30 +0000 (20:08 +0000)]
Merge "clean up native com.android.internal.os.Zygote"
Tenghui Zhu [Mon, 16 Jun 2014 17:08:42 +0000 (17:08 +0000)]
Merge "update parameters in uploadToTexture() for GLES20"
sean_lu [Mon, 16 Jun 2014 07:11:29 +0000 (15:11 +0800)]
[Asset Manager] Fix memory leakage bug
Symptom: memory leakage
Root Cause: new SortedVector but not free it in native cpp
Solution: free the SortedVector
Project: AOSP
Note:
Change-Id: Iab5a7f2e8d8509631301e7231427927d4797c856
jiayuanr [Tue, 10 Jun 2014 09:41:49 +0000 (17:41 +0800)]
Fix the texture ID reuse issue in HWUI.
Issue: When the layer of previous frame is destroyed, it doesn't clear the
texture id in mBoundTextures[mTextureUnit], so in the next frame, if
glGenTexture returns same texture ID of the previous frame,
the new texture is not bound.
CRs-fixed: 671736
Change-Id: Ifc5fd2115fb1863b3c006ab14b0faabeaeb4eab4
Nick Kralevich [Sat, 14 Jun 2014 04:21:13 +0000 (04:21 +0000)]
Merge "update mLastSlash for gdbserver"
Nick Kralevich [Fri, 13 Jun 2014 23:24:58 +0000 (16:24 -0700)]
update mLastSlash for gdbserver
the gdbserver special case wasn't updating mLastSlash. Fix it.
Change-Id: I63d64bb5f543bd2df6183649cf727e830731e144
Digish Pandya [Thu, 12 Jun 2014 05:12:54 +0000 (10:42 +0530)]
hwui: fix possible null pointer de-refrence
add layer check for null before de-refrencing it.
link: http://code.google.com/p/android/issues/detail?id=61622
Change-Id: I54fc21ec594effcfb1eededd80dd5b0b52645c4c
Lu, Shenghua [Wed, 27 Nov 2013 12:16:43 +0000 (20:16 +0800)]
update parameters in uploadToTexture() for GLES20
Google optimized the uploadToTexture with GLES3.0+,
This allows us to upload a sub-rectangle of texture,
but this has compliance issue with GLES 2.0.
With OpenGL ES 2.0 we need to copy the bitmap in a
temporary buffer if the stride doesn't match the width,
and then upload entire temporary stripes.
Change-Id: I8987cd8347913c61b7fa45bd47be1189aa6bdb05
Signed-off-by: Shenghua Lu <shenghua.lu@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Guobin Zhang<guobin.zhang@intel.com>
Tim Murray [Thu, 12 Jun 2014 23:02:48 +0000 (23:02 +0000)]
Merge "Move FieldPacker over to use large objects on 64-bit."
Tim Murray [Thu, 12 Jun 2014 21:17:53 +0000 (14:17 -0700)]
Move FieldPacker over to use large objects on 64-bit.
Change-Id: I1d4d502a3f9d86c6cf0f516cc087b1457f86ac28
Nick Kralevich [Thu, 12 Jun 2014 21:00:53 +0000 (21:00 +0000)]
Merge "Add service_contexts to policy update bundles."
Riley Spahn [Wed, 11 Jun 2014 22:26:28 +0000 (15:26 -0700)]
Add service_contexts to policy update bundles.
Add service_context file to SELinuxPolicyInstallReceiver
to allow updating.
Bug:
12909011
Change-Id: Ic0ad89958cc750413787d57e0f51363212a8730b
Elliott Hughes [Wed, 11 Jun 2014 23:59:33 +0000 (23:59 +0000)]
Merge "Switch to a type-safe album art interface."
Elliott Hughes [Tue, 10 Jun 2014 23:53:31 +0000 (16:53 -0700)]
Switch to a type-safe album art interface.
(Requires a matching change in frameworks/av.)
Bug:
15514223
Change-Id: I4e494cc5d7a2eb82cd2b7ae3b829fc663136267a
Calin Juravle [Wed, 11 Jun 2014 17:25:10 +0000 (17:25 +0000)]
Merge "Shrink profiler.start-immediately to fit in the maximum property size"
Calin Juravle [Wed, 11 Jun 2014 17:21:41 +0000 (18:21 +0100)]
Shrink profiler.start-immediately to fit in the maximum property size
Change-Id: I25f24f5e5b128aa6a300bdc1008427451bd9cecf
Narayan Kamath [Mon, 16 Jun 2014 09:41:37 +0000 (09:41 +0000)]
Merge "Remove some pointless code."
Narayan Kamath [Fri, 13 Jun 2014 16:46:47 +0000 (17:46 +0100)]
Remove some pointless code.
Unnecessary disk reads for values that are never
used (and cached elsewhere, so that optimization is
rendered pointless).
Change-Id: Ic14a8b53a96908bb03eae28759d7be2c217e8125
Narayan Kamath [Mon, 16 Jun 2014 09:36:03 +0000 (09:36 +0000)]
Merge "Support deprecated language codes."
Narayan Kamath [Wed, 5 Mar 2014 18:42:23 +0000 (18:42 +0000)]
Support deprecated language codes.
Locale.toLanguageTag will transform the obsolete (and
deprecated) language codes "in", "ji" and "iw" to
"id", "yi" and "he" respectively.
All versions of android prior to "L" used the deprecated
language tags, so we will need to support them for backwards
compatibility.
bug:
13230947
(cherry-picked from commit
21fc8ba39c4799a346caf95)
(also contains a partial cherry-pick of
857ba4af because
including it is the easiest way to avoid conflicts.)
Change-Id: Ia1d0f2d8e20f5679ff3990506f6468ebf789c94a
Narayan Kamath [Mon, 16 Jun 2014 13:46:27 +0000 (13:46 +0000)]
Merge "Move dex file pruning to installd."
Narayan Kamath [Tue, 10 Jun 2014 12:59:10 +0000 (13:59 +0100)]
Move dex file pruning to installd.
Companion change for commit
7dbf95cd7606e22267
in frameworks/native.
bug:
14407732
Change-Id: I520aa3950fb6b87c7ca5a805e597d734496407d3
Narayan Kamath [Mon, 16 Jun 2014 10:50:04 +0000 (10:50 +0000)]
Merge "Track changes to libcore ICU apis."
Narayan Kamath [Thu, 12 Jun 2014 12:42:05 +0000 (13:42 +0100)]
Track changes to libcore ICU apis.
All private APIs that earlier accepted Locale.toString
now accept Locale instances.
Change-Id: I80df88d0c928e921320b6545b1267adecefe64af
Calin Juravle [Wed, 11 Jun 2014 17:25:02 +0000 (17:25 +0000)]
Merge "Improved profile.start-immediately comment"
Calin Juravle [Tue, 10 Jun 2014 13:52:24 +0000 (14:52 +0100)]
Improved profile.start-immediately comment
Change-Id: I41bda6a1cd99cb0a8230961e0462a41cb552887e
Elliott Hughes [Mon, 9 Jun 2014 16:26:27 +0000 (16:26 +0000)]
Merge "Fix sense of NULL test in android_media_MediaScanner_extractAlbumArt."
Elliott Hughes [Mon, 9 Jun 2014 16:22:58 +0000 (09:22 -0700)]
Fix sense of NULL test in android_media_MediaScanner_extractAlbumArt.
Change-Id: I1acb4d5df71daa47ea87813db3941fd3c676cfb5
Robin Lee [Mon, 9 Jun 2014 12:47:08 +0000 (12:47 +0000)]
Merge "Choose CA certificate storage according to userId"
Robin Lee [Fri, 25 Apr 2014 13:57:49 +0000 (14:57 +0100)]
Choose CA certificate storage according to userId
Sets the default CA certificate directory at first instantiation so
that only certificates for the current user are searched.
This means that if one user decides to trust a CA no other user of the
device will be forced into trusting that CA as well.
Change-Id: Iaca14a94dd14c598e49a598290e1a80917269eac
Calin Juravle [Mon, 9 Jun 2014 09:18:23 +0000 (09:18 +0000)]
Merge "Fixed comments related to profile properties."
Calin Juravle [Fri, 6 Jun 2014 15:00:53 +0000 (16:00 +0100)]
Fixed comments related to profile properties.
Change-Id: Idd6de8fe2a193a36cf1ea6bcadacb3289973c5ab
Ian Rogers [Fri, 6 Jun 2014 19:34:12 +0000 (19:34 +0000)]
Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]"
Calin Juravle [Fri, 6 Jun 2014 12:06:36 +0000 (12:06 +0000)]
Merge "Add missing profiler options."
Calin Juravle [Mon, 2 Jun 2014 15:45:13 +0000 (16:45 +0100)]
Add missing profiler options.
Bug:
12877748
Change-Id: I311b8fb7e15d512e65631bc2a52c443a271d3d3f
Deepanshu Gupta [Mon, 31 Mar 2014 23:11:13 +0000 (16:11 -0700)]
Add missing dependency in layoutlib build file [DO NOT MERGE]
Add missing dependency on built_ext_data
Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry picked from commit
e345507ca4b7b83c6e0446788f4404eb697f945b)
Elliott Hughes [Thu, 5 Jun 2014 18:02:04 +0000 (18:02 +0000)]
Merge "[LP64] Fix access to MediaAlbumArt."
Elliott Hughes [Thu, 5 Jun 2014 17:38:30 +0000 (10:38 -0700)]
[LP64] Fix access to MediaAlbumArt.
The mSize field is a uint32_t, not a long.
Change-Id: Id3b9e6049e8998840d33fa886b676db2a8022064
Robin Lee [Thu, 5 Jun 2014 17:16:51 +0000 (17:16 +0000)]
Merge "Add Environment call: get config dir for some user"
Robin Lee [Mon, 28 Apr 2014 15:03:22 +0000 (16:03 +0100)]
Add Environment call: get config dir for some user
This returns a read-only directory accessible to any app running as the
same user, containing various configuration files written by the system.
Change-Id: I635de184fc285b8fef166b782bbc1ac79f8f0687
Elliott Hughes [Wed, 4 Jun 2014 21:26:49 +0000 (21:26 +0000)]
Merge "Minor javadoc improvements for PackageManager."
Elliott Hughes [Wed, 4 Jun 2014 21:13:56 +0000 (21:13 +0000)]
Merge "Delete duplicate SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag"
Robin Lee [Wed, 4 Jun 2014 20:51:53 +0000 (20:51 +0000)]
Merge "Assign AID_EVERYONE gid to newly-created processes"
Tim Murray [Fri, 31 Jan 2014 20:57:20 +0000 (12:57 -0800)]
DO NOT MERGE: Mark new util type functions as @hide in AOSP.
Change-Id: I834e07aef142aa79ed1603535689d0b833357f6c
Amaury Medeiros [Tue, 3 Jun 2014 23:06:41 +0000 (20:06 -0300)]
Minor javadoc improvements for PackageManager.
- Removed duplicated use of the word "the".
- Changed @return and @param explanation of getApplicationEnabledSetting,
which should get the enabled state of an application and not just one component.
Change-Id: Ide07ec84ceb5b9b5caa28efa9ba838a40ee7b514
Signed-off-by: Amaury Medeiros <amaurymedeiros@gmail.com>
Tim Murray [Tue, 3 Jun 2014 21:36:19 +0000 (21:36 +0000)]
Merge "Add support for mixed 32/64 APKs using RenderScript."
Adam Lesinski [Tue, 3 Jun 2014 20:11:13 +0000 (20:11 +0000)]
Merge "Add --pseudo-localize option to generate resources for pseudolocales."
Tim Murray [Fri, 16 May 2014 18:47:26 +0000 (11:47 -0700)]
Add support for mixed 32/64 APKs using RenderScript.
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
Igor Viarheichyk [Tue, 3 Jun 2014 00:16:24 +0000 (17:16 -0700)]
Add --pseudo-localize option to generate resources for pseudolocales.
Update help output with new option, remove mention of obsolete zz_ZZ
pseudolocale.
Change-Id: Ie2cfc8d11ef6a57e2b9a2333514a7340a3a8c075
Narayan Kamath [Tue, 3 Jun 2014 13:56:03 +0000 (13:56 +0000)]
Merge "Fix build."
Narayan Kamath [Tue, 3 Jun 2014 13:54:36 +0000 (14:54 +0100)]
Fix build.
Bad resolution of a manual rebase.
Change-Id: I56d4c7a343c8fd7a715f983b2db15767849f9af7
Narayan Kamath [Tue, 3 Jun 2014 12:20:05 +0000 (12:20 +0000)]
Merge "Scan for renderscript files before deciding ABIs."
Narayan Kamath [Fri, 16 May 2014 15:45:56 +0000 (16:45 +0100)]
Scan for renderscript files before deciding ABIs.
The presence of ".bc" files in an APK implies
incompatibility with any of the 64 bit ABIs.
bug:
14900093
Change-Id: I66ca339a9a149cb3b7e7b349033d80acdeb4140a
Narayan Kamath [Tue, 3 Jun 2014 11:10:01 +0000 (11:10 +0000)]
Merge "Add an --abi argument to "pm install""
Narayan Kamath [Thu, 29 May 2014 10:51:59 +0000 (11:51 +0100)]
Add an --abi argument to "pm install"
This allows callers to force an install to a particular
ABI. This is intended only for testing (and CTS) and is
not meant for usage by the installer package.
Change-Id: Icb1528c0cd35b1aa9323386cb35ff4aaba374fcb
Narayan Kamath [Tue, 3 Jun 2014 09:57:02 +0000 (09:57 +0000)]
Merge "Log process abis during start."
Mike Lockwood [Mon, 2 Jun 2014 18:25:35 +0000 (18:25 +0000)]
am
1c725866: Merge "MtpDatabase JNI: Fixed incorrect method name in ALOGE."
* commit '
1c725866da02c3e1f62fb416ea3450caed406f2a':
MtpDatabase JNI: Fixed incorrect method name in ALOGE.
Mike Lockwood [Mon, 2 Jun 2014 18:25:28 +0000 (18:25 +0000)]
am
27eb205e: Merge "MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue()."
* commit '
27eb205e21e7715764084085f382d690e0406c63':
MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue().
Mike Lockwood [Mon, 2 Jun 2014 18:21:17 +0000 (18:21 +0000)]
Merge "MtpDatabase JNI: Fixed incorrect method name in ALOGE."
Mike Lockwood [Mon, 2 Jun 2014 18:20:39 +0000 (18:20 +0000)]
Merge "MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue()."
Martin Blumenstingl [Sat, 31 May 2014 13:53:00 +0000 (15:53 +0200)]
MtpDatabase JNI: Fixed incorrect method name in ALOGE.
Change-Id: I46688cf79f1e7554b28162df2347c4dcb571b8a9
Martin Blumenstingl [Sat, 31 May 2014 13:50:38 +0000 (15:50 +0200)]
MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue().
The jstring "stringValue" was not never freed.
In the case where "str" was NULL the whole cleanup part (see "goto out")
was even skipped.
This patch makes getObjectPropertyValue() behave like
getObjectPropertyList().
Change-Id: I5a7ec3611036f5253a054b00064999bcd1d1c29e
Nick Kralevich [Sat, 31 May 2014 05:27:46 +0000 (05:27 +0000)]
am
4f8785f2: Merge "SELinuxMMAC additions to perform policy versioning checks."
* commit '
4f8785f28e6305d427cc3e483248828c9b9b06a2':
SELinuxMMAC additions to perform policy versioning checks.
Nick Kralevich [Sat, 31 May 2014 05:25:14 +0000 (05:25 +0000)]
Merge "SELinuxMMAC additions to perform policy versioning checks."
Nick Kralevich [Sat, 31 May 2014 05:09:37 +0000 (05:09 +0000)]
am
3a9835d4: Merge "Allow SELinuxPolicyInstallReceiver to update new policy files."
* commit '
3a9835d4914bc959a37eefecf4d5d0d20852e3e7':
Allow SELinuxPolicyInstallReceiver to update new policy files.
Nick Kralevich [Sat, 31 May 2014 05:07:12 +0000 (05:07 +0000)]
Merge "Allow SELinuxPolicyInstallReceiver to update new policy files."
Elliott Hughes [Sat, 31 May 2014 02:26:36 +0000 (02:26 +0000)]
am
5568e0e4: Merge "Move frameworks/base off private libcore.ICU API."
* commit '
5568e0e45fff7ffe5061770cb527b22d09cf5519':
Move frameworks/base off private libcore.ICU API.
Elliott Hughes [Sat, 31 May 2014 02:22:24 +0000 (02:22 +0000)]
Merge "Move frameworks/base off private libcore.ICU API."
Elliott Hughes [Sat, 31 May 2014 02:20:20 +0000 (19:20 -0700)]
Move frameworks/base off private libcore.ICU API.
Change-Id: I55355b7ea68174063f31d6bb08a71bcb9dc76d62
Chris Craik [Fri, 30 May 2014 17:59:51 +0000 (17:59 +0000)]
am
ce7fa780: Merge "Fix a resource race bug in PathCache"
* commit '
ce7fa780cdee2730b570cc34066f15c74d44e6ef':
Fix a resource race bug in PathCache
Chris Craik [Fri, 30 May 2014 17:56:42 +0000 (17:56 +0000)]
Merge "Fix a resource race bug in PathCache"
Viorel Suman [Fri, 30 May 2014 13:51:07 +0000 (16:51 +0300)]
Fixed VM memory leak in AudioSystem JNI interface
The function android_media_AudioSystem_error_callback from AudioSystem
JNI interface is using FindClass function but does not delete the
reference created by VM in this function.
By doing this call, VM will add a local reference in IndirectRefTable
and it's the caller's job to delete this reference.
By not doing this, everytime this callback is called, a new reference is
added and never deleted.
The effect is crashing the VM running system_server:
E/dalvikvm( 3071): JNI ERROR (app bug): local reference table overflow (max=512)
W/dalvikvm( 3071): JNI local reference table (0x732da288) dump:
W/dalvikvm( 3071): Last 10 entries (of 512):
W/dalvikvm( 3071): 511: 0x42a90008 java.lang.Class<android.os.Parcel>
W/dalvikvm( 3071): 510: 0x4381fd90 android.view.KeyEvent
W/dalvikvm( 3071): 509: 0x439b9808 android.view.KeyEvent
W/dalvikvm( 3071): 508: 0x42d2fe18 java.lang.Class<com.android.server.input.InputManagerService>
W/dalvikvm( 3071): 507: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): 506: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): 505: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): 504: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): 503: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): 502: 0x42ad4298 java.lang.Class<android.media.AudioSystem>
W/dalvikvm( 3071): Summary:
W/dalvikvm( 3071): 510 of java.lang.Class (3 unique instances)
W/dalvikvm( 3071): 2 of android.view.KeyEvent (2 unique instances)
E/dalvikvm( 3071): Failed adding to JNI local ref table (has 512 entries)
...
E/dalvikvm( 3071): VM aborting
In this case, PID 3071 is system server.
Change-Id: I0c113eb72256984854d59a3ccef11a8d23f96e79
Signed-off-by: Robert Chiras <robert.chiras@intel.com>
Narayan Kamath [Fri, 30 May 2014 10:41:24 +0000 (10:41 +0000)]
am
bd4d3203: Merge "Support an ABI flag for instrumentation."
* commit '
bd4d320344833ce67dad3a4e10a61d0502a81d0e':
Support an ABI flag for instrumentation.
Narayan Kamath [Fri, 30 May 2014 10:35:27 +0000 (10:35 +0000)]
Merge "Support an ABI flag for instrumentation."
yuyang [Tue, 27 May 2014 08:15:02 +0000 (16:15 +0800)]
Fix a resource race bug in PathCache
When enabled defer rendering, it will do precache for DrawPathOp.
The paint used for creating PathTask in precache just get the address
of mFilteredPaint of OpenGLRenderer. So for the following defer
operation like DrawTextOp has possibility change the mFilteredPaint
by getPaint while another WorkerThread in PathCache is using the paint
which pointed to the same address of mFilteredPaint to generate bitmap.
As a result, it will generate a wrong bitmap for generateTexture in
PathCache. To fix it, do a copy of paint when creating PathTask.
CRs-Fixed: 664244
Change-Id: I5516f5b143458b88d3573d15b7ebb34f688800c7
Jianzheng Zhou [Fri, 30 May 2014 01:54:51 +0000 (09:54 +0800)]
Delete duplicate SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag
Change-Id: Ied20e4c7e0e4aa648a76fbe80dd1f0dd30b948a9
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>