OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"
Markus Michler [Tue, 29 Mar 2016 18:30:31 +0000 (18:30 +0000)]
Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"
am: 7160459

* commit '71604596117c02a885da356cd0015c29493e48bc':
  Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()

Change-Id: I5d522742dc4c7a46a74dfe4838c5bde8aadd8789

8 years agoMerge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"
Adam Lesinski [Tue, 29 Mar 2016 18:24:39 +0000 (18:24 +0000)]
Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"

8 years agoMerge "Add OpenJDK 8 java.util.List Default Methods"
Shubham Ajmera [Tue, 29 Mar 2016 15:12:43 +0000 (15:12 +0000)]
Merge "Add OpenJDK 8 java.util.List Default Methods"
am: 0a999d1b

* commit '0a999d1b25e862dffa8008706f0754d275135282':
  Add OpenJDK 8 java.util.List Default Methods

Change-Id: I32da5d00eb4007d1e69c34765d4f92cbdd6bd3d3

8 years agoMerge "Port OpenJDK8 changes in java.util.Map"
Shubham Ajmera [Tue, 29 Mar 2016 15:07:06 +0000 (15:07 +0000)]
Merge "Port OpenJDK8 changes in java.util.Map"
am: 21283ee

* commit '21283ee2b5bc4d3279d47aa8f9bcc1ae88100544':
  Port OpenJDK8 changes in java.util.Map

Change-Id: I4d3011640b838d56b611b9e1223bba48d5a2a74e

8 years agoMerge "Add OpenJDK 8 java.util.List Default Methods"
Shubham Ajmera [Tue, 29 Mar 2016 15:02:25 +0000 (15:02 +0000)]
Merge "Add OpenJDK 8 java.util.List Default Methods"

8 years agoMerge "Port OpenJDK8 changes in java.util.Map"
Shubham Ajmera [Tue, 29 Mar 2016 14:59:33 +0000 (14:59 +0000)]
Merge "Port OpenJDK8 changes in java.util.Map"

8 years agoMerge "Fix incorrect behavior for statusbar and quicksettings panel"
Yinlin Cai [Tue, 29 Mar 2016 14:15:56 +0000 (14:15 +0000)]
Merge "Fix incorrect behavior for statusbar and quicksettings panel"
am: fa9a20d

* commit 'fa9a20dd525bf3df2e3282c40ae23b3a3f3a7ee0':
  Fix incorrect behavior for statusbar and quicksettings panel

Change-Id: I1e7975f02fe26dcf6f92f46f0626de14212932f4

8 years agoMerge "Fix incorrect behavior for statusbar and quicksettings panel"
Benjamin Franz [Tue, 29 Mar 2016 14:09:31 +0000 (14:09 +0000)]
Merge "Fix incorrect behavior for statusbar and quicksettings panel"

8 years agoAdd OpenJDK 8 java.util.List Default Methods
Shubham Ajmera [Tue, 29 Mar 2016 14:03:23 +0000 (15:03 +0100)]
Add OpenJDK 8 java.util.List Default Methods

and corresponding tests.

Added replaceAll and sort methods from the upstream except for the
CopyOnWriteArrayList.

Added forEach method along with the above two methods in
CopyOnWriteArrayList.

Bug: 27693350
Bug: 27540008
Change-Id: I9efbd66b65c06b50fc20f63d477c25a05a8fae02

8 years agoPort OpenJDK8 changes in java.util.Map
Shubham Ajmera [Tue, 29 Mar 2016 13:49:45 +0000 (14:49 +0100)]
Port OpenJDK8 changes in java.util.Map

& add tests.

The CL add tests for map default methods added in Java 8 - getOrDefault,
putIfAbsent, remove(K, V), replace(K, V, V), replace(K, V), forEach,
replaceAll, compute, computeIfAbsent, computeIfPresent, putIfAbsent,
merge.

Methods have been made synchronzed in Hashtable. They are using the
default map methods instead of taking the upstream changes.

Replace(K, V, V) in LinkedHashMap has been  overridden as it doesn't
record access when the replace method doesn't make any replacement.

Bug: 27426743
Change-Id: Ie27ea5bd42ddbfa751b89f9eacfb290a3d69f4bb

8 years agoMerge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray"
Pirama Arumuga Nainar [Tue, 29 Mar 2016 04:00:21 +0000 (04:00 +0000)]
Merge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray"
am: 994db1b

