OSDN Git Service

android-x86/frameworks-base.git
10 years agoHandle /oem and /vendor as well
Christopher Tate [Fri, 18 Apr 2014 19:24:57 +0000 (12:24 -0700)]
Handle /oem and /vendor as well

Bug 13170859

(cherry-picked from commit 740888f62eae158d5775be716620f0d56d87f587)

Change-Id: I7b5e206697fcbec146cac6cd83fca5c583a8cbd7

10 years agoMerge "Support per-package lib dirs for bundled apps"
Narayan Kamath [Thu, 1 May 2014 13:51:08 +0000 (13:51 +0000)]
Merge "Support per-package lib dirs for bundled apps"

10 years agoSupport per-package lib dirs for bundled apps
Narayan Kamath [Thu, 1 May 2014 12:35:34 +0000 (13:35 +0100)]
Support per-package lib dirs for bundled apps

Bundled apps can now use /system/lib/apkname or /system/lib64/apkname
in addition to the (globally shared) /system/lib and /system/lib64
directories.  Note that when an app is updated post hoc the update APK
will look to its normal library install directory in
/data/data/[packagename]/lib, so such updates must include *all*
needed libraries -- the private /system/lib/apkname dir will not be in
the path following such an update.

"apkname" here is the base name of the physical APK that holds the
package's code.  For example, if a 32-bit package is resident on disk
as /system/priv-app/SettingsProvider.apk then its app-specific lib
directory will be /system/lib/SettingsProvider

Bug 13170859

(cherry picked from commit addfbdc09ccf258395db8bfc510989a4c583f7ab)

Change-Id: Id82da78024a6325458b8b134d7d91ad0e5f0785e

10 years agoMerge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 13:50:35 +0000 (13:50 +0000)]
Merge "Implement FileUtils#contains."

10 years agoImplement FileUtils#contains.
Narayan Kamath [Thu, 1 May 2014 13:01:44 +0000 (14:01 +0100)]
Implement FileUtils#contains.

Partial cherry-pick of changes 4ca728c0 and 21de56a9, which
can't be cherry-picked due to their large surface area.

Change-Id: Ife46e150d360cd5241dea93863141749233c1805

10 years agoMerge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 10:36:31 +0000 (10:36 +0000)]
Merge "Fix x86 build in app_process."

10 years agoMerge "Create arch specific cache dirs during zygote startup."
Narayan Kamath [Thu, 1 May 2014 10:36:27 +0000 (10:36 +0000)]
Merge "Create arch specific cache dirs during zygote startup."

10 years agoFix x86 build in app_process.
Narayan Kamath [Wed, 30 Apr 2014 15:45:07 +0000 (16:45 +0100)]
Fix x86 build in app_process.

Look for __i386__ and not __x86__.

(cherry picked from commit 47d526217b3fd0d17ba751c66d25cfaf1c6ed7cd)

Change-Id: I848ba351c378e59ab6744ca1983ae4463ae75ba4

10 years agoCreate arch specific cache dirs during zygote startup.
Narayan Kamath [Fri, 25 Apr 2014 10:43:22 +0000 (11:43 +0100)]
Create arch specific cache dirs during zygote startup.

The runtime expects them to exist before it's launched.
The boot image / art files are created during the first
zygote launch.

(cherry picked from commit da738713e4e2120a324e8ab6fd11aa0e54a3c66e)

Change-Id: I7472aa25c16a1cf95791af2bdf80ed0d73123872

10 years agoMerge "Fix broken logging in Zygote.cpp."
Narayan Kamath [Thu, 1 May 2014 10:15:00 +0000 (10:15 +0000)]
Merge "Fix broken logging in Zygote.cpp."

10 years agoFix broken logging in Zygote.cpp.
Narayan Kamath [Mon, 14 Apr 2014 13:46:07 +0000 (14:46 +0100)]
Fix broken logging in Zygote.cpp.

- Differentiate between clean exits and signals.
- Change the logic for the waitpid warning. We should log it
  only if the *first* call to waitpid returned ECHILD.

