OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 6bcdf90e: Merge "Delete unused testing scripts and WithFramework."
Narayan Kamath [Thu, 2 Jul 2015 11:28:40 +0000 (11:28 +0000)]
am 6bcdf90e: Merge "Delete unused testing scripts and WithFramework."

* commit '6bcdf90e49ca8ed1ac7a9074d5f6b79889451001':
  Delete unused testing scripts and WithFramework.

9 years agoMerge "Delete unused testing scripts and WithFramework."
Narayan Kamath [Thu, 2 Jul 2015 11:18:18 +0000 (11:18 +0000)]
Merge "Delete unused testing scripts and WithFramework."

9 years agoDelete unused testing scripts and WithFramework.
Narayan Kamath [Thu, 25 Jun 2015 13:22:00 +0000 (14:22 +0100)]
Delete unused testing scripts and WithFramework.

These scripts haven't worked in a long time now. run_core_test
uses VM options that aren't supported and WithFramework (which is
unmaintained) and run_junit.sh refers to an APK that doesn't
exist anymore.

If anyone wishes to run these tests individually, they can just
use vogar instead :
$ make vogar vogar.jar
$ vogar --mode=activity frameworks/base/tests/CoreTests/android/core/Sha1Test.java

This also allows us to delete the WithFramework class, which was
only referenced by these obsolete scripts.

bug: 22078684
Change-Id: I481f6721d51d50456421a1526c370b93aec9b351

9 years agoam 1d50879b: Merge "Remove memory leak in PersistentDataBlockService jni"
Narayan Kamath [Wed, 1 Jul 2015 13:44:56 +0000 (13:44 +0000)]
am 1d50879b: Merge "Remove memory leak in PersistentDataBlockService jni"

* commit '1d50879b1d183d4caa15b9685515b5f959213fe9':
  Remove memory leak in PersistentDataBlockService jni

9 years agoMerge "Remove memory leak in PersistentDataBlockService jni"
Narayan Kamath [Wed, 1 Jul 2015 13:32:04 +0000 (13:32 +0000)]
Merge "Remove memory leak in PersistentDataBlockService jni"

9 years agoRemove memory leak in PersistentDataBlockService jni
Henrik Baard [Tue, 23 Jun 2015 07:36:36 +0000 (09:36 +0200)]
Remove memory leak in PersistentDataBlockService jni

When calling the methods
 com_android_server_PersistentDataBlockService_getBlockDeviceSize()
 com_android_server_PersistentDataBlockService_wipe()
memory is leaked because string created by
 GetStringUTFChars() is not released.

Use ScopedUtfChars instead to ensure that memory is released.

Change-Id: I880a6d66a4824778b411b858774b8ffa009c1e17

9 years agoam 3b43f862: Merge "[RenderScript] update the type of offsets for BLAS.BNNM"
Miao Wang [Wed, 1 Jul 2015 06:01:32 +0000 (06:01 +0000)]
am 3b43f862: Merge "[RenderScript] update the type of offsets for BLAS.BNNM"

* commit '3b43f862d09cf420a36ac372edcfddd4c4a68aa5':
  [RenderScript] update the type of offsets for BLAS.BNNM

9 years agoMerge "[RenderScript] update the type of offsets for BLAS.BNNM"
Miao Wang [Wed, 1 Jul 2015 05:53:41 +0000 (05:53 +0000)]
Merge "[RenderScript] update the type of offsets for BLAS.BNNM"

9 years ago[RenderScript] update the type of offsets for BLAS.BNNM
Miao Wang [Tue, 30 Jun 2015 00:43:03 +0000 (17:43 -0700)]
[RenderScript] update the type of offsets for BLAS.BNNM

bug: 22184114

Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
(cherry picked from commit 6099ee6e081904e73e0fad331e326b0607b6b1dc)

9 years agoam 6463dd52: Merge "add comment about xor not being porter/duff Bug: 21934855"
John Hoford [Tue, 30 Jun 2015 22:44:56 +0000 (22:44 +0000)]
am 6463dd52: Merge "add comment about xor not being porter/duff Bug: 21934855"

* commit '6463dd52470a2279e699647a282a085c00604d0c':
  add comment about xor not being porter/duff Bug: 21934855

9 years agoMerge "add comment about xor not being porter/duff Bug: 21934855"
John Hoford [Tue, 30 Jun 2015 22:34:43 +0000 (22:34 +0000)]
Merge "add comment about xor not being porter/duff Bug: 21934855"

9 years agoadd comment about xor not being porter/duff
John Hoford [Tue, 30 Jun 2015 01:15:22 +0000 (18:15 -0700)]
add comment about xor not being porter/duff
Bug: 21934855

Change-Id: I99394bd8a7a40a220c05118564b532f2533da38a