* commit '994db1bb2c0f4a480d6361b5659906ba8f3cf26e':
  [RenderScript] Fail with Exception from validateObjectIsPrimitiveArray

Change-Id: Id83d0a3fa9fed2bd3f0b7b19e5bc4dc162f52011

8 years agoMerge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray"
Pirama Arumuga Nainar [Tue, 29 Mar 2016 03:56:58 +0000 (03:56 +0000)]
Merge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray"

8 years ago[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray
Pirama Arumuga Nainar [Mon, 28 Mar 2016 19:00:00 +0000 (12:00 -0700)]
[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray

Bug: http://b/25982676

Instead of returning null from validateObjectIsPrimitiveArray, fail with
an exception.  The callers of this function do not check for null.

Change-Id: Idd2b50a7b137e8d2db7a334bb9a48c1b19ee2403

8 years agoMerge "Address const issues in preparation for libcxx rebase."
Dan Austin [Mon, 28 Mar 2016 21:49:03 +0000 (21:49 +0000)]
Merge "Address const issues in preparation for libcxx rebase."
am: 64ade5d

* commit '64ade5dcfc1f7adabaa67bb5fdd97554380346b9':
  Address const issues in preparation for libcxx rebase.

8 years agoMerge "Address const issues in preparation for libcxx rebase."
Dan Austin [Mon, 28 Mar 2016 21:40:59 +0000 (21:40 +0000)]
Merge "Address const issues in preparation for libcxx rebase."

8 years agoAddress const issues in preparation for libcxx rebase.
Dan Austin [Thu, 24 Mar 2016 19:03:42 +0000 (12:03 -0700)]
Address const issues in preparation for libcxx rebase.

Change-Id: Ia9edf466ab4d1b6cc3f6c6ed86b333e6521c528d

8 years agoMerge "Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop"
Jimmy Dalqvist [Mon, 28 Mar 2016 14:50:42 +0000 (14:50 +0000)]
Merge "Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop"
am: faf2c42

* commit 'faf2c42ac9658ba36b9dfda0803bed66a2fd1c90':
  Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop

8 years agoMerge "Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop"
Glenn Kasten [Mon, 28 Mar 2016 14:42:45 +0000 (14:42 +0000)]
Merge "Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop"

8 years agoMerge "Add OpenJDK Arrays parallelSetAll methods"
Shubham Ajmera [Mon, 28 Mar 2016 11:08:28 +0000 (11:08 +0000)]
Merge "Add OpenJDK Arrays parallelSetAll methods"
am: 1aafd31

* commit '1aafd31b4a8df4fe6f0c22ca3447bc762aecbb4d':
  Add OpenJDK Arrays parallelSetAll methods

8 years agoMerge "Add OpenJDK Arrays parallelSetAll methods"
Shubham Ajmera [Mon, 28 Mar 2016 10:57:38 +0000 (10:57 +0000)]
Merge "Add OpenJDK Arrays parallelSetAll methods"

8 years agoAdd OpenJDK Arrays parallelSetAll methods
Shubham Ajmera [Fri, 25 Mar 2016 18:31:18 +0000 (18:31 +0000)]
Add OpenJDK Arrays parallelSetAll methods

Adds parallelSetAll(int[], java.util.function.IntUnaryOperator),
parallelSetAll(long[], java.util.function.IntToLongFunction),
parallelSetAll(double[], java.util.function.IntToDoubleFunction),
parallelSetAll(T[], java.util.function.IntFunction<? extends T>)
from the upstream along with the corresponding tests.

Bug: 27540010
Change-Id: Iaa4a0749d8bb95ea8a0072a43bfbd6d6f459ff28

8 years agoMerge "set default journal mode to TRUNCATE, not PERSIST"
Daniel Micay [Thu, 24 Mar 2016 22:43:03 +0000 (22:43 +0000)]
Merge "set default journal mode to TRUNCATE, not PERSIST"
am: d4a9b5b

* commit 'd4a9b5bad7f2f4b1ea3234777e66e6d4e092e5d4':
  set default journal mode to TRUNCATE, not PERSIST

8 years agoMerge "set default journal mode to TRUNCATE, not PERSIST"
Nick Kralevich [Thu, 24 Mar 2016 22:11:47 +0000 (22:11 +0000)]
Merge "set default journal mode to TRUNCATE, not PERSIST"

8 years agoset default journal mode to TRUNCATE, not PERSIST
Daniel Micay [Thu, 24 Mar 2016 03:28:12 +0000 (23:28 -0400)]
set default journal mode to TRUNCATE, not PERSIST

PERSIST causes data to linger in the journal beyond transactions, so
it interacts poorly with SECURE_DELETE. It's also not necessarily
faster, especially since it makes the page cache and SSD cache (if there
is one) colder by holding on to blocks that are no longer used.

The default chosen by upstream is DELETE, but TRUNCATE is a bit lighter
since it doesn't need to create/delete the file.

Change-Id: If790271c253a840df241980f538fc0d844ba7857

8 years agoMerge "Remove custom copy rules, stop using ACP"
Dan Willemsen [Wed, 23 Mar 2016 22:08:15 +0000 (22:08 +0000)]
Merge "Remove custom copy rules, stop using ACP"
am: 72dd79f

* commit '72dd79fa41fad71a14bb82eb830c927299d92d02':
  Remove custom copy rules, stop using ACP

8 years agoMerge "Remove custom copy rules, stop using ACP"
Dan Willemsen [Wed, 23 Mar 2016 21:47:00 +0000 (21:47 +0000)]
Merge "Remove custom copy rules, stop using ACP"

8 years agoMerge "Use canonical name for SHA1withECDSA"
Kenny Root [Wed, 23 Mar 2016 21:35:29 +0000 (21:35 +0000)]
Merge "Use canonical name for SHA1withECDSA"
am: 4a0497c

* commit '4a0497c8e47f2775aa5787cf624abd24680e5950':
  Use canonical name for SHA1withECDSA

8 years agoMerge "Use canonical name for SHA1withECDSA"
Kenny Root [Wed, 23 Mar 2016 21:29:00 +0000 (21:29 +0000)]
Merge "Use canonical name for SHA1withECDSA"

8 years agoRemove custom copy rules, stop using ACP
Dan Willemsen [Wed, 23 Mar 2016 07:42:44 +0000 (00:42 -0700)]
Remove custom copy rules, stop using ACP

Replace some custom rules with BUILD_PREBUILT.

Move tools from ALL_PREBUILTS to BUILD_PREBUILT. All of them are already
in PRODUCT_PACKAGES in build/target/product/base.mk.

Remove uses of ACP and replace with core build system macros or 'cp'

Change-Id: I529e7c6c50fc64ad36b75bb47142f6bde909d141

8 years agoUse canonical name for SHA1withECDSA
Kenny Root [Wed, 23 Mar 2016 15:52:25 +0000 (08:52 -0700)]
Use canonical name for SHA1withECDSA

The Standard Names documentation says that "ECDSA" should not be used
due to its ambiguity. Bouncycastle has switched from "ECDSA" to
"SHA1withECDSA" so therefore we should switch this "workaround" Provider
to use the same name to keep it functioning correctly.

Bug: 27753949
Change-Id: I5acfca9d89c85bf005902a2f06cb5d7b1ef9dff2

8 years agoMerge "Enable shader cache for applications that shared UID with multiple packages...
Shuo Gao [Tue, 22 Mar 2016 14:31:25 +0000 (14:31 +0000)]
Merge "Enable shader cache for applications that shared UID with multiple packages too"
am: f3edaf6

* commit 'f3edaf6a4397859d3558a2df07e4bd5011ebddd3':
  Enable shader cache for applications that shared UID with multiple packages too

8 years agoMerge "Enable shader cache for applications that shared UID with multiple packages...
John Reck [Tue, 22 Mar 2016 14:25:35 +0000 (14:25 +0000)]
Merge "Enable shader cache for applications that shared UID with multiple packages too"

8 years agoFix incorrect behavior for statusbar and quicksettings panel
Yinlin Cai [Thu, 26 Nov 2015 06:46:16 +0000 (14:46 +0800)]
Fix incorrect behavior for statusbar and quicksettings panel

Incorrectly disableForUser() is called in disable2().
Use disable2ForUser() instead of disableForUser().

Bug: 27688623
Change-Id: Iadb6aec82ccfe95a90e4a3d212fbd14d73093982

8 years agoMerge "Use handles to identify GATT attributes (4/4)"
Jakub Pawlowski [Tue, 22 Mar 2016 02:42:29 +0000 (02:42 +0000)]
Merge "Use handles to identify GATT attributes (4/4)"
am: f8cba89

* commit 'f8cba89883b8fecb2d392444daa97703c2840874':
  Use handles to identify GATT attributes (4/4)

8 years agoMerge "Use handles to identify GATT attributes (4/4)"
Andre Eisenbach [Tue, 22 Mar 2016 02:35:57 +0000 (02:35 +0000)]
Merge "Use handles to identify GATT attributes (4/4)"

8 years agoUse handles to identify GATT attributes (4/4)
Jakub Pawlowski [Thu, 17 Mar 2016 23:00:16 +0000 (16:00 -0700)]
Use handles to identify GATT attributes (4/4)

Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74

8 years agoMerge "Changes of root storage space unmounting time on Zygote Process"
doheon1.lee [Mon, 21 Mar 2016 21:11:56 +0000 (21:11 +0000)]
Merge "Changes of root storage space unmounting time on Zygote Process"
am: 2a87493

* commit '2a8749354a7d9759e91bf0885f58cfc40081d846':
  Changes of root storage space unmounting time on Zygote Process

8 years agoMerge "Changes of root storage space unmounting time on Zygote Process"
Elliott Hughes [Mon, 21 Mar 2016 21:06:09 +0000 (21:06 +0000)]
Merge "Changes of root storage space unmounting time on Zygote Process"

8 years agoMerge "Correctly init code cache path for RS"
Yang Ni [Mon, 21 Mar 2016 20:05:43 +0000 (20:05 +0000)]
Merge "Correctly init code cache path for RS"
am: 60fa615

* commit '60fa615cfc035fee38fe0a19de303457246e0b1f':
  Correctly init code cache path for RS

8 years agoMerge "Correctly init code cache path for RS"
Yang Ni [Mon, 21 Mar 2016 19:58:24 +0000 (19:58 +0000)]
Merge "Correctly init code cache path for RS"

8 years agoMerge "JobScheduler: handle connectivity action in bg looper"
wangshujie [Mon, 21 Mar 2016 19:38:26 +0000 (19:38 +0000)]
Merge "JobScheduler: handle connectivity action in bg looper"
am: bdddbdf

* commit 'bdddbdf18439faa71393f368b6ff5b142a876644':
  JobScheduler: handle connectivity action in bg looper

8 years agoMerge "JobScheduler: handle connectivity action in bg looper"
Chris Tate [Mon, 21 Mar 2016 19:34:00 +0000 (19:34 +0000)]
Merge "JobScheduler: handle connectivity action in bg looper"

8 years agoEnable shader cache for applications that shared UID with multiple packages too
Shuo Gao [Tue, 1 Mar 2016 05:32:03 +0000 (13:32 +0800)]
Enable shader cache for applications that shared UID with multiple packages too

Frameworks supported a mature mechanism for shader cache per each package already,
but as a special case such as Settings APP, if there are several packages in this
application which means that multiple packages shared the same SharedUserID with it,
it won't initialize the graphics disk caches, thereby APP like Settings have to
rebuild and relink shader every time during launch, which cause a bad launching
performance, so here to enable the GFX and RS cache initialization for multiple
shared packages case too.

Change-Id: If0f927e3399b775804abf1d9a868887951f471c5
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
8 years agoMerge "Make BluetoothManagerCallback oneway to prevent waiting on response"
Ajay Panicker [Sat, 19 Mar 2016 00:16:27 +0000 (00:16 +0000)]
Merge "Make BluetoothManagerCallback oneway to prevent waiting on response"
am: ca430a8

* commit 'ca430a881f29ee88ade7a541fa34799c9f47d345':
  Make BluetoothManagerCallback oneway to prevent waiting on response

8 years agoMerge "Make BluetoothManagerCallback oneway to prevent waiting on response"
Ajay Panicker [Sat, 19 Mar 2016 00:08:26 +0000 (00:08 +0000)]
Merge "Make BluetoothManagerCallback oneway to prevent waiting on response"

8 years agoCorrectly init code cache path for RS
Yang Ni [Fri, 11 Mar 2016 00:12:31 +0000 (16:12 -0800)]
Correctly init code cache path for RS

Bug: 27439261

Script Group needs to know the code cache path before it can call bcc to
merge kernels. However, before this change, the code cache path has been
initialized by the ScriptC class.

In the case where a script group (or even the entire app) does not contain any
regular script but only intrinsics, the code cache would remain uninitialized.

Fixed this by initializing the code cache path in the RenderScript class
the first time when the accessor method is called.

Change-Id: I87f9e62e0f3b479f94e43daa3e9695a5b38710db

8 years agoMake BluetoothManagerCallback oneway to prevent waiting on response
Ajay Panicker [Fri, 18 Mar 2016 22:38:20 +0000 (15:38 -0700)]
Make BluetoothManagerCallback oneway to prevent waiting on response

Bug: 27384453
Change-Id: I2cd0f1bc03c7a1e887c89faa18d5baa6ca5be24a

8 years agoMerge "Change how services are passed up to the stack"
Jakub Pawlowski [Fri, 18 Mar 2016 22:19:41 +0000 (22:19 +0000)]
Merge "Change how services are passed up to the stack"
am: 2ebc12b

* commit '2ebc12bb485f401e27504c235da2a935ab327937':
  Change how services are passed up to the stack

8 years agoMerge "Change how services are passed up to the stack"
Andre Eisenbach [Fri, 18 Mar 2016 22:11:51 +0000 (22:11 +0000)]
Merge "Change how services are passed up to the stack"

8 years agoMerge "Switch frameworks/base/core/jni from gcc to clang."
Ben Wagner [Fri, 18 Mar 2016 21:41:40 +0000 (21:41 +0000)]
Merge "Switch frameworks/base/core/jni from gcc to clang."
am: 69ef716

* commit '69ef71606864f882c4ca494155ea614937d6dd5f':
  Switch frameworks/base/core/jni from gcc to clang.

8 years agoMerge "Switch frameworks/base/core/jni from gcc to clang."
Stephen Hines [Fri, 18 Mar 2016 21:32:08 +0000 (21:32 +0000)]
Merge "Switch frameworks/base/core/jni from gcc to clang."

8 years agoChange how services are passed up to the stack
Jakub Pawlowski [Wed, 2 Mar 2016 02:50:27 +0000 (18:50 -0800)]
Change how services are passed up to the stack

Right now we pass all services, characteristics and descriptors one by one.
This patch changes that - now we pass whole GATT database at once.

Bug: 27455533
Change-Id: Ie42cd80072538e411904b9c9b011a978f26158b9

8 years agoMerge "Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde"
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 14:45:36 +0000 (14:45 +0000)]
Merge "Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde"
am: 93fdc3f

* commit '93fdc3faa2363d68edb4ef138575b3fa59920379':
  Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde

8 years agoMerge "Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde"
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 14:40:43 +0000 (14:40 +0000)]
Merge "Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde"