Change-Id: I6bc50e4ffd100fb7f3f526d6b4056bed10b8045f

10 years agoMerge "Fixes issue causing pseudolocalization of strings in non-translatable resource...
Elliott Hughes [Wed, 30 Apr 2014 21:29:52 +0000 (21:29 +0000)]
Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

10 years agoMerge "WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent"
Michael Wright [Wed, 30 Apr 2014 19:02:56 +0000 (19:02 +0000)]
Merge "WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent"

10 years agoMerge "Fix for native leaks in YuvToJpegEncoder.cpp"
Elliott Hughes [Wed, 30 Apr 2014 18:59:54 +0000 (18:59 +0000)]
Merge "Fix for native leaks in YuvToJpegEncoder.cpp"

10 years agoFixes issue causing pseudolocalization of strings
Igor Viarheichyk [Wed, 30 Apr 2014 18:56:42 +0000 (11:56 -0700)]
Fixes issue causing pseudolocalization of strings
in non-translatable resource files.

Change-Id: Ic8e5effc86226d5be00561ac71bab7695ef90376

10 years agoMerge "Cast CallVoidMethod's size_t parameters to jint"
Narayan Kamath [Wed, 30 Apr 2014 13:34:04 +0000 (13:34 +0000)]
Merge "Cast CallVoidMethod's size_t parameters to jint"

10 years agoMerge "Freeing frame map"
Narayan Kamath [Wed, 30 Apr 2014 10:58:30 +0000 (10:58 +0000)]
Merge "Freeing frame map"

10 years agoFreeing frame map
Mykola Kondratenko [Tue, 15 Apr 2014 07:35:44 +0000 (09:35 +0200)]
Freeing frame map

FileMap memory is never released until application exit

Release it now as the texture is already loaded and the memory
used for the packed resource can be released.

Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343

10 years agoWallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent
Allen Shen [Tue, 29 Apr 2014 08:16:29 +0000 (16:16 +0800)]
WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent

Originally the api 'getCropAndSetWallpaperIntent' does not check
whether the parsed parameter is a NULL pointer, as leads to the
whole app crash if it call this api with a null parameter accidentally.
A null pointer check logic is added into its original parameter check
logic, so that this API will throw an IllegalArgumentException if it
is parsed with a null pointer

Change-Id: Ib7de40e571419d09e1a744edc969eb7162766b75

10 years agoMerge "NULL previous background bitmap upon changing wallpaper"
Michael Wright [Wed, 30 Apr 2014 01:19:10 +0000 (01:19 +0000)]
Merge "NULL previous background bitmap upon changing wallpaper"

10 years agoMerge "Add missing character combinations for international layouts"
Michael Wright [Wed, 30 Apr 2014 00:01:38 +0000 (00:01 +0000)]
Merge "Add missing character combinations for international layouts"

10 years agoMerge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"
Michael Wright [Tue, 29 Apr 2014 23:58:16 +0000 (23:58 +0000)]
Merge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"

10 years agoMerge "Set NO_NEW_PRIVS on zygote init"
Nick Kralevich [Tue, 29 Apr 2014 22:20:47 +0000 (22:20 +0000)]
Merge "Set NO_NEW_PRIVS on zygote init"

10 years agoSet NO_NEW_PRIVS on zygote init
Nick Kralevich [Fri, 25 Apr 2014 22:01:24 +0000 (15:01 -0700)]
Set NO_NEW_PRIVS on zygote init

When app_process/zygote starts, make sure PR_SET_NO_NEW_PRIVS is set.
This prevents zygote spawned apps from acquiring new privileges
on exec.

In particular, this allows the CTS test
android.os.cts.SecurityFeaturesTest#testNoNewPrivs() to pass if ART is set
as the default runtime.

Change-Id: I81139cda999c7b1430242561aad28f566e9b6da0