9 years agoam 61e8329b: Merge "Replace parentheses with curly braces to fix vector doc bug."
Stephen Hines [Tue, 30 Jun 2015 01:21:30 +0000 (01:21 +0000)]
am 61e8329b: Merge "Replace parentheses with curly braces to fix vector doc bug."

* commit '61e8329bb84919823b4c8b93c025ab9b110cd618':
  Replace parentheses with curly braces to fix vector doc bug.

9 years agoMerge "Replace parentheses with curly braces to fix vector doc bug."
Stephen Hines [Tue, 30 Jun 2015 01:11:14 +0000 (01:11 +0000)]
Merge "Replace parentheses with curly braces to fix vector doc bug."

9 years agoReplace parentheses with curly braces to fix vector doc bug.
Stephen Hines [Tue, 30 Jun 2015 01:04:37 +0000 (18:04 -0700)]
Replace parentheses with curly braces to fix vector doc bug.

https://code.google.com/p/android/issues/detail?id=178299

Change-Id: I3ae31d48a39e8db9976fdedde560e870b23e2c83

9 years agoam 0eba4019: Merge "Add Java doc comments on script group name reuse"
Yang Ni [Mon, 29 Jun 2015 22:52:48 +0000 (22:52 +0000)]
am 0eba4019: Merge "Add Java doc comments on script group name reuse"

* commit '0eba40194e41c4f4a78a65041b3e736240b07b77':
  Add Java doc comments on script group name reuse

9 years agoMerge "Add Java doc comments on script group name reuse"
Yang Ni [Mon, 29 Jun 2015 22:39:49 +0000 (22:39 +0000)]
Merge "Add Java doc comments on script group name reuse"

9 years agoAdd Java doc comments on script group name reuse
Yang Ni [Thu, 25 Jun 2015 00:06:10 +0000 (17:06 -0700)]
Add Java doc comments on script group name reuse

b/21999787

Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
(cherry picked from commit dbb6fd58a4b113f8761ce825ad5b91e50c170971)

9 years agoam 16d520fc: Merge "Rename ZipEntryName to ZipString"
Yusuke Sato [Mon, 29 Jun 2015 18:01:14 +0000 (18:01 +0000)]
am 16d520fc: Merge "Rename ZipEntryName to ZipString"

* commit '16d520fce6a3cecdc6b50e184a00b9585b86e512':
  Rename ZipEntryName to ZipString

9 years agoMerge "Rename ZipEntryName to ZipString"
Yusuke Sato [Mon, 29 Jun 2015 17:49:28 +0000 (17:49 +0000)]
Merge "Rename ZipEntryName to ZipString"

9 years agoam ffe72f70: Merge "Use the correct lock to protect members in PolicyControl"
Wale Ogunwale [Mon, 29 Jun 2015 15:17:30 +0000 (15:17 +0000)]
am ffe72f70: Merge "Use the correct lock to protect members in PolicyControl"

* commit 'ffe72f70e0da02868848c7e71d8f44a5463925ea':
  Use the correct lock to protect members in PolicyControl

9 years agoMerge "Use the correct lock to protect members in PolicyControl"
Wale Ogunwale [Mon, 29 Jun 2015 15:09:29 +0000 (15:09 +0000)]
Merge "Use the correct lock to protect members in PolicyControl"

9 years agoUse the correct lock to protect members in PolicyControl
tiger_huang [Mon, 29 Jun 2015 09:17:30 +0000 (17:17 +0800)]
Use the correct lock to protect members in PolicyControl

Members in PolicyControl can be accessed by multiple threads via the
public functions called by PhoneWindowManager. Most of the functions
are called with the window-manager-lock held, but reloadFromSetting()
is an exception.

In this patch, we acquire the window-manager-lock before calling
reloadFromSetting() to ensure accessing the members with the same
lock held.

Change-Id: I54ac5cab2a2d74c568fa96145f7a6741c6d99e36

9 years agoRename ZipEntryName to ZipString
Yusuke Sato [Thu, 25 Jun 2015 21:58:16 +0000 (14:58 -0700)]
Rename ZipEntryName to ZipString

Also add a 4th parameter to StartIteration(). This is for
https://android-review.googlesource.com/#/c/156771/.

Bug: 21957428
Change-Id: Ifbf9aec2f04b214b57e99c306282d7c0d39675a9

9 years agoam 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."
Tenghui Zhu [Thu, 25 Jun 2015 21:19:09 +0000 (21:19 +0000)]
am 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."

* commit '78db19c25a3a18d9ccf19b91be17e791e4fd782c':
  Limit dotProduct value to 1.0f, so acosf would not return NaN.

9 years agoMerge "Limit dotProduct value to 1.0f, so acosf would not return NaN."
Tenghui Zhu [Thu, 25 Jun 2015 21:07:12 +0000 (21:07 +0000)]
Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."

9 years agoam fdb70dc4: Merge "Fix filedescriptor leakage in MediaMetadataRetriever"
Narayan Kamath [Thu, 25 Jun 2015 09:48:46 +0000 (09:48 +0000)]
am fdb70dc4: Merge "Fix filedescriptor leakage in MediaMetadataRetriever"

* commit 'fdb70dc4346f801673aa700f3fca2b8cc77b809c':
  Fix filedescriptor leakage in MediaMetadataRetriever

9 years agoam a78c0e0b: Merge "Fixed Javadoc typos"
Narayan Kamath [Thu, 25 Jun 2015 09:48:39 +0000 (09:48 +0000)]
am a78c0e0b: Merge "Fixed Javadoc typos"

* commit 'a78c0e0b9aff70d03101a25b47024f6d02cb93e2':
  Fixed Javadoc typos

9 years agoLimit dotProduct value to 1.0f, so acosf would not return NaN.
Lazar Trsic [Tue, 23 Jun 2015 09:46:49 +0000 (11:46 +0200)]
Limit dotProduct value to 1.0f, so acosf would not return NaN.

Due to precision loss of float math, we sometimes get 1.000001f for
dotProduct. This causes NaN result from acosf() and floor() funcs.

At the moment, this does not cause any problems on ARM, as casting
NaN to int results in 0. On mips however (possibly on x86), such cast
gives INT_MAX, so crash occurs when trying to use the resulting value.

Change-Id: I8e0285a0306a65b8469d9f4885c19665066fc4c8

9 years agoMerge "Fix filedescriptor leakage in MediaMetadataRetriever"
Narayan Kamath [Thu, 25 Jun 2015 08:33:49 +0000 (08:33 +0000)]
Merge "Fix filedescriptor leakage in MediaMetadataRetriever"

9 years agoFix filedescriptor leakage in MediaMetadataRetriever
harvey_tsai [Thu, 11 Jun 2015 03:51:36 +0000 (11:51 +0800)]
Fix filedescriptor leakage in MediaMetadataRetriever

setDataSource(String) throws an IllegalArgumentException
when an IOException or FileNotFoundException occurs, but doesn't
close FileDescriptor accordingly.

Change-Id: Ib6e0f1418afeeb19e03abd4bedb4cc845a58b6b4

9 years agoMerge "Fixed Javadoc typos"
Narayan Kamath [Thu, 25 Jun 2015 08:27:47 +0000 (08:27 +0000)]
Merge "Fixed Javadoc typos"

9 years agoFixed Javadoc typos
Philipp Hasper [Tue, 12 May 2015 07:09:25 +0000 (09:09 +0200)]
Fixed Javadoc typos

Simple single character typos

Change-Id: I17660dbb3b7ee6597637e8d76770f434ebf202ea

9 years agoam 08592bd0: Merge "Frameworks/base: Add tracing system properties"
Andreas Gampe [Thu, 25 Jun 2015 03:53:59 +0000 (03:53 +0000)]
am 08592bd0: Merge "Frameworks/base: Add tracing system properties"

* commit '08592bd0f7daf5c1d10baf78d5e216befd7b6a8e':
  Frameworks/base: Add tracing system properties

9 years agoMerge "Frameworks/base: Add tracing system properties"
Andreas Gampe [Thu, 25 Jun 2015 03:44:43 +0000 (03:44 +0000)]
Merge "Frameworks/base: Add tracing system properties"

9 years agoFrameworks/base: Add tracing system properties
Andreas Gampe [Tue, 23 Jun 2015 04:09:36 +0000 (21:09 -0700)]
Frameworks/base: Add tracing system properties

Add system properties to support zygote-started method tracing.
These are needed as the limit on system properties does not allow
the reuse of the runtime extra options system property.

Bug: 21760614

(cherry picked from commit 98f406f6f31660d0f5ee32113ffadc720b426dc6)

Change-Id: I3785cc5715acadbee81ef7b45081ed780f1351d3

9 years agoam c2a30713: Merge "Duplicate description on AccessibilityEvent"
Alan Viverette [Wed, 24 Jun 2015 23:01:06 +0000 (23:01 +0000)]
am c2a30713: Merge "Duplicate description on AccessibilityEvent"

* commit 'c2a30713793a60b7a1ab039da43f6510b06b0b7d':
  Duplicate description on AccessibilityEvent

9 years agoMerge "Duplicate description on AccessibilityEvent"
Alan Viverette [Wed, 24 Jun 2015 22:47:01 +0000 (22:47 +0000)]
Merge "Duplicate description on AccessibilityEvent"

9 years agoam 9a65f9dd: Merge "Add an AM option to start with allocation tracking"
Mathieu Chartier [Wed, 24 Jun 2015 21:08:53 +0000 (21:08 +0000)]
am 9a65f9dd: Merge "Add an AM option to start with allocation tracking"

* commit '9a65f9ddd066c1824e2068ed114d72862689f6b0':
  Add an AM option to start with allocation tracking

9 years agoMerge "Add an AM option to start with allocation tracking"
Mathieu Chartier [Wed, 24 Jun 2015 20:55:38 +0000 (20:55 +0000)]
Merge "Add an AM option to start with allocation tracking"

9 years agoAdd an AM option to start with allocation tracking
Man Cao [Fri, 12 Jun 2015 03:14:34 +0000 (20:14 -0700)]
Add an AM option to start with allocation tracking

The new option "--track-allocation" is to work with the new
allocation tracker in ART.

Bug:20037135
Change-Id: Ic5f8945ab4c1f167c27b05ad0d11d04bac680c1f

9 years agoam 299a3393: Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."
Hiroshi Yamauchi [Wed, 24 Jun 2015 18:26:48 +0000 (18:26 +0000)]
am 299a3393: Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."

* commit '299a339335221f009bddd07ff9f08ab28a07947c':
  Clarify art.gc.gc-count-rate-histogram runtime stat.

9 years agoMerge "Clarify art.gc.gc-count-rate-histogram runtime stat."
Hiroshi Yamauchi [Wed, 24 Jun 2015 18:13:00 +0000 (18:13 +0000)]
Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."

9 years agoClarify art.gc.gc-count-rate-histogram runtime stat.
Hiroshi Yamauchi [Thu, 28 May 2015 22:28:16 +0000 (15:28 -0700)]
Clarify art.gc.gc-count-rate-histogram runtime stat.

(cherry pick commit 2d6327d0adaf6ca3d13e1e082f55680cfefcc449)

Bug: 21491908
Change-Id: I84d93aa73eebc327513c4663a6b606e2dad9a0b7

9 years agoam e6734b6b: Merge "Fix javadoc for Adapter.getViewTypeCount()"
Wale Ogunwale [Tue, 23 Jun 2015 17:12:01 +0000 (17:12 +0000)]
am e6734b6b: Merge "Fix javadoc for Adapter.getViewTypeCount()"

* commit 'e6734b6b1247577ebdeacff441f6ab8cfe25a1e3':
  Fix javadoc for Adapter.getViewTypeCount()

9 years agoMerge "Fix javadoc for Adapter.getViewTypeCount()"
Wale Ogunwale [Tue, 23 Jun 2015 17:03:51 +0000 (17:03 +0000)]
Merge "Fix javadoc for Adapter.getViewTypeCount()"

9 years agoFix javadoc for Adapter.getViewTypeCount()
Minhyeok Jeong [Sat, 20 Jun 2015 19:51:22 +0000 (04:51 +0900)]
Fix javadoc for Adapter.getViewTypeCount()

Remove duplicate words.

Change-Id: Iaeeb8f74313d2ca88c28e4b3672316367b16ca2d

9 years agoam 5acb30de: Merge "Apply the scale to surfaceinsets when computing crop region"
Wale Ogunwale [Fri, 19 Jun 2015 20:45:05 +0000 (20:45 +0000)]
am 5acb30de: Merge "Apply the scale to surfaceinsets when computing crop region"

* commit '5acb30de6f65ff9ab47138b022a724ec489bdd9d':
  Apply the scale to surfaceinsets when computing crop region

9 years agoMerge "Apply the scale to surfaceinsets when computing crop region"
Wale Ogunwale [Fri, 19 Jun 2015 20:34:47 +0000 (20:34 +0000)]
Merge "Apply the scale to surfaceinsets when computing crop region"

9 years agoam 1c7f0860: Merge "overlaytests: fix testrunner.py md5sum invocation"
Nick Kralevich [Fri, 19 Jun 2015 19:46:28 +0000 (19:46 +0000)]
am 1c7f0860: Merge "overlaytests:  fix testrunner.py md5sum invocation"

* commit '1c7f0860c7d1bf087eefebfb1aa411ffbdfb76e6':
  overlaytests:  fix testrunner.py md5sum invocation

9 years agoMerge "overlaytests: fix testrunner.py md5sum invocation"
Nick Kralevich [Fri, 19 Jun 2015 19:34:28 +0000 (19:34 +0000)]
Merge "overlaytests:  fix testrunner.py md5sum invocation"

9 years agooverlaytests: fix testrunner.py md5sum invocation
Stephen Smalley [Fri, 19 Jun 2015 18:37:58 +0000 (14:37 -0400)]
overlaytests:  fix testrunner.py md5sum invocation

The overlaytests testrunner.py script wants to invoke adb shell md5sum
to compute the md5 of a file, but wrongly invokes it as md5.  Maybe
it used to have that name, but it doesn't exist under that name in master.
Fix it.

Change-Id: I3ec4be162fab0cd3915f010f9b1add37b5397973
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoApply the scale to surfaceinsets when computing crop region
seunghyun85.lee [Thu, 26 Feb 2015 02:24:08 +0000 (11:24 +0900)]
Apply the scale to surfaceinsets when computing crop region

While in computing surface crop region, magnification specs are
not applied to surface insets from LayoutParams.

So, in case magnification specs are set,
surface crop region should be calculated considering scale factor.

(For instance, using TouchZoom in Accessibility
at AppsPermissionActivity in market app)

Bug: 20863078
Change-Id: I9e7e21e502b29208f2856918d6fcda050f515595
Signed-off-by: Seunghyun Lee <seunghyun85.lee@lge.com>
9 years agoam ce7dba6b: Merge "[ActivityManager] Fix index OOB when updating visible."
Wale Ogunwale [Thu, 18 Jun 2015 14:47:09 +0000 (14:47 +0000)]
am ce7dba6b: Merge "[ActivityManager] Fix index OOB when updating visible."

* commit 'ce7dba6bdf2345f39ad8f39b8a4c1bac9bcd35ea':
  [ActivityManager] Fix index OOB when updating visible.

9 years agoMerge "[ActivityManager] Fix index OOB when updating visible."
Wale Ogunwale [Thu, 18 Jun 2015 14:38:20 +0000 (14:38 +0000)]
Merge "[ActivityManager] Fix index OOB when updating visible."

9 years agoam b77bc869: Merge "Delete android.speech.srec.*"
Narayan Kamath [Wed, 17 Jun 2015 13:26:47 +0000 (13:26 +0000)]
am b77bc869: Merge "Delete android.speech.srec.*"

* commit 'b77bc869241644a662f7e615b0b00ecb5aee373d':
  Delete android.speech.srec.*

9 years agoam a01d4696: Merge "ZipFileRO: Use precise widths for zip file types."
Narayan Kamath [Wed, 17 Jun 2015 13:26:40 +0000 (13:26 +0000)]
am a01d4696: Merge "ZipFileRO: Use precise widths for zip file types."

* commit 'a01d46963a292c6006a362974d1807a0cbb6af36':
  ZipFileRO: Use precise widths for zip file types.

9 years agoMerge "Delete android.speech.srec.*"
Narayan Kamath [Wed, 17 Jun 2015 13:15:03 +0000 (13:15 +0000)]
Merge "Delete android.speech.srec.*"

9 years agoDelete android.speech.srec.*
Narayan Kamath [Tue, 16 Jun 2015 18:39:18 +0000 (19:39 +0100)]
Delete android.speech.srec.*

This code had an undeclared dependency on libsrec_jni which
we no longer build.

bug: 21855957

(cherry picked from commit b39dfe87b89e3773910202f2e94b9860236551d9)

Change-Id: I6c97f22916766714ae899cf51f1b56cde308af8e

9 years agoMerge "ZipFileRO: Use precise widths for zip file types."
Narayan Kamath [Wed, 17 Jun 2015 13:13:25 +0000 (13:13 +0000)]
Merge "ZipFileRO: Use precise widths for zip file types."

9 years agoZipFileRO: Use precise widths for zip file types.
Narayan Kamath [Tue, 16 Jun 2015 11:02:57 +0000 (12:02 +0100)]
ZipFileRO: Use precise widths for zip file types.

getEntryInfo crashes on 64-bit devices because "long" types
were being passed int pointers (that pointed to a stack frame)
that were reinterpret_cast'ed to long* (sigh.). To fix this issue
once and for all, use types with explicitly defined widths.

This change also removes some dead invariant checking from
Asset.cpp instead of cleaning it up.

Note that we've introduced a wart in NativeLibraryHelper, where
we need to deal with zlib's uLong type, which is "at least 32 bits
wide".

bug: 21622286

(cherry picked from commit 4600dd053dbdbd4b95f3b11057a1cc55b99f9c77)

Change-Id: I7886cb37a229cc27c625699c80e6a6a6117d2203

9 years agoam dc22cfed: Merge "Don\'t prevent notification updates in DOS protection."
Vladimir Marko [Wed, 17 Jun 2015 09:48:58 +0000 (09:48 +0000)]
am dc22cfed: Merge "Don\'t prevent notification updates in DOS protection."

* commit 'dc22cfed5d3a65dcd3979113dbce468ad8ec2868':
  Don't prevent notification updates in DOS protection.

9 years agoMerge "Don't prevent notification updates in DOS protection."
Vladimir Marko [Wed, 17 Jun 2015 09:04:33 +0000 (09:04 +0000)]
Merge "Don't prevent notification updates in DOS protection."

9 years agoam f35f66a8: Merge "Use new sanitizer option."
Dan Albert [Tue, 16 Jun 2015 21:22:51 +0000 (21:22 +0000)]
am f35f66a8: Merge "Use new sanitizer option."

* commit 'f35f66a86bfe7afd55ee3c8c9f624a55a1d6c2fe':
  Use new sanitizer option.

9 years agoMerge "Use new sanitizer option."
Dan Albert [Tue, 16 Jun 2015 21:11:09 +0000 (21:11 +0000)]
Merge "Use new sanitizer option."

9 years agoUse new sanitizer option.
Dan Albert [Tue, 16 Jun 2015 21:06:49 +0000 (14:06 -0700)]
Use new sanitizer option.

Change-Id: Iabc46da2820f252f6cd8cef8a447064890f3a76d

9 years agoam 26a40606: Merge "jni: isLoggable calls __android_log_is_loggable"
Mark Salyzyn [Tue, 16 Jun 2015 14:21:40 +0000 (14:21 +0000)]
am 26a40606: Merge "jni: isLoggable calls __android_log_is_loggable"

* commit '26a406063732587a667d6c389cfd055a7ceab566':
  jni: isLoggable calls __android_log_is_loggable

9 years agoMerge "jni: isLoggable calls __android_log_is_loggable"
Mark Salyzyn [Tue, 16 Jun 2015 14:08:39 +0000 (14:08 +0000)]
Merge "jni: isLoggable calls __android_log_is_loggable"

9 years agojni: isLoggable calls __android_log_is_loggable
Mark Salyzyn [Fri, 24 Apr 2015 22:55:40 +0000 (15:55 -0700)]
jni: isLoggable calls __android_log_is_loggable

Will inherit additional functionality and cache improvements

Bug: 17760225
Change-Id: Iab1816d37cc74343d83629d851a5784d4865ebb4

9 years agoam 8da462de: Merge "Add path to native libraries inside apk"
Dmitriy Ivanov [Sat, 13 Jun 2015 00:57:08 +0000 (00:57 +0000)]
am 8da462de: Merge "Add path to native libraries inside apk"

* commit '8da462dea50dda16ea83b8cad83412a76f60f915':
  Add path to native libraries inside apk

9 years agoMerge "Add path to native libraries inside apk"
Dmitriy Ivanov [Sat, 13 Jun 2015 00:43:56 +0000 (00:43 +0000)]
Merge "Add path to native libraries inside apk"

9 years agoam 396b83b0: Merge "Fix overflow/underflow problem in comparison"
Chris Tate [Fri, 12 Jun 2015 20:07:47 +0000 (20:07 +0000)]
am 396b83b0: Merge "Fix overflow/underflow problem in comparison"

* commit '396b83b0c8a9c615ca416fa7a7d366a4e30971a1':
  Fix overflow/underflow problem in comparison

9 years agoMerge "Fix overflow/underflow problem in comparison"
Chris Tate [Fri, 12 Jun 2015 19:52:44 +0000 (19:52 +0000)]
Merge "Fix overflow/underflow problem in comparison"

9 years agoAdd path to native libraries inside apk
Dmitriy Ivanov [Sat, 6 Jun 2015 05:00:13 +0000 (22:00 -0700)]
Add path to native libraries inside apk

If an application has native code (and primary abi)
include path to corresponding folder inside apk-file
to ldLibraryPath when constructing PathClassLoader

Bug: 21647354
Bug: 21667767
Bug: 21726698
Bug: 8076853
Change-Id: Ib0a2f01ee69019d3206a00c542bd7d0f58d0c481
(cherry picked from commit e56b3f63e8235ab45e081fc9d3476a3e5248ddde)

9 years agoam 7f0b5652: Merge "Bluetooth native dumpsys logging support (3/5)"
Andre Eisenbach [Wed, 10 Jun 2015 20:30:44 +0000 (20:30 +0000)]
am 7f0b5652: Merge "Bluetooth native dumpsys logging support (3/5)"

* commit '7f0b56527fa393cfc795d853edb809e224fc1376':
  Bluetooth native dumpsys logging support (3/5)

9 years agoMerge "Bluetooth native dumpsys logging support (3/5)"
Andre Eisenbach [Wed, 10 Jun 2015 20:19:20 +0000 (20:19 +0000)]
Merge "Bluetooth native dumpsys logging support (3/5)"

9 years agoBluetooth native dumpsys logging support (3/5)
Andre Eisenbach [Fri, 5 Dec 2014 17:31:30 +0000 (09:31 -0800)]
Bluetooth native dumpsys logging support (3/5)

Bug: 18508263
Change-Id: I88f9c90dab8b0c825010c8617709449a3dd704b2

9 years agoam cfa9a98e: Merge "Improve the reboot-to-recovery dialogs"
Tao Bao [Wed, 10 Jun 2015 00:55:30 +0000 (00:55 +0000)]
am cfa9a98e: Merge "Improve the reboot-to-recovery dialogs"

* commit 'cfa9a98e99286e3cf1f89f80b37a5a9ff37c30c3':
  Improve the reboot-to-recovery dialogs

9 years agoam e215b464: Merge "Wait for uncrypt to finish before rebooting"
Tao Bao [Wed, 10 Jun 2015 00:55:23 +0000 (00:55 +0000)]
am e215b464: Merge "Wait for uncrypt to finish before rebooting"

* commit 'e215b46482af78b6259c867815dc5cf2198908d5':
  Wait for uncrypt to finish before rebooting

9 years agoam 6c4fc3a0: Merge "Change wtf errors from ASSERT to ERROR."
Christopher Ferris [Wed, 10 Jun 2015 00:46:48 +0000 (00:46 +0000)]
am 6c4fc3a0: Merge "Change wtf errors from ASSERT to ERROR."

* commit '6c4fc3a08e9ca52a36f7fc83b783185da34abc12':
  Change wtf errors from ASSERT to ERROR.

9 years agoMerge "Improve the reboot-to-recovery dialogs"
Tao Bao [Wed, 10 Jun 2015 00:43:58 +0000 (00:43 +0000)]
Merge "Improve the reboot-to-recovery dialogs"

9 years agoMerge "Wait for uncrypt to finish before rebooting"
Tao Bao [Wed, 10 Jun 2015 00:43:46 +0000 (00:43 +0000)]
Merge "Wait for uncrypt to finish before rebooting"

9 years agoMerge "Change wtf errors from ASSERT to ERROR."
Christopher Ferris [Wed, 10 Jun 2015 00:32:24 +0000 (00:32 +0000)]
Merge "Change wtf errors from ASSERT to ERROR."

9 years agoChange wtf errors from ASSERT to ERROR.
Christopher Ferris [Tue, 9 Jun 2015 17:51:43 +0000 (10:51 -0700)]
Change wtf errors from ASSERT to ERROR.

Calling println_native with the value of ASSERT will set the abort
message. Unfortunately, there are numerous cases where one thread aborts,
but before that thread can communicate with debuggerd, another thread
calls wtf, which overwrites the abort message from the original
failing thread.

Fix this by changing this to an error level log message.

Bug: 21490722
(cherry picked from commit 2d073ba83c570466a7f77d1cd9193ab4a60eaee4)

Change-Id: Ib9daedf114a2e0ecc424641e4929cc4d15b0c776

9 years agoImprove the reboot-to-recovery dialogs
Tao Bao [Wed, 3 Jun 2015 18:42:31 +0000 (11:42 -0700)]
Improve the reboot-to-recovery dialogs

To address the UX comments, this CL modifies the dialogs when the
device is rebooted to install an update or to perform factory data
reset.

Bug: 20949086
(cherry picked from commit 81dce6631396012e8b722bbed6d003f584800ae1)
Change-Id: I6d0cbbbaf184806366c6581c1c2e7dbcc5d89a17

9 years agoWait for uncrypt to finish before rebooting
Tao Bao [Thu, 21 May 2015 23:25:19 +0000 (16:25 -0700)]
Wait for uncrypt to finish before rebooting

/system/bin/uncrypt needs to be triggered to prepare the OTA package
before rebooting into the recovery. For larger packages, uncrypt may be
killed before it finishes the work after the timeout. Change to monitor
the uncrypt status and show the progress to user.

Needs matching changes in bootable/recovery/uncrypt, system/core and
external/sepolicy.

Also pick up the two NPE fixes in commits
9bb765448df43d41e0a3edb7de1d1641c9251c35 and
da3f63ffb87397943546a7c5c893ce98f2489df2.

Bug: 20012567
Bug: 20949086
(cherry picked from commit 90237f7beb55dae79cdcba5271f96be778573737)
Change-Id: Ibf2fc80032967e5f6cda3cd469005dd29665c87c

9 years agoam c521b108: Merge "Fix a GL error leak issue"
John Reck [Tue, 9 Jun 2015 14:36:50 +0000 (14:36 +0000)]
am c521b108: Merge "Fix a GL error leak issue"

* commit 'c521b10854ebdc227d6f32649c627a548caef2e4':
  Fix a GL error leak issue

9 years agoMerge "Fix a GL error leak issue"
John Reck [Tue, 9 Jun 2015 14:26:56 +0000 (14:26 +0000)]
Merge "Fix a GL error leak issue"

9 years agoFix a GL error leak issue
ywen [Thu, 28 May 2015 06:10:53 +0000 (14:10 +0800)]
Fix a GL error leak issue

glFinish() dequeues a native buffer, and it fails when
the bufeer has been abandoned, this is ok and will not
casue the app crash

GL_OUT_OF_MEMORY is generated in this case, and it is
not reset until glGetError called. This is happened in
build layer function, glGetError is called after glTexImg2d,
and get GL_OUT_OF_MEMORY, then this function return as OOM,
and app crash

Fix it by adding a glGetError after glFinish

Change-Id: I8803a726b6f609c4a2f8a6aa6bb7ff7064808932

9 years agoam a121d34c: Merge "ICU format support for pseudolocalizes."
Narayan Kamath [Tue, 9 Jun 2015 10:42:44 +0000 (10:42 +0000)]
am a121d34c: Merge "ICU format support for pseudolocalizes."

* commit 'a121d34ceefc8d106bf48f8fdd400d67445fc573':
  ICU format support for pseudolocalizes.

9 years agoMerge "ICU format support for pseudolocalizes."
Narayan Kamath [Tue, 9 Jun 2015 10:29:03 +0000 (10:29 +0000)]
Merge "ICU format support for pseudolocalizes."

9 years agoICU format support for pseudolocalizes.
Igor Viarheichyk [Fri, 15 May 2015 01:47:00 +0000 (18:47 -0700)]
ICU format support for pseudolocalizes.

Custom parser can handle nested ICU messages even if they
are split into multiple fragments. Code reworked to encapsulate
all pseudolocalization logic in Pseudolocalizer and PseudoMethods
classes. To minimize a changelist size, some static functions
remained. Fake BiDi pseudolocalization method is reimplemented
to handle word boundaries correctly. Unit tests added.

Change-Id: I9fb4baf4e3123df5dd6d182cca02bb7b0489ca71

9 years agoam 1052ae00: Merge "Fixed ScriptGroup for outputs to globals"
Yang Ni [Mon, 8 Jun 2015 23:18:49 +0000 (23:18 +0000)]
am 1052ae00: Merge "Fixed ScriptGroup for outputs to globals"

* commit '1052ae00f1c23d9c8e6177cf0469236767de622f':
  Fixed ScriptGroup for outputs to globals

9 years agoMerge "Fixed ScriptGroup for outputs to globals"
Yang Ni [Mon, 8 Jun 2015 23:08:10 +0000 (23:08 +0000)]
Merge "Fixed ScriptGroup for outputs to globals"

9 years agoFixed ScriptGroup for outputs to globals
Yang Ni [Mon, 18 May 2015 17:56:47 +0000 (10:56 -0700)]
Fixed ScriptGroup for outputs to globals

b/21187932

Dependency from one kernel to another kernel -- where one reads the
other's output to a global allocation -- was not handled correctly.
This CL fixed that. Needed to make a new CTS test pass.

Change-Id: I500f9cac9d89bcaec7c186e942ba4a7d413daadb
(cherry picked from commit 85858718c0fc8f4f17ee18e5d62ec0614a8bc780)

9 years agoam f5b7778e: Merge "Pass MUTF-8 paths to open(2) instead of UTF-8."
Narayan Kamath [Mon, 8 Jun 2015 15:23:34 +0000 (15:23 +0000)]
am f5b7778e: Merge "Pass MUTF-8 paths to open(2) instead of UTF-8."

* commit 'f5b7778e5588af8077f079984dc69965da7102a6':
  Pass MUTF-8 paths to open(2) instead of UTF-8.

9 years agoMerge "Pass MUTF-8 paths to open(2) instead of UTF-8."
Narayan Kamath [Mon, 8 Jun 2015 15:14:31 +0000 (15:14 +0000)]
Merge "Pass MUTF-8 paths to open(2) instead of UTF-8."

9 years agoPass MUTF-8 paths to open(2) instead of UTF-8.
tao.pei [Tue, 2 Jun 2015 02:06:20 +0000 (10:06 +0800)]
Pass MUTF-8 paths to open(2) instead of UTF-8.

Modified UTF-8 and UTF-8 differ with respect to how they handle
non-BMP characters. Modified UTF-8 uses 2 x 3 byte encodings, one
each for the high and low surrogate, whereas UTF-8 uses a single
4 byte sequence.

File systems don't specify and encoding and therefore the file name
encoding will vary depending on how it's created. All standard
Java APIs (java.io.File / FileOutputStream etc.) use Modified UTF-8
filenames, so we assume that's the status quo.

We will also audit code from the rest of the platform to make sure
that file names are encoded consistently.

bug: 21578056

Change-Id: I8e37af7f7cc442805a48899917f8e61c8f81fba6

9 years agoam 3a5c054a: Merge "Fix debugging-log documentation errors."
Elliott Hughes [Sat, 6 Jun 2015 00:08:49 +0000 (00:08 +0000)]
am 3a5c054a: Merge "Fix debugging-log documentation errors."

* commit '3a5c054ac3a33753c3aeb2cb26e7b05d64291839':
  Fix debugging-log documentation errors.

9 years agoMerge "Fix debugging-log documentation errors."
Elliott Hughes [Fri, 5 Jun 2015 23:55:15 +0000 (23:55 +0000)]
Merge "Fix debugging-log documentation errors."