OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Memory leak in parsePackage"
Narayan Kamath [Tue, 24 Jun 2014 14:16:04 +0000 (14:16 +0000)]
Merge "Memory leak in parsePackage"

10 years agoMerge "Explicitly list out the list of cache subdirs to prune."
Narayan Kamath [Tue, 24 Jun 2014 12:07:45 +0000 (12:07 +0000)]
Merge "Explicitly list out the list of cache subdirs to prune."

10 years agoMerge "Update javadoc for android.os.Bundle."
Narayan Kamath [Tue, 24 Jun 2014 10:03:08 +0000 (10:03 +0000)]
Merge "Update javadoc for android.os.Bundle."

10 years agoMerge "We need to update mPos when we copy a FieldPacker via its data[] member."
Stephen Hines [Tue, 24 Jun 2014 00:57:44 +0000 (00:57 +0000)]
Merge "We need to update mPos when we copy a FieldPacker via its data[] member."

10 years agoWe need to update mPos when we copy a FieldPacker via its data[] member.
Stephen Hines [Tue, 24 Jun 2014 00:35:04 +0000 (17:35 -0700)]
We need to update mPos when we copy a FieldPacker via its data[] member.

Bug: 15756600

This change also adds a TODO/FIXME related to subAlign() and our tracking
mechanism for it. We need to further investigate how to make subAlign() work
properly if a user copies their FieldPacker.

Change-Id: I861e529abd11e378f7c73b510d7f418b940fe480

10 years agoMerge "DO NOT MERGE refactor wifi p2p's startDhcpServer function"
Robert Greenwalt [Mon, 23 Jun 2014 21:56:52 +0000 (21:56 +0000)]
Merge "DO NOT MERGE refactor wifi p2p's startDhcpServer function"

10 years agoDO NOT MERGE refactor wifi p2p's startDhcpServer function
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>
10 years agoMerge "Fix thumbnail bug"
Marco Nelissen [Mon, 23 Jun 2014 21:41:32 +0000 (21:41 +0000)]
Merge "Fix thumbnail bug"

10 years agoMemory leak in parsePackage
Henrik Baard [Wed, 18 Jun 2014 11:34:01 +0000 (13:34 +0200)]
Memory leak in parsePackage

The method parsePackage failes to delete some resources
in case of failures.

Added delete of "package" in the cases that was previously
missed.

Change-Id: I183e9ec5864c5ed18bb48410ab41317cb3d96bda

10 years agoFix thumbnail bug
Marco Nelissen [Fri, 20 Jun 2014 21:05:02 +0000 (14:05 -0700)]
Fix thumbnail bug

When there was no thumbnail for a given image, the getThumbNail() convenience
method could return a previously-returned thumbnail instead of null.

b/15771860
https://code.google.com/p/android/issues/detail?id=40714

Change-Id: Ibd18e048145bf347469f800afdf436247ea6b693

10 years agoMerge "Fix the initialization of some profile properties"
Calin Juravle [Mon, 23 Jun 2014 17:23:02 +0000 (17:23 +0000)]
Merge "Fix the initialization of some profile properties"

10 years agoMerge "Treat missing package usage data as a separate case"
Brian Carlstrom [Mon, 23 Jun 2014 15:40:47 +0000 (15:40 +0000)]
Merge "Treat missing package usage data as a separate case"

10 years agoMerge "Fix frontOfTask assignment."
Craig Mautner [Mon, 23 Jun 2014 14:49:08 +0000 (14:49 +0000)]
Merge "Fix frontOfTask assignment."

10 years agoFix 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

10 years agoTreat missing package usage data as a separate case
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

10 years agoMerge "Use openssl's SHA1 instead of bionic's."
Dan Albert [Fri, 20 Jun 2014 19:51:20 +0000 (19:51 +0000)]
Merge "Use openssl's SHA1 instead of bionic's."

10 years agoMerge "Fixed VM memory leak in AudioSystem JNI interface"
Elliott Hughes [Fri, 20 Jun 2014 16:26:45 +0000 (16:26 +0000)]
Merge "Fixed VM memory leak in AudioSystem JNI interface"

10 years agoFix the initialization of some profile properties
Calin Juravle [Thu, 19 Jun 2014 17:51:47 +0000 (18:51 +0100)]
Fix the initialization of some profile properties

Change-Id: I959cb53f262cfb9d1621e4cd99bec05514f7f11f

10 years agoUpdate javadoc for android.os.Bundle.
Narayan Kamath [Thu, 19 Jun 2014 09:46:00 +0000 (10:46 +0100)]
Update javadoc for android.os.Bundle.

Call out the fact that defaultValue is returned if a null
mapping exists for a given key.

bug: https://code.google.com/p/android/issues/detail?id=68453
Change-Id: Ifa6e94c1dee47809f70cadcb668cb98cb8dbef14

10 years agoMerge "Create FieldPacker.getPos() to get the actual amount of data used for FP."
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."

10 years agoMerge "Fixing parcel leaks to avoid virtual memory leak"
Jeff Sharkey [Thu, 19 Jun 2014 16:02:11 +0000 (16:02 +0000)]
Merge "Fixing parcel leaks to avoid virtual memory leak"

10 years agoFixing 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

10 years agoMerge "Switch from core to core-libart"
Brian Carlstrom [Thu, 19 Jun 2014 01:59:38 +0000 (01:59 +0000)]
Merge "Switch from core to core-libart"

10 years agoSwitch 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

10 years agoCreate FieldPacker.getPos() to get the actual amount of data used for FP.
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

10 years agoMerge "Fix reading memory usage for 64-bit processes"
Colin Cross [Tue, 17 Jun 2014 22:40:26 +0000 (22:40 +0000)]
Merge "Fix reading memory usage for 64-bit processes"

10 years agoFix 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

10 years agoMerge "Fix element size on 64b"
Jason Sams [Wed, 18 Jun 2014 21:21:29 +0000 (21:21 +0000)]
Merge "Fix element size on 64b"

10 years agoFix 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

10 years agoExplicitly list out the list of cache subdirs to prune.
Narayan Kamath [Tue, 17 Jun 2014 11:59:46 +0000 (12:59 +0100)]
Explicitly list out the list of cache subdirs to prune.

We don't want directories like profiles and the former
profile-cache from being included in the prune. SELinux would
have prevented the move, but that's very brittle.

bug: 15677279

Change-Id: I2ff5db056757ffacaf108bb07b02dc0cac7172dd

10 years agoMerge "[Asset Manager] Fix memory leakage bug"
Adam Lesinski [Tue, 17 Jun 2014 18:48:24 +0000 (18:48 +0000)]
Merge "[Asset Manager] Fix memory leakage bug"

10 years agoUse openssl's SHA1 instead of bionic's.
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

10 years agoMerge "Fix the texture ID reuse issue in HWUI."
Chris Craik [Mon, 16 Jun 2014 23:37:12 +0000 (23:37 +0000)]
Merge "Fix the texture ID reuse issue in HWUI."

10 years agoMerge "hwui: fix possible null pointer de-refrence"
Chris Craik [Mon, 16 Jun 2014 23:37:07 +0000 (23:37 +0000)]
Merge "hwui: fix possible null pointer de-refrence"

10 years agoclean up native com.android.internal.os.Zygote
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

10 years agoMerge "clean up native com.android.internal.os.Zygote"
Colin Cross [Mon, 16 Jun 2014 20:08:30 +0000 (20:08 +0000)]
Merge "clean up native com.android.internal.os.Zygote"

10 years agoMerge "update parameters in uploadToTexture() for GLES20"
Tenghui Zhu [Mon, 16 Jun 2014 17:08:42 +0000 (17:08 +0000)]
Merge "update parameters in uploadToTexture() for GLES20"

10 years ago[Asset Manager] Fix memory leakage bug
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

10 years agoFix the texture ID reuse issue in HWUI.
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

10 years agoMerge "update mLastSlash for gdbserver"
Nick Kralevich [Sat, 14 Jun 2014 04:21:13 +0000 (04:21 +0000)]
Merge "update mLastSlash for gdbserver"

10 years agoupdate 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

10 years agohwui: fix possible null pointer de-refrence
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

10 years agoupdate parameters in uploadToTexture() for GLES20
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>
10 years agoMerge "Move FieldPacker over to use large objects on 64-bit."
Tim Murray [Thu, 12 Jun 2014 23:02:48 +0000 (23:02 +0000)]
Merge "Move FieldPacker over to use large objects on 64-bit."

10 years agoMove 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

10 years agoMerge "Add service_contexts to policy update bundles."
Nick Kralevich [Thu, 12 Jun 2014 21:00:53 +0000 (21:00 +0000)]
Merge "Add service_contexts to policy update bundles."

10 years agoAdd 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

10 years agoMerge "Switch to a type-safe album art interface."
Elliott Hughes [Wed, 11 Jun 2014 23:59:33 +0000 (23:59 +0000)]
Merge "Switch to a type-safe album art interface."

10 years agoSwitch 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

10 years agoMerge "Shrink profiler.start-immediately to fit in the maximum property size"
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"

10 years agoShrink 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

10 years agoMerge "Remove some pointless code."
Narayan Kamath [Mon, 16 Jun 2014 09:41:37 +0000 (09:41 +0000)]
Merge "Remove some pointless code."

10 years agoRemove 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

10 years agoMerge "Support deprecated language codes."
Narayan Kamath [Mon, 16 Jun 2014 09:36:03 +0000 (09:36 +0000)]
Merge "Support deprecated language codes."

10 years agoSupport 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

10 years agoMerge "Move dex file pruning to installd."
Narayan Kamath [Mon, 16 Jun 2014 13:46:27 +0000 (13:46 +0000)]
Merge "Move dex file pruning to installd."

10 years agoMove 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

10 years agoMerge "Track changes to libcore ICU apis."
Narayan Kamath [Mon, 16 Jun 2014 10:50:04 +0000 (10:50 +0000)]
Merge "Track changes to libcore ICU apis."

10 years agoTrack 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

10 years agoMerge "Improved profile.start-immediately comment"
Calin Juravle [Wed, 11 Jun 2014 17:25:02 +0000 (17:25 +0000)]
Merge "Improved profile.start-immediately comment"

10 years agoImproved 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

10 years agoMerge "Fix sense of NULL test in android_media_MediaScanner_extractAlbumArt."
Elliott Hughes [Mon, 9 Jun 2014 16:26:27 +0000 (16:26 +0000)]
Merge "Fix sense of NULL test in android_media_MediaScanner_extractAlbumArt."

10 years agoFix 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

10 years agoMerge "Choose CA certificate storage according to userId"
Robin Lee [Mon, 9 Jun 2014 12:47:08 +0000 (12:47 +0000)]
Merge "Choose CA certificate storage according to userId"

10 years agoChoose 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

10 years agoMerge "Fixed comments related to profile properties."
Calin Juravle [Mon, 9 Jun 2014 09:18:23 +0000 (09:18 +0000)]
Merge "Fixed comments related to profile properties."

10 years agoFixed 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

10 years agoMerge "Add missing dependency in layoutlib build file [DO NOT MERGE]"
Ian Rogers [Fri, 6 Jun 2014 19:34:12 +0000 (19:34 +0000)]
Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]"

10 years agoMerge "Add missing profiler options."
Calin Juravle [Fri, 6 Jun 2014 12:06:36 +0000 (12:06 +0000)]
Merge "Add missing profiler options."

10 years agoAdd 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

10 years agoAdd missing dependency in layoutlib build file [DO NOT MERGE]
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)

10 years agoMerge "[LP64] Fix access to MediaAlbumArt."
Elliott Hughes [Thu, 5 Jun 2014 18:02:04 +0000 (18:02 +0000)]
Merge "[LP64] Fix access to MediaAlbumArt."

10 years ago[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

10 years agoMerge "Add Environment call: get config dir for some user"
Robin Lee [Thu, 5 Jun 2014 17:16:51 +0000 (17:16 +0000)]
Merge "Add Environment call: get config dir for some user"

10 years agoAdd 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

10 years agoMerge "Minor javadoc improvements for PackageManager."
Elliott Hughes [Wed, 4 Jun 2014 21:26:49 +0000 (21:26 +0000)]
Merge "Minor javadoc improvements for PackageManager."

10 years agoMerge "Delete duplicate SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag"
Elliott Hughes [Wed, 4 Jun 2014 21:13:56 +0000 (21:13 +0000)]
Merge "Delete duplicate SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag"

10 years agoMerge "Assign AID_EVERYONE gid to newly-created processes"
Robin Lee [Wed, 4 Jun 2014 20:51:53 +0000 (20:51 +0000)]
Merge "Assign AID_EVERYONE gid to newly-created processes"

10 years agoDO NOT MERGE: Mark new util type functions as @hide in AOSP.
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

10 years agoMinor javadoc improvements for PackageManager.
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>
10 years agoMerge "Add support for mixed 32/64 APKs using RenderScript."
Tim Murray [Tue, 3 Jun 2014 21:36:19 +0000 (21:36 +0000)]
Merge "Add support for mixed 32/64 APKs using RenderScript."

10 years agoMerge "Add --pseudo-localize option to generate resources for pseudolocales."
Adam Lesinski [Tue, 3 Jun 2014 20:11:13 +0000 (20:11 +0000)]
Merge "Add --pseudo-localize option to generate resources for pseudolocales."

10 years agoAdd support for mixed 32/64 APKs using RenderScript.
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

10 years agoAdd --pseudo-localize option to generate resources for pseudolocales.
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

10 years agoMerge "Fix build."
Narayan Kamath [Tue, 3 Jun 2014 13:56:03 +0000 (13:56 +0000)]
Merge "Fix build."

10 years agoFix 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

10 years agoMerge "Scan for renderscript files before deciding ABIs."
Narayan Kamath [Tue, 3 Jun 2014 12:20:05 +0000 (12:20 +0000)]
Merge "Scan for renderscript files before deciding ABIs."

10 years agoScan 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

10 years agoMerge "Add an --abi argument to "pm install""
Narayan Kamath [Tue, 3 Jun 2014 11:10:01 +0000 (11:10 +0000)]
Merge "Add an --abi argument to "pm install""

10 years agoAdd 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

10 years agoMerge "Log process abis during start."
Narayan Kamath [Tue, 3 Jun 2014 09:57:02 +0000 (09:57 +0000)]
Merge "Log process abis during start."

10 years agoam 1c725866: Merge "MtpDatabase JNI: Fixed incorrect method name in ALOGE."
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.

10 years agoam 27eb205e: Merge "MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue()."
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().

10 years agoMerge "MtpDatabase JNI: Fixed incorrect method name in ALOGE."
Mike Lockwood [Mon, 2 Jun 2014 18:21:17 +0000 (18:21 +0000)]
Merge "MtpDatabase JNI: Fixed incorrect method name in ALOGE."

10 years agoMerge "MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue()."
Mike Lockwood [Mon, 2 Jun 2014 18:20:39 +0000 (18:20 +0000)]
Merge "MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue()."

10 years agoMtpDatabase JNI: Fixed incorrect method name in ALOGE.
Martin Blumenstingl [Sat, 31 May 2014 13:53:00 +0000 (15:53 +0200)]
MtpDatabase JNI: Fixed incorrect method name in ALOGE.

Change-Id: I46688cf79f1e7554b28162df2347c4dcb571b8a9

10 years agoMtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue().
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

10 years agoam 4f8785f2: Merge "SELinuxMMAC additions to perform policy versioning checks."
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.

10 years agoMerge "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."

10 years agoam 3a9835d4: Merge "Allow SELinuxPolicyInstallReceiver to update new policy files."
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.