10 years agoMerge "DO NOT MERGE Add invokeFunctor stub"
Selim Gurun [Tue, 29 Apr 2014 18:42:25 +0000 (18:42 +0000)]
Merge "DO NOT MERGE Add invokeFunctor stub"

10 years agoDO NOT MERGE Add invokeFunctor stub
Bo Liu [Tue, 29 Apr 2014 18:38:37 +0000 (11:38 -0700)]
DO NOT MERGE Add invokeFunctor stub

Change-Id: Ib7637d68c4f63065b909075a8f5d8cd1dd0674bd

10 years agoAdd missing character combinations for international layouts
Mathieu Meisser [Tue, 17 Dec 2013 17:07:40 +0000 (18:07 +0100)]
Add missing character combinations for international layouts

Czech: add missing capslock for numbers and shift+ralt
mappings.
Slovak: fix wrong ralt mappings, add missing ralt mappings
and fixed wrong PLUS key character.
US intl: add missing capslock+ralt support.
Swiss French and Swiss German: add missing ralt mapping for key
numbers 4 and 5, and add missing capslock and capslock+
shift for SEMICOLON and APOSTROPHE.

Change-Id: I02c94bf13d5268d5d1e648c96b7251cb7564f233
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Manuel Carthoblaz <mcarthob@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
10 years agoMerge "Fix two zygote imports."
Elliott Hughes [Tue, 29 Apr 2014 03:54:49 +0000 (03:54 +0000)]
Merge "Fix two zygote imports."

10 years agoFix two zygote imports.
Elliott Hughes [Tue, 29 Apr 2014 03:53:52 +0000 (20:53 -0700)]
Fix two zygote imports.

Change-Id: I5eea2d9f48479c33e1594aaa259274e5e787a1df

10 years agoMerge "Remove unused import."
Elliott Hughes [Tue, 29 Apr 2014 03:52:10 +0000 (03:52 +0000)]
Merge "Remove unused import."

10 years agoRemove unused import.
Elliott Hughes [Tue, 29 Apr 2014 03:51:34 +0000 (20:51 -0700)]
Remove unused import.

Change-Id: I3f6a035cda55859a7a521f3117da72ee962beb63

10 years agoMerge "Move the Zygote off libcore.os and onto android.system."
Elliott Hughes [Tue, 29 Apr 2014 02:28:06 +0000 (02:28 +0000)]
Merge "Move the Zygote off libcore.os and onto android.system."

10 years agoMove the Zygote off libcore.os and onto android.system.
Elliott Hughes [Tue, 29 Apr 2014 02:19:13 +0000 (19:19 -0700)]
Move the Zygote off libcore.os and onto android.system.

Change-Id: Iaa20e50b05fad355bdf15bcfdc58efc9941c400c

10 years agoMerge "Fix build."
Elliott Hughes [Mon, 28 Apr 2014 19:41:24 +0000 (19:41 +0000)]
Merge "Fix build."

10 years agoFix build.
Elliott Hughes [Mon, 28 Apr 2014 19:40:12 +0000 (12:40 -0700)]
Fix build.

Change-Id: I0bd6e1aac19276bf664accd8d38f86d2cc7450cc

10 years agoMerge "Track libcore.os' move to android.system."
Elliott Hughes [Mon, 28 Apr 2014 18:13:59 +0000 (18:13 +0000)]
Merge "Track libcore.os' move to android.system."

10 years agoTrack libcore.os' move to android.system.
Elliott Hughes [Mon, 28 Apr 2014 18:11:32 +0000 (11:11 -0700)]
Track libcore.os' move to android.system.

(This is partial, but should cover everything in AOSP master except
for the zygote.)

Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d

10 years agoMerge "Use Runtime.gc instead of System.gc for DDMS."
Mathieu Chartier [Mon, 28 Apr 2014 18:10:41 +0000 (18:10 +0000)]
Merge "Use Runtime.gc instead of System.gc for DDMS."

10 years agoUse Runtime.gc instead of System.gc for DDMS.
Mathieu Chartier [Mon, 28 Apr 2014 17:16:17 +0000 (10:16 -0700)]
Use Runtime.gc instead of System.gc for DDMS.

System.gc doesn't always do a GC unless to attempt to run the
finalizers after you call System.gc.

Bug: 14325353
Change-Id: Iebed7fad5576d610cea13a86e7d3d46652c67478

10 years agoMerge "Telephony: Add functionality to handle ICC IO error"
Wink Saville [Fri, 25 Apr 2014 23:58:11 +0000 (23:58 +0000)]
Merge "Telephony: Add functionality to handle ICC IO error"

10 years agoMerge "EventLog: event log translation errors"
Mark Salyzyn [Fri, 25 Apr 2014 21:59:18 +0000 (21:59 +0000)]
Merge "EventLog: event log translation errors"

10 years agoEventLog: event log translation errors
Mark Salyzyn [Fri, 25 Apr 2014 20:25:18 +0000 (13:25 -0700)]
EventLog: event log translation errors

- Deal with L using v3 event log format, or K using v1 or v2 event log format

Change-Id: Id4fb205f51b7e506135888d565acf1604497b91f

10 years agoMerge "Release DrmManagerClient resources"
Marco Nelissen [Fri, 25 Apr 2014 14:42:02 +0000 (14:42 +0000)]
Merge "Release DrmManagerClient resources"

10 years agoMerge "Add a stub for forgotten callback to fix master-gpl."
Selim Gurun [Fri, 25 Apr 2014 01:08:48 +0000 (01:08 +0000)]
Merge "Add a stub for forgotten callback to fix master-gpl."

10 years agoAdd a stub for forgotten callback to fix master-gpl.
Selim Gurun [Fri, 25 Apr 2014 01:04:04 +0000 (18:04 -0700)]
Add a stub for forgotten callback to fix master-gpl.

Change-Id: I375dba89403d09dc39f696de04e0811633ecc803

10 years agoMerge "Add a stub to fix master-gpl"
Selim Gurun [Fri, 25 Apr 2014 00:39:09 +0000 (00:39 +0000)]
Merge "Add a stub to fix master-gpl"

10 years agoAdd a stub to fix master-gpl
Selim Gurun [Fri, 25 Apr 2014 00:29:55 +0000 (17:29 -0700)]
Add a stub to fix master-gpl

Change-Id: I4cadd3a6e33843ccac4ef2eacbe508e40628367c

10 years agoMerge "Use the suggested public API instead of libcore.os."
Elliott Hughes [Thu, 24 Apr 2014 23:52:16 +0000 (23:52 +0000)]
Merge "Use the suggested public API instead of libcore.os."

10 years agoUse the suggested public API instead of libcore.os.
Elliott Hughes [Thu, 24 Apr 2014 00:58:57 +0000 (17:58 -0700)]
Use the suggested public API instead of libcore.os.

Change-Id: Id392e4c36c5721ca609d88d9ec6b9340ce05274c

10 years agoMerge "jni: android_util_Process 64 bit issues"
Mark Salyzyn [Thu, 24 Apr 2014 22:10:22 +0000 (22:10 +0000)]
Merge "jni: android_util_Process 64 bit issues"

10 years agojni: android_util_Process 64 bit issues
Mark Salyzyn [Thu, 24 Apr 2014 20:05:18 +0000 (13:05 -0700)]
jni: android_util_Process 64 bit issues

- critical issue with using %lld to scanf into a jlong
- subsidiary issues with mix jint, jsize and jlong printing

Change-Id: I77c6b3d3a202fec741cacc540fc39ad6cba25f52

10 years agoMerge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"
Nick Kralevich [Thu, 24 Apr 2014 18:18:01 +0000 (18:18 +0000)]
Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"

10 years agoZygote: enable CAP_BLOCK_SUSPEND capability for system server
Daniel Leung [Fri, 20 Dec 2013 18:37:35 +0000 (10:37 -0800)]
Zygote: enable CAP_BLOCK_SUSPEND capability for system server

Starting from kernel 3.6, it requires processes to have the capability
CAP_BLOCK_SUSPEND to set/unset wake locks. Adds CAP_BLOCK_SUSPEND
to the list of capabilities for system server, so that PowerManager
can set wake locks.

Change-Id: I3246e6f6e6cb8f0bedb1c0417ed07085ee1f3aaa
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
10 years agoMerge "Fix a typo in an assertion."
Elliott Hughes [Wed, 23 Apr 2014 23:55:33 +0000 (23:55 +0000)]
Merge "Fix a typo in an assertion."

10 years agoFix a typo in an assertion.
Elliott Hughes [Wed, 23 Apr 2014 23:54:33 +0000 (16:54 -0700)]
Fix a typo in an assertion.

Change-Id: I3e97bb3cb8070c0ec0c6b97769f1da3e7b4ef8f5

10 years agoMerge "Changes to support asynchronous close interruption"
Neil Fuller [Wed, 23 Apr 2014 16:41:16 +0000 (16:41 +0000)]
Merge "Changes to support asynchronous close interruption"

10 years agoChanges to support asynchronous close interruption
Neil Fuller [Fri, 11 Apr 2014 16:29:54 +0000 (17:29 +0100)]
Changes to support asynchronous close interruption

This change contains fixes to base from libcore change
I37de3e7d1a005a73821221e6156d10b95c595d7a

Bug: 13927110

Change-Id: I2d96e50307611c269dcf47886cd4d976854da8fc

10 years agoMerge "Add missing ICU_Delegate methods."
Deepanshu Gupta [Tue, 22 Apr 2014 23:08:05 +0000 (23:08 +0000)]
Merge "Add missing ICU_Delegate methods."

10 years agoMerge "remove unneeded import statements."
Nick Kralevich [Tue, 22 Apr 2014 19:24:47 +0000 (19:24 +0000)]
Merge "remove unneeded import statements."

10 years agoMerge "remove unused import."
Nick Kralevich [Tue, 22 Apr 2014 19:23:30 +0000 (19:23 +0000)]
Merge "remove unused import."

10 years agoremove unneeded import statements.
Nick Kralevich [Tue, 22 Apr 2014 19:17:51 +0000 (12:17 -0700)]
remove unneeded import statements.

Internal master is out of sync with AOSP. Resync.

Change-Id: Ia3105a4b6eb835f719471a26ae4cb33962c5b19e

10 years agoremove unused import.
Nick Kralevich [Tue, 22 Apr 2014 19:10:24 +0000 (12:10 -0700)]
remove unused import.

This change resynchronizes AOSP with internal master.
The import line is unused.

Change-Id: I98bef1f88dee758f5bdcec35fba204f793d4028e

10 years agoAdd TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()
Zach Swasey [Fri, 18 Apr 2014 00:49:35 +0000 (17:49 -0700)]
Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()

This fixes a bug where a View with filterTouchesWhenObscured will have
all touches filtered when in magnification accessibility mode. This is
due to magnification being a separate Window over top of the running
Activity. The method onFilterTouchEventForSecurity in View will then
always return false when filterTouchesWhenObscured is enabled on the
View. By adding the magnification Window to the list of Trusted Overlays
we can ensure that touches will work properly with this property enabled.

Change-Id: I07706588a625682d05da5cb19f401139eb08a54c

10 years agoAdd missing ICU_Delegate methods.
Deepanshu Gupta [Mon, 21 Apr 2014 21:33:33 +0000 (14:33 -0700)]
Add missing ICU_Delegate methods.

Update the ICU_Delegate to add methods originally added in
I5de58be7e8a701f2c40182ea54bceff85ec1aad2

Change-Id: I536834fe76cbc7dae05580182fee1bea956e3e77

10 years agoMerge "EGL_OPENGL_ES3_BIT_KHR is set as ES 3 context is requested."
Jesse Hall [Mon, 21 Apr 2014 19:38:45 +0000 (19:38 +0000)]
Merge "EGL_OPENGL_ES3_BIT_KHR is set as ES 3 context is requested."

10 years agoMerge "Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs."
Ying Wang [Sat, 19 Apr 2014 00:07:49 +0000 (00:07 +0000)]
Merge "Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs."

10 years agoUse LOCAL_JNI_SHARED_LIBRARIES to install JNI libs.
Ying Wang [Fri, 18 Apr 2014 01:14:50 +0000 (18:14 -0700)]
Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs.

Change-Id: Ibef01983891377b859d28cff801f48ef5d8eabb2

10 years agoMerge "Fix warning introduced by recent psuedolocalizer change."
Elliott Hughes [Fri, 18 Apr 2014 23:16:43 +0000 (23:16 +0000)]
Merge "Fix warning introduced by recent psuedolocalizer change."

10 years agoFix warning introduced by recent psuedolocalizer change.
Elliott Hughes [Fri, 18 Apr 2014 23:15:27 +0000 (16:15 -0700)]
Fix warning introduced by recent psuedolocalizer change.

Change-Id: I577caf6ca4261b3d044b18bc8c5915012168031d

10 years agoMerge "Pseudolocalizer improvements."
Elliott Hughes [Fri, 18 Apr 2014 22:32:53 +0000 (22:32 +0000)]
Merge "Pseudolocalizer improvements."

10 years agoMerge "Native Runtime: Add LOG_ID_CRASH"
Mark Salyzyn [Fri, 18 Apr 2014 14:55:31 +0000 (14:55 +0000)]
Merge "Native Runtime: Add LOG_ID_CRASH"

10 years agoMerge "jni: binder ptrdiff_t compile issues"
Mark Salyzyn [Fri, 18 Apr 2014 00:40:01 +0000 (00:40 +0000)]
Merge "jni: binder ptrdiff_t compile issues"

10 years agojni: binder ptrdiff_t compile issues
Mark Salyzyn [Fri, 18 Apr 2014 00:25:36 +0000 (17:25 -0700)]
jni: binder ptrdiff_t compile issues

Change-Id: Ibdd82479d3f9fb53cf1d6793c4f7353e8f1c3646

10 years agoMerge "jni: binder 64-bit compile issues"
Mark Salyzyn [Thu, 17 Apr 2014 22:52:58 +0000 (22:52 +0000)]
Merge "jni: binder 64-bit compile issues"

10 years agojni: binder 64-bit compile issues
Mark Salyzyn [Thu, 17 Apr 2014 22:40:01 +0000 (15:40 -0700)]
jni: binder 64-bit compile issues

Change-Id: I8a3083e7e9389bbb84c2dd061fef059e0595800d

10 years agoMerge "Fix improper use of JNI_ABORT for operations where Java objects are written."
Stephen Hines [Thu, 17 Apr 2014 18:15:37 +0000 (18:15 +0000)]
Merge "Fix improper use of JNI_ABORT for operations where Java objects are written."

10 years agoFix improper use of JNI_ABORT for operations where Java objects are written.
Stephen Hines [Thu, 17 Apr 2014 08:02:42 +0000 (01:02 -0700)]
Fix improper use of JNI_ABORT for operations where Java objects are written.

In these RS API calls, it is possible (and very likely) that some Java objects
are written to via JNI calls into the RS driver. These writes can end up being
discarded if we specify JNI_ABORT, particularly if the Java object has been
moved due to GC. The change introduces a readonly mode for some macro calls
and updates other JNI callers to appropriately skip JNI_ABORT.

Change-Id: I8c5f2ae959b3fbc9008c9d2ac4542f2ebab29b06

10 years agoMerge "Add BiCubic resize instrinsic"
Jason Sams [Thu, 17 Apr 2014 01:22:18 +0000 (01:22 +0000)]
Merge "Add BiCubic resize instrinsic"

10 years agoAdd BiCubic resize instrinsic
Jason Sams [Thu, 17 Apr 2014 00:13:09 +0000 (17:13 -0700)]
Add BiCubic resize instrinsic

Change-Id: Iafec3f4260bb5d3a3133b034e42dfb0a94ae9f81

10 years agoMerge "frameworks: 64 bit compile issues"
Mark Salyzyn [Wed, 16 Apr 2014 19:21:44 +0000 (19:21 +0000)]
Merge "frameworks: 64 bit compile issues"

10 years agoframeworks: 64 bit compile issues
Mark Salyzyn [Wed, 16 Apr 2014 17:28:37 +0000 (10:28 -0700)]
frameworks: 64 bit compile issues

ToDo: core/jni/com_android_internal_net_NetworkStatsFactory.cpp (merge issues)

Change-Id: I5cf0bbb868e6c18e86c97c6491b6ee983a8ee1a2

10 years agoNative Runtime: Add LOG_ID_CRASH
Mark Salyzyn [Wed, 9 Apr 2014 14:39:15 +0000 (07:39 -0700)]
Native Runtime: Add LOG_ID_CRASH

Change-Id: I4e3a82636901c5169cc6b714a4fec815cd757c58

10 years agoMerge "Remove code markers"
Dmitriy Ivanov [Tue, 15 Apr 2014 19:19:53 +0000 (19:19 +0000)]
Merge "Remove code markers"

10 years agoRemove code markers
Dmitriy Ivanov [Tue, 15 Apr 2014 15:30:57 +0000 (08:30 -0700)]
Remove code markers

Change-Id: I2defbdeddca39685194751022e6dcb5f1a48a0e9

10 years agoRelease DrmManagerClient resources
Mattias Nilsson [Wed, 26 Mar 2014 12:38:34 +0000 (13:38 +0100)]
Release DrmManagerClient resources

Call release for DrmManagerClient to avoid resource leaks

Introduced by following commit (5d143ad4a8f...),
"Media scanner support for FL(Forward Lock) DRM file types"

Change-Id: Ic3c458579f4e99b3b072a2e13362d1996b982589

10 years agoEGL_OPENGL_ES3_BIT_KHR is set as ES 3 context is requested.
Jin Zhebin [Tue, 21 Jan 2014 07:27:20 +0000 (15:27 +0800)]
EGL_OPENGL_ES3_BIT_KHR is set as ES 3 context is requested.

OpenGL ES have 3 configuration: 1(EGL10.EGL_RENDERABLE_TYPE),
2(EGL_OPENGL_ES2_BIT), 3(EGL_OPENGL_ES3_BIT_KHR). The driver
should be get the according configuration parameter.
Now 1 is set to driver when Configuration 3 is set from user.
Specification EGL_OPENGL_ES3_BIT_KHR is set to driver when a OpenGL
ES 3 context is requested in setEGLContextClientVersion().

Change-Id: I980d9d8dbe5754295f8329fcf9378962d669fa89
Signed-off-by: Jin Zhebin <zhebinx.jin@intel.com>
Signed-off-by: bdeng3X <bingx.deng@intel.com>
10 years agoMerge "Don't compare String8s to NULL."
Narayan Kamath [Mon, 14 Apr 2014 08:18:24 +0000 (08:18 +0000)]
Merge "Don't compare String8s to NULL."

10 years agoDon't compare String8s to NULL.
Narayan Kamath [Sat, 12 Apr 2014 11:25:50 +0000 (12:25 +0100)]
Don't compare String8s to NULL.

Use String8::isEmpty instead. Note that this code path is hit
only if the zygote calls ::exit, and that never happens unless
the VM invocation fails.

Change-Id: I0e7d3a86a79b12b2174ca3bf0dbe1904e33c041a

10 years agoMerge "Workaround 64 bit devices that don't have zygotes yet."
Narayan Kamath [Fri, 11 Apr 2014 18:29:54 +0000 (18:29 +0000)]
Merge "Workaround 64 bit devices that don't have zygotes yet."

10 years agoWorkaround 64 bit devices that don't have zygotes yet.
Narayan Kamath [Fri, 11 Apr 2014 17:44:31 +0000 (18:44 +0100)]
Workaround 64 bit devices that don't have zygotes yet.

This can be fixed by tweaking their BoardConfig as well,
but that leads to all sorts of other problems.

For now, fall back to the primary zygote if the secondary
is unavailable. This will fail if shared libraries for the
primary zygote ABI are unavailable, but that won't be the
case just yet.

bug: 13970103
Change-Id: Ifa107e43ca95023d57a0d9c641e4fddaccd9a888

10 years agoMerge "generateProjectThumbnail can fail to close output stream"
Elliott Hughes [Fri, 11 Apr 2014 17:37:54 +0000 (17:37 +0000)]
Merge "generateProjectThumbnail can fail to close output stream"

10 years agoMerge "Add additional languages to be accepted by the NumberPicker input filter"
Elliott Hughes [Fri, 11 Apr 2014 17:30:09 +0000 (17:30 +0000)]
Merge "Add additional languages to be accepted by the NumberPicker input filter"

10 years agoMerge "Add explicit close of Scanner input"
Elliott Hughes [Fri, 11 Apr 2014 17:14:39 +0000 (17:14 +0000)]
Merge "Add explicit close of Scanner input"

10 years agoMerge "Dual zygote cleanup."
Narayan Kamath [Fri, 11 Apr 2014 08:24:52 +0000 (08:24 +0000)]
Merge "Dual zygote cleanup."

10 years agoMerge "Removed android.debug.JNITest from preloaded-classes"
Narayan Kamath [Thu, 10 Apr 2014 11:18:28 +0000 (11:18 +0000)]
Merge "Removed android.debug.JNITest from preloaded-classes"

10 years agoDual zygote cleanup.
Narayan Kamath [Thu, 10 Apr 2014 11:13:06 +0000 (12:13 +0100)]
Dual zygote cleanup.

- Use different process names for the 32 / 64 bit zygote.
- Pass command line arguments correctly. The first unmatched
  argument must be passed through to the java main class.

Change-Id: I952ebbdbba941f118d992354b9bd0ada2dade417

10 years agoMerge "System services detect and register app CPU ABIs"
Narayan Kamath [Thu, 10 Apr 2014 09:20:21 +0000 (09:20 +0000)]
Merge "System services detect and register app CPU ABIs"

10 years agoMerge "Re-implement native library search and copies."
Narayan Kamath [Thu, 10 Apr 2014 09:19:38 +0000 (09:19 +0000)]
Merge "Re-implement native library search and copies."

10 years agoPseudolocalizer improvements.
Anton Krumin [Wed, 12 Mar 2014 21:46:44 +0000 (14:46 -0700)]
Pseudolocalizer improvements.

Fixes accented pseudolocalization and adds RTL pseudolocale.

This change contains following modifications in the pseudolocalization logic:
1) zz_ZZ pseudolocale was removed;
2) en_XA pseudolocale was added for pseudo-accented;
3) ar_XB pseudolocale was added for pseudo-rtl;
4) Pseudo RTL localization functionality was implemented;
5) Text expansion functionality was implemented;
6) Text bracketing was implemented;
7) Couple of issues of previous implementation were fixed.

Change-Id: I9f7f27bed717e39e82717d15c398decffc8bec3c
Signed-off-by: Anton Krumin <antkrumin@google.com>
10 years agoSystem services detect and register app CPU ABIs
Ramin Zaghi [Tue, 1 Apr 2014 14:02:29 +0000 (15:02 +0100)]
System services detect and register app CPU ABIs

This patch uses the NativeLibraryHelper class to
match native libraries in an .apk package with
those listed in 'ro.cpu.abilist' property.
The result is stored in packages.xml and the
ApplicationInfo class.

This information will be used by the ActivityManager
to decide which zygote to use to launch the given
app.

Change-Id: I3ec3d050996d8f4621f286ca331b9ad47ea26fa0