8 years agoTrack libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 13:58:43 +0000 (13:58 +0000)]
Track libcore change 848cf2e74b74b68c99b7b0a432263c3e57433fde

Bug: 27692239
Change-Id: I43fee87bed4744c36660b28a03915ecd5dfce272

8 years agoMerge "Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c"
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 12:51:48 +0000 (12:51 +0000)]
Merge "Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c"
am: 50238ae

* commit '50238ae4b40203d19df95e062a4aca487968adc3':
  Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c

8 years agoMerge "Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c"
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 12:44:30 +0000 (12:44 +0000)]
Merge "Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c"

8 years agoJobScheduler: handle connectivity action in bg looper
wangshujie [Wed, 16 Mar 2016 07:20:04 +0000 (15:20 +0800)]
JobScheduler: handle connectivity action in bg looper

in rare cases InputDispatcher relies on the SystemServer to enqueue
the input events and wake it up (eg. with some accessibility services
enabled which have their own inputfilters).Receivers in the main thread
may block events dispatching and then we will peceive jank in windows.

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

Change-Id: I1f47cc5cb8fb2b2aa0cee7a8ed4bf50efb81e477
Signed-off-by: wangshujie <wangshujie@xiaomi.com>
8 years agoSwitch frameworks/base/core/jni from gcc to clang.
Ben Wagner [Thu, 17 Mar 2016 21:31:40 +0000 (17:31 -0400)]
Switch frameworks/base/core/jni from gcc to clang.

Bug: http://b/22414716

Change-Id: If77628daf4e621008cda96645a9fffbf0fba4992

8 years agoMerge "Renamed the function initialing nativeloader"
Dimitry Ivanov [Thu, 17 Mar 2016 22:58:53 +0000 (22:58 +0000)]
Merge "Renamed the function initialing nativeloader"
am: 62c74db

* commit '62c74db26c49e2d019d0a610deb7889b2133010c':
  Renamed the function initialing nativeloader

8 years agoMerge "Renamed the function initialing nativeloader"
Dimitry Ivanov [Thu, 17 Mar 2016 22:53:57 +0000 (22:53 +0000)]
Merge "Renamed the function initialing nativeloader"

8 years agoRenamed the function initialing nativeloader
Dimitry Ivanov [Wed, 16 Mar 2016 21:15:11 +0000 (14:15 -0700)]
Renamed the function initialing nativeloader

Bug: http://b/27546414
Change-Id: Ia0b65540772ca4bd1cdab391973325b18cd278a0
(cherry picked from commit bf1082e9a1ae833718321ac58ab64e281d0e3614)

8 years agoMerge "Port OpenJDK 8 java.util.Arrays#setAll methods"
Shubham Ajmera [Thu, 17 Mar 2016 17:02:42 +0000 (17:02 +0000)]
Merge "Port OpenJDK 8 java.util.Arrays#setAll methods"
am: 4c2fd7a

* commit '4c2fd7afb06f248f3e0e1bdcfa5fc1269b573eb7':
  Port OpenJDK 8 java.util.Arrays#setAll methods

8 years agoMerge "Port OpenJDK 8 java.util.Arrays#setAll methods"
Shubham Ajmera [Thu, 17 Mar 2016 16:57:45 +0000 (16:57 +0000)]
Merge "Port OpenJDK 8 java.util.Arrays#setAll methods"

8 years agoPort OpenJDK 8 java.util.Arrays#setAll methods
Shubham Ajmera [Thu, 17 Mar 2016 16:24:52 +0000 (16:24 +0000)]
Port OpenJDK 8 java.util.Arrays#setAll methods

and add tests

Bug: 27540010
Change-Id: I18f502caabc2f140fa503a0b03e9d6e310b4246c

8 years agoMerge "Remove the field of MediaDrm from inner class CryptoSession."
Li Chen [Thu, 17 Mar 2016 15:48:23 +0000 (15:48 +0000)]
Merge "Remove the field of MediaDrm from inner class CryptoSession."
am: 2c37b51

* commit '2c37b515ee4d0e7da174096d7d744084445953a0':
  Remove the field of MediaDrm from inner class CryptoSession.

8 years agoMerge "Do not scan a file which cannot be read"
Bartosz Bialek [Thu, 17 Mar 2016 15:48:23 +0000 (15:48 +0000)]
Merge "Do not scan a file which cannot be read"
am: 258baa3

* commit '258baa35c080cc74e83c9324c900f6725288b7cf':
  Do not scan a file which cannot be read

8 years agoMerge "Remove the field of MediaDrm from inner class CryptoSession."
Marco Nelissen [Thu, 17 Mar 2016 15:43:32 +0000 (15:43 +0000)]
Merge "Remove the field of MediaDrm from inner class CryptoSession."

8 years agoMerge "Do not scan a file which cannot be read"
Marco Nelissen [Thu, 17 Mar 2016 15:42:02 +0000 (15:42 +0000)]
Merge "Do not scan a file which cannot be read"

8 years agoMerge "Fix broken StringBuilder construction."
Ian Rogers [Thu, 17 Mar 2016 00:03:05 +0000 (00:03 +0000)]
Merge "Fix broken StringBuilder construction."
am: 50fd2aa

* commit '50fd2aa8b4c4ba7e01f444147beadef0dfdd8ece':
  Fix broken StringBuilder construction.

8 years agoMerge "Fix broken StringBuilder construction."
Ian Rogers [Wed, 16 Mar 2016 23:58:45 +0000 (23:58 +0000)]
Merge "Fix broken StringBuilder construction."

8 years agoFix broken StringBuilder construction.
Ian Rogers [Wed, 16 Mar 2016 19:14:55 +0000 (12:14 -0700)]
Fix broken StringBuilder construction.

StringBuilder doesn't have a char constructor and so passing a char calls the
int constructor that presizes the StringBuilder rather than creating it
containing a single character.
This bug was caught by error prone.

Change-Id: I809ce0fcf930688db925ac7a8e23ee85086d479e

8 years agoMerge "[DO NOT MERGE] Add flag to "am start" to enable native debugging"
Tamas Berghammer [Wed, 16 Mar 2016 17:19:02 +0000 (17:19 +0000)]
Merge "[DO NOT MERGE] Add flag to "am start" to enable native debugging"
am: 1b4afc2  -s ours

* commit '1b4afc275fd39181d2ee2ba37733d971396ef7c0':
  [DO NOT MERGE] Add flag to "am start" to enable native debugging

8 years agoMerge "[DO NOT MERGE] Add flag to "am start" to enable native debugging"
David Srbecky [Wed, 16 Mar 2016 17:11:09 +0000 (17:11 +0000)]
Merge "[DO NOT MERGE] Add flag to "am start" to enable native debugging"

8 years agoTrack libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c
Przemyslaw Szczepaniak [Wed, 16 Mar 2016 14:46:08 +0000 (14:46 +0000)]
Track libcore change 336ffbe1f2870fef47f8e80da87c80d7e379b69c

Bug: 27692239
Change-Id: I30cee355ecae2596c57d5325890c03e4a3f293ca

8 years agoMerge "Extra generic type information to aid certain javacs."
Ian Rogers [Wed, 16 Mar 2016 15:41:35 +0000 (15:41 +0000)]
Merge "Extra generic type information to aid certain javacs."

8 years agoMerge "Use proper ScriptCall size in nScriptForEach()"
Yang Ni [Wed, 16 Mar 2016 15:19:24 +0000 (15:19 +0000)]
Merge "Use proper ScriptCall size in nScriptForEach()"

8 years agoMerge "Track libcore commit da61c6a1478cd1a14f3e654460292228f4f15e88"
Przemyslaw Szczepaniak [Wed, 16 Mar 2016 13:19:31 +0000 (13:19 +0000)]
Merge "Track libcore commit da61c6a1478cd1a14f3e654460292228f4f15e88"

8 years agoTrack libcore commit da61c6a1478cd1a14f3e654460292228f4f15e88
Przemyslaw Szczepaniak [Wed, 16 Mar 2016 11:23:34 +0000 (11:23 +0000)]
Track libcore commit da61c6a1478cd1a14f3e654460292228f4f15e88

Bug: 27426599
Change-Id: Ia7a00fe975e84ff0dff96d427d089fc26815c2f5

8 years agoExtra generic type information to aid certain javacs.
Ian Rogers [Wed, 16 Mar 2016 04:09:40 +0000 (21:09 -0700)]
Extra generic type information to aid certain javacs.

In particular this is needed for the code to compile using the error prone
analyzer.

Change-Id: I09904705ced909ead750cb30d0f96c994132a51c

8 years agoUse proper ScriptCall size in nScriptForEach()
Yang Ni [Tue, 15 Mar 2016 23:00:02 +0000 (16:00 -0700)]
Use proper ScriptCall size in nScriptForEach()

Bug: 26498479

Although the size of struct ScriptCall is not used underneath in the
runtime or drivers, assign the correct value here to avoid confusion.

Change-Id: I8db19538b9f70f3bf9ee849a8724da3d9ee04785

8 years agoMerge "Close notification panel when user button is tapped"
Adrian Roos [Tue, 15 Mar 2016 18:54:17 +0000 (18:54 +0000)]
Merge "Close notification panel when user button is tapped"

8 years agoMerge "Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856"
Yi Kong [Tue, 15 Mar 2016 17:05:24 +0000 (17:05 +0000)]
Merge "Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856"

8 years agoMerge "Add short codes for DCB to free UK and 44567 to standard US."
Robert Greenwalt [Tue, 15 Mar 2016 16:40:15 +0000 (16:40 +0000)]
Merge "Add short codes for DCB to free UK and 44567 to standard US."

8 years agoTrack libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856
Yi Kong [Tue, 15 Mar 2016 15:45:07 +0000 (15:45 +0000)]
Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856

Bug: 27538943
Change-Id: I91fc2e9738dcfb7be061041b5e000b21e7684184

8 years agoMerge "Track libcore change c9b5ffc066d5ea92fdbf0cfd7ea7f56a6e96a4ab"
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 13:23:34 +0000 (13:23 +0000)]
Merge "Track libcore change c9b5ffc066d5ea92fdbf0cfd7ea7f56a6e96a4ab"

8 years agoTrack libcore change c9b5ffc066d5ea92fdbf0cfd7ea7f56a6e96a4ab
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 13:04:20 +0000 (13:04 +0000)]
Track libcore change c9b5ffc066d5ea92fdbf0cfd7ea7f56a6e96a4ab

Bug: 27426684
Change-Id: I95b19ab738ff05996830c5429367d31ba0d257ba

8 years agoMerge "Track libcore commit 05f9ecbe6d0a41aaf71a1601f2a3d07218bc487c"
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 10:47:07 +0000 (10:47 +0000)]
Merge "Track libcore commit 05f9ecbe6d0a41aaf71a1601f2a3d07218bc487c"

8 years agoTrack libcore commit 05f9ecbe6d0a41aaf71a1601f2a3d07218bc487c
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 10:22:01 +0000 (10:22 +0000)]
Track libcore commit 05f9ecbe6d0a41aaf71a1601f2a3d07218bc487c

Bug: 27426599
Change-Id: I9127856e82a16b891adcdb4e0e841ab2f3a85989

8 years agoAdd short codes for DCB to free UK and 44567 to standard US.
Vasco Brito [Mon, 14 Mar 2016 14:29:39 +0000 (14:29 +0000)]
Add short codes for DCB to free UK and 44567 to standard US.

UK short codes are used by Direct Carrier Billing (DCB) on
Google Play. US short code excludes the Google Wallet dedicated
short code (being used by the Google Wallet team to send
notifications to users) from premium phone numbers.

Change-Id: Idea06bb773d054b9cdc87fad51a428dde1ab83fe
Signed-off-by: Vasco Brito <vascob@google.com>
8 years ago[DO NOT MERGE] Add flag to "am start" to enable native debugging
Tamas Berghammer [Fri, 29 Jan 2016 12:07:00 +0000 (12:07 +0000)]
[DO NOT MERGE] Add flag to "am start" to enable native debugging

[Backported form internal CL854980]

Specifying the new flag will enable several features in the runtime
required by the native debugger to debug Java and C++ code at the same
time.

The enabled features:
* Force JIT (never use the interpreter)
* Debug info generation
* Disable some optimizations

Change-Id: Iaf5ab649715a0c274bd1b0fc64e483705da53cd0

8 years agoMerge "Fix some errors in errorCalculator.rs."
Stephen Hines [Thu, 10 Mar 2016 22:46:22 +0000 (22:46 +0000)]
Merge "Fix some errors in errorCalculator.rs."

8 years agoMerge "Fix build broken by dfce17570e74e94404395a802."
Narayan Kamath [Thu, 10 Mar 2016 17:42:53 +0000 (17:42 +0000)]
Merge "Fix build broken by dfce17570e74e94404395a802."

8 years agoFix build broken by dfce17570e74e94404395a802.
Narayan Kamath [Thu, 10 Mar 2016 17:41:47 +0000 (17:41 +0000)]
Fix build broken by dfce17570e74e94404395a802.

Change-Id: I2d6f944193919f19774f53db0678fa032878b396

8 years agoMerge "Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc."
Narayan Kamath [Thu, 10 Mar 2016 17:39:33 +0000 (17:39 +0000)]
Merge "Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc."

8 years agoMerge "Track libcore change b695412b529c8dced105867c6d9d7fd463a67714"
Yi Kong [Thu, 10 Mar 2016 16:50:02 +0000 (16:50 +0000)]
Merge "Track libcore change b695412b529c8dced105867c6d9d7fd463a67714"

8 years agoTrack libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc.
Narayan Kamath [Sat, 5 Mar 2016 11:04:19 +0000 (11:04 +0000)]
Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc.

bug: 27426688

Change-Id: I6419f2b846932cd089efee1e74400fba97992c92

8 years agoTrack libcore change b695412b529c8dced105867c6d9d7fd463a67714
Yi Kong [Wed, 9 Mar 2016 15:01:04 +0000 (15:01 +0000)]
Track libcore change b695412b529c8dced105867c6d9d7fd463a67714

Bug: 27427000
Change-Id: I6eecd1c5da1587435876a04f51e5a9424149fba1

8 years agoMerge "fix SeekBarPreference support for summaries"
Alan Viverette [Thu, 10 Mar 2016 15:24:13 +0000 (15:24 +0000)]
Merge "fix SeekBarPreference support for summaries"

8 years agofix SeekBarPreference support for summaries
Daniel Micay [Thu, 10 Mar 2016 01:56:56 +0000 (20:56 -0500)]
fix SeekBarPreference support for summaries

Overriding getSummary breaks support for summaries even though it's
supported in the layout for SeekBarPreference. If there's no summary the
return value is already null in the inherited implementation.

Change-Id: I2e72ea3c4a624acbf200e9617173eb072572fa57