OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Use nativeloader to load NativeActivity"
Dimitry Ivanov [Fri, 11 Dec 2015 20:41:22 +0000 (12:41 -0800)]
Merge "Use nativeloader to load NativeActivity"
am: 317456bc52

* commit '317456bc520549cbc1ac4ad102df8b0d22b22a99':
  Use nativeloader to load NativeActivity

8 years agoMerge "Use nativeloader to load NativeActivity"
Dimitry Ivanov [Fri, 11 Dec 2015 20:30:32 +0000 (20:30 +0000)]
Merge "Use nativeloader to load NativeActivity"

8 years agoDon\'t back up / restore EAP network definitions am: a89f9d93cb
Christopher Tate [Fri, 11 Dec 2015 19:50:22 +0000 (11:50 -0800)]
Don\'t back up / restore EAP network definitions am: a89f9d93cb
am: d735fbb3af

* commit 'd735fbb3af31f43a5bc99c52b61b20b7218b076f':
  Don't back up / restore EAP network definitions

8 years agoDon\'t back up / restore EAP network definitions
Christopher Tate [Fri, 11 Dec 2015 19:37:19 +0000 (11:37 -0800)]
Don\'t back up / restore EAP network definitions
am: a89f9d93cb

* commit 'a89f9d93cbda665259812e990bca1045bd8abf9f':
  Don't back up / restore EAP network definitions

8 years agoUse nativeloader to load NativeActivity
Dmitriy Ivanov [Sun, 15 Nov 2015 22:58:36 +0000 (14:58 -0800)]
Use nativeloader to load NativeActivity

System apps are the exception and they can
access internal platform libraries (this
is needed for bundled apps to work correctly).

Also fix the way NativeActivity loads the native
library to correspond to the way BaseDexClassloader
does it.

Bug: http://b/22548808
Bub: http://b/25777936
Change-Id: Idc94cdded182ea2cb1cbebc76c336cc3394c7ebe

8 years agoMerge "Add null check to getConfigForHostname"
Chad Brubaker [Fri, 11 Dec 2015 18:16:26 +0000 (10:16 -0800)]
Merge "Add null check to getConfigForHostname"
am: fe1eac7a19

* commit 'fe1eac7a19b827af71c503df6aefc59076a30928':
  Add null check to getConfigForHostname

8 years agoMerge "Add null check to getConfigForHostname"
Chad Brubaker [Fri, 11 Dec 2015 18:02:34 +0000 (18:02 +0000)]
Merge "Add null check to getConfigForHostname"

8 years agoDon't back up / restore EAP network definitions
Christopher Tate [Wed, 18 Nov 2015 02:01:52 +0000 (18:01 -0800)]
Don't back up / restore EAP network definitions

Bug 25725016

Cherrypick from AOSP.

Change-Id: I6aa11a76e7724a0aaad05a1aa074afa2c429370c

8 years agoAdd null check to getConfigForHostname
Chad Brubaker [Fri, 11 Dec 2015 02:12:59 +0000 (18:12 -0800)]
Add null check to getConfigForHostname

bug: 26144676
Change-Id: I18f50940846f1ce8109560c63ce2a87ce084d9e5

8 years agoWork on issue #25467052: System lagged out am: 022c748f54
Dianne Hackborn [Fri, 11 Dec 2015 00:33:14 +0000 (16:33 -0800)]
Work on issue #25467052: System lagged out am: 022c748f54
am: 9ba6eb9989

* commit '9ba6eb9989b90691c45017be08b1ee453c370424':
  Work on issue #25467052: System lagged out

8 years agoWork on issue #25467052: System lagged out
Dianne Hackborn [Fri, 11 Dec 2015 00:26:55 +0000 (16:26 -0800)]
Work on issue #25467052: System lagged out
am: 022c748f54

* commit '022c748f54626f77f01079595a0100d1d145f383':
  Work on issue #25467052: System lagged out

8 years agoWork on issue #25467052: System lagged out
Dianne Hackborn [Wed, 4 Nov 2015 20:32:45 +0000 (12:32 -0800)]
Work on issue #25467052: System lagged out

Add a new mechanism where we retain previously used provided
processes in the "last activity" oom adj state for 20 seconds,
before allowing them to fall down to a regular cached process.
This should help reduce thrashing when something is acquiring
and releasing a provider repeatedly.

Change-Id: I889472de7bb4da574b46f07e36a99978813643cb

8 years agoPrevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4
Adam Lesinski [Thu, 10 Dec 2015 22:54:38 +0000 (14:54 -0800)]
Prevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4
am: 4e4ff058c1

* commit '4e4ff058c1a0b4b77f468a206a790bb6f084f616':
  Prevent DivideByZero error in BatteryStatsImpl

8 years agoPrevent DivideByZero error in BatteryStatsImpl
Adam Lesinski [Thu, 10 Dec 2015 22:47:09 +0000 (14:47 -0800)]
Prevent DivideByZero error in BatteryStatsImpl
am: ba88e68fe4

* commit 'ba88e68fe47b66f1fc5d10c15f04f20fe662399e':
  Prevent DivideByZero error in BatteryStatsImpl

8 years agoMerge "ConcurrentModificationException in SyncManager"
Matthew Williams [Thu, 10 Dec 2015 18:16:19 +0000 (10:16 -0800)]
Merge "ConcurrentModificationException in SyncManager"
am: 7e4d92fbc7

* commit '7e4d92fbc7761d561c1bc61dc5cf55b69d3a54f3':
  ConcurrentModificationException in SyncManager

8 years agoMerge "ConcurrentModificationException in SyncManager"
Matthew Williams [Thu, 10 Dec 2015 18:04:44 +0000 (18:04 +0000)]
Merge "ConcurrentModificationException in SyncManager"

8 years agoPrevent DivideByZero error in BatteryStatsImpl
Adam Lesinski [Tue, 8 Dec 2015 20:06:55 +0000 (12:06 -0800)]
Prevent DivideByZero error in BatteryStatsImpl

It was assumed that when a UID had either rx or tx bytes/packets that it would
have the other as well.

Bug:25706750
Change-Id: Iefac59a6bd02876aed9a0bac218d187b81807a95

8 years agoImprove logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b
Bryce Lee [Wed, 9 Dec 2015 23:07:23 +0000 (15:07 -0800)]
Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b
am: a83d518689

* commit 'a83d5186898c49888f9b3c1d2ef2333d297d8449':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoImprove logging in BluetoothHeadsetClientCall. am: 3c67873f0a
Bryce Lee [Wed, 9 Dec 2015 23:01:13 +0000 (15:01 -0800)]
Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a
am: 180dd72a9b

* commit '180dd72a9b36ca6f74e5ad255347d815a0c8729a':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoImprove logging in BluetoothHeadsetClientCall.
Bryce Lee [Wed, 9 Dec 2015 22:54:19 +0000 (22:54 +0000)]
Improve logging in BluetoothHeadsetClientCall.
am: 3c67873f0a

* commit '3c67873f0a20a958f6cf1ccccb472fa050bf55b7':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoMerge "Replace hard-coded errno values with OsConstants"
Eino-Ville Talvala [Wed, 9 Dec 2015 21:25:15 +0000 (21:25 +0000)]
Merge "Replace hard-coded errno values with OsConstants"
am: cb299b858f

* commit 'cb299b858f4f073e2abd4ad45aa944dc0dfd0aa2':
  Replace hard-coded errno values with OsConstants

8 years agoMerge "Replace hard-coded errno values with OsConstants"
Eino-Ville Talvala [Wed, 9 Dec 2015 21:14:21 +0000 (21:14 +0000)]
Merge "Replace hard-coded errno values with OsConstants"

8 years agoMerge "Use a custom TrustedCertificateStore"
Chad Brubaker [Wed, 9 Dec 2015 21:07:18 +0000 (21:07 +0000)]
Merge "Use a custom TrustedCertificateStore"
am: 95f15495a2

* commit '95f15495a2e3d8591fe4eeb25ae55e88da783274':
  Use a custom TrustedCertificateStore

8 years agoMerge "Expose findByIssuerAndSignature"
Chad Brubaker [Wed, 9 Dec 2015 21:05:50 +0000 (21:05 +0000)]
Merge "Expose findByIssuerAndSignature"
am: b27d820920

* commit 'b27d8209206e0aad76a257636417341c6f69fbb5':
  Expose findByIssuerAndSignature

8 years agoMerge "Use a custom TrustedCertificateStore"
Chad Brubaker [Wed, 9 Dec 2015 20:53:01 +0000 (20:53 +0000)]
Merge "Use a custom TrustedCertificateStore"

8 years agoMerge "Expose findByIssuerAndSignature"
Chad Brubaker [Wed, 9 Dec 2015 20:52:50 +0000 (20:52 +0000)]
Merge "Expose findByIssuerAndSignature"

8 years agoMerge "Refactor NetworkSecurityPolicy to be pluggable"
Chad Brubaker [Wed, 9 Dec 2015 18:54:06 +0000 (18:54 +0000)]
Merge "Refactor NetworkSecurityPolicy to be pluggable"
am: 224318aa13

* commit '224318aa13ad5b78d19087cc42dcbe2ae0bd0c3f':
  Refactor NetworkSecurityPolicy to be pluggable

8 years agoMerge "Refactor NetworkSecurityPolicy to be pluggable"
Chad Brubaker [Wed, 9 Dec 2015 18:40:55 +0000 (18:40 +0000)]
Merge "Refactor NetworkSecurityPolicy to be pluggable"

8 years agoMerge "Rethrow remote\'s ServiceSpecificException"
Christopher Wiley [Tue, 8 Dec 2015 23:26:40 +0000 (23:26 +0000)]
Merge "Rethrow remote\'s ServiceSpecificException"
am: 85eaca25fe

* commit '85eaca25fe2a89f883e9a87d8f411cfb315f3e03':
  Rethrow remote's ServiceSpecificException

8 years agoMerge "Rethrow remote's ServiceSpecificException"
Christopher Wiley [Tue, 8 Dec 2015 23:15:52 +0000 (23:15 +0000)]
Merge "Rethrow remote's ServiceSpecificException"

8 years agoRefactor NetworkSecurityPolicy to be pluggable
Chad Brubaker [Tue, 8 Dec 2015 21:37:28 +0000 (13:37 -0800)]
Refactor NetworkSecurityPolicy to be pluggable

This allows us to keep the logic for the NetworkSecurityPolicy in the
framework instead of in libcore.

Change-Id: I4bf494f79c27729cb17d93d90a91319492270ce9

8 years agoImprove logging in BluetoothHeadsetClientCall.
Bryce Lee [Tue, 8 Dec 2015 19:22:31 +0000 (11:22 -0800)]
Improve logging in BluetoothHeadsetClientCall.

Bug: 26032099
Change-Id: I497edc9aa4c19cc7159993a899071e7b0c26db63

8 years agoMerge "Remove framework from LOCAL_JAVA_LIBRARIES" am: e252149ab9
Paul Duffin [Tue, 8 Dec 2015 14:18:30 +0000 (06:18 -0800)]
Merge "Remove framework from LOCAL_JAVA_LIBRARIES" am: e252149ab9
am: ec9081a004

* commit 'ec9081a004db058bb5ada5173d65a565e2005c6d':
  Remove framework from LOCAL_JAVA_LIBRARIES

8 years agoMerge "Follow-up to Switch to the latest version of Caliper" am: 80d5bef6f9
Paul Duffin [Tue, 8 Dec 2015 14:17:03 +0000 (06:17 -0800)]
Merge "Follow-up to Switch to the latest version of Caliper" am: 80d5bef6f9
am: 0ec9daecc6

* commit '0ec9daecc6129529fc6f2d66c29876eca88c492f':
  Follow-up to Switch to the latest version of Caliper

8 years agoMerge "Remove framework from LOCAL_JAVA_LIBRARIES"
Paul Duffin [Tue, 8 Dec 2015 14:11:45 +0000 (14:11 +0000)]
Merge "Remove framework from LOCAL_JAVA_LIBRARIES"
am: e252149ab9

* commit 'e252149ab99a008a0a75734326755cadd5c5ee7a':
  Remove framework from LOCAL_JAVA_LIBRARIES

8 years agoMerge "Follow-up to Switch to the latest version of Caliper"
Paul Duffin [Tue, 8 Dec 2015 14:10:09 +0000 (14:10 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"
am: 80d5bef6f9

* commit '80d5bef6f9da4a0eeb23c3356843351170553df6':
  Follow-up to Switch to the latest version of Caliper

8 years agoMerge "Remove framework from LOCAL_JAVA_LIBRARIES"
Paul Duffin [Tue, 8 Dec 2015 14:04:29 +0000 (14:04 +0000)]
Merge "Remove framework from LOCAL_JAVA_LIBRARIES"

8 years agoMerge "Follow-up to Switch to the latest version of Caliper"
Paul Duffin [Tue, 8 Dec 2015 14:03:10 +0000 (14:03 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"

8 years agoRemove framework from LOCAL_JAVA_LIBRARIES
Paul Duffin [Tue, 8 Dec 2015 13:51:27 +0000 (13:51 +0000)]
Remove framework from LOCAL_JAVA_LIBRARIES

After previous change removed LOCAL_NO_STANDARD_LIBRARIES:=true
it is no longer necessary to explicitly add framework to
LOCAL_JAVA_LIBRARIES as it is added automatically by the build.

Change-Id: I68bf700375e34a10302f76d7463110755b815f85

8 years agoFollow-up to Switch to the latest version of Caliper
Andreas Gampe [Tue, 8 Dec 2015 02:24:08 +0000 (18:24 -0800)]
Follow-up to Switch to the latest version of Caliper

Remove LOCAL_NO_STANDARD_LIBRARIES.

(cherry pick from commit c9d6a91cd51a9b7ff00187914fe922b0d22b3d66)

Bug: 24848946
Change-Id: I19feea042c9b4823d4979f4d951476792600edbc

8 years agoConcurrentModificationException in SyncManager
振淦王 [Tue, 1 Dec 2015 08:37:31 +0000 (16:37 +0800)]
ConcurrentModificationException in SyncManager

updateRunningAccounts and dispatchSyncOperation is running in different thread,
and mActiveSyncContexts not synchronization.
If methods occur together,
mActiveSyncContexts change may occur when cycle is running.

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

Solution:
Offboard the traversal from the main thread to the handler thread.

Change-Id: Ifb9fbb466a5087186be31f7877c50b8c8b6737e4
Signed-off-by: wangzhengan <wangzglx@gmail.com>
8 years agoMerge "Add ICU4J APIs for Android" am: cb02371ca7
Neil Fuller [Tue, 8 Dec 2015 10:56:41 +0000 (10:56 +0000)]
Merge "Add ICU4J APIs for Android" am: cb02371ca7
am: ec1349df9c

* commit 'ec1349df9c1759ca728fc637738592902f2aa44b':
  Add ICU4J APIs for Android

8 years agoMerge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c
Michael Wright [Tue, 8 Dec 2015 10:55:07 +0000 (10:55 +0000)]
Merge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c
am: 4d9e6190b1

* commit '4d9e6190b186f1d2e1cd25defd0d6e12dd833b38':
  Add support for locking the screen when the lid is closed

8 years agoMerge "Add ICU4J APIs for Android"
Neil Fuller [Tue, 8 Dec 2015 10:47:59 +0000 (10:47 +0000)]
Merge "Add ICU4J APIs for Android"
am: cb02371ca7

* commit 'cb02371ca70a81796c75bd3bbf88478caf6ea7b7':
  Add ICU4J APIs for Android

8 years agoMerge "Add ICU4J APIs for Android"
Neil Fuller [Tue, 8 Dec 2015 10:42:51 +0000 (10:42 +0000)]
Merge "Add ICU4J APIs for Android"

8 years agoMerge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144
Prashant Malani [Tue, 8 Dec 2015 01:43:27 +0000 (01:43 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144
am: 3ebd5ceb90

* commit '3ebd5ceb90137572262efeda12cdce4b503ddded':
  Add rotary encoder input source

8 years agoMerge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15
Prashant Malani [Tue, 8 Dec 2015 01:37:05 +0000 (01:37 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15
am: 6344cb8144

* commit '6344cb8144647e4e49bc69cbf34a084ca7712115':
  Add rotary encoder input source

8 years agoMerge "Add rotary encoder input source" into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:31:31 +0000 (01:31 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev
am: 487f0d3d15

* commit '487f0d3d1556296ef53c449d7ec5de5a0dac1f83':
  Add rotary encoder input source

8 years agoMerge "Add rotary encoder input source" into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:27:18 +0000 (01:27 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am:...
Chenjie Luo [Mon, 7 Dec 2015 23:42:07 +0000 (23:42 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d am: bef0525c38
am: e4db3f0757

* commit 'e4db3f0757fccdf26d98ab4295ac4828a479e8eb':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for reading and writing double array values" am: 61c0b7cd4d
Samuel Tan [Mon, 7 Dec 2015 23:38:14 +0000 (23:38 +0000)]
Merge "Add support for reading and writing double array values" am: 61c0b7cd4d
am: ff8ef28e73

* commit 'ff8ef28e73c0959a4993fea975d0bdefbc27a20b':
  Add support for reading and writing double array values

8 years agoMerge "Switch to the latest version of Caliper" am: ae119af517
Paul Duffin [Mon, 7 Dec 2015 23:35:20 +0000 (23:35 +0000)]
Merge "Switch to the latest version of Caliper" am: ae119af517
am: 5e2d958157

* commit '5e2d958157d8043d5a7aca1263af2186fdf17e6c':
  Switch to the latest version of Caliper

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 23:32:22 +0000 (23:32 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev am: cd2cc9aa9b
am: d515b124f7

* commit 'd515b124f7f966a3e4725dc6f6179ade869df636':
  Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
Julia Reynolds [Mon, 7 Dec 2015 23:30:22 +0000 (23:30 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
am: 5ff55cec79

* commit '5ff55cec79b7bda67dd3e458263ccb8e2896af30':
  Fix radio button flash on hour change.

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am:...
Chenjie Luo [Mon, 7 Dec 2015 23:28:44 +0000 (23:28 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d
am: bef0525c38

* commit 'bef0525c385c95f4ff6710ad9b117429a4d5ce63':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for locking the screen when the lid is closed"
Michael Wright [Mon, 7 Dec 2015 23:19:53 +0000 (23:19 +0000)]
Merge "Add support for locking the screen when the lid is closed"
am: 9dc3c36c9c

* commit '9dc3c36c9cd796d90b65543567495d910d266e4c':
  Add support for locking the screen when the lid is closed

8 years agoMerge "Add support for reading and writing double array values"
Samuel Tan [Mon, 7 Dec 2015 23:15:15 +0000 (23:15 +0000)]
Merge "Add support for reading and writing double array values"
am: 61c0b7cd4d

* commit '61c0b7cd4d73381a2f4e3d3836389b130b5006d9':
  Add support for reading and writing double array values

8 years agoMerge "Switch to the latest version of Caliper"
Paul Duffin [Mon, 7 Dec 2015 23:12:48 +0000 (23:12 +0000)]
Merge "Switch to the latest version of Caliper"
am: ae119af517

* commit 'ae119af517fc427ead5bd6a3394b3b1f92df790d':
  Switch to the latest version of Caliper

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 23:10:55 +0000 (23:10 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev
am: cd2cc9aa9b

* commit 'cd2cc9aa9bfdc21a06ffd7049a4b4ad07bbf6886':
  Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev
Julia Reynolds [Mon, 7 Dec 2015 23:08:01 +0000 (23:08 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev
am: dde5a6ef28

* commit 'dde5a6ef2846bfb6b253b0946a7b9e42a11b8348':
  Fix radio button flash on hour change.

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
Chenjie Luo [Mon, 7 Dec 2015 23:06:36 +0000 (23:06 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
am: e56f7b0d1d

* commit 'e56f7b0d1d92390c3409999ea841525514163f65':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for locking the screen when the lid is closed"
Michael Wright [Mon, 7 Dec 2015 21:34:59 +0000 (21:34 +0000)]
Merge "Add support for locking the screen when the lid is closed"

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
Chenjie Luo [Mon, 7 Dec 2015 21:04:14 +0000 (21:04 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev

8 years agoMerge "Add support for reading and writing double array values"
Samuel Tan [Mon, 7 Dec 2015 18:56:01 +0000 (18:56 +0000)]
Merge "Add support for reading and writing double array values"

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 18:15:38 +0000 (18:15 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev
Julia Reynolds [Mon, 7 Dec 2015 15:06:03 +0000 (15:06 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev

8 years agoFix radio button flash on hour change.
Julia Reynolds [Thu, 5 Nov 2015 16:08:02 +0000 (11:08 -0500)]
Fix radio button flash on hour change.

Also delete confusing debug variable.

Bug: 25459795
Bug: 25783349
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8

8 years agoAdd ICU4J APIs for Android
Neil Fuller [Tue, 10 Nov 2015 13:14:07 +0000 (13:14 +0000)]
Add ICU4J APIs for Android

Add the planned set of new I18N public APIs for
Android N.

This APIs consists of a whitelisted subset of ICU4J APIs
repackaged under android.icu (not com.ibm.icu).

It includes no deprecated, provisional, internal methods from
ICU 56.

There may be future work to improve the ICU4J JavaDoc text
for Android, but the API surface area should be mostly
stable at this point.

Bug: 22023363
(cherry-picked from commit d7fa3e79f071696bd62182c01b62fe0ea1cc9587)

Change-Id: I6667acbbf7c5501e12ecfbdd560ea80283c0c831

8 years agoMerge "Switch to the latest version of Caliper"
Paul Duffin [Mon, 7 Dec 2015 13:34:27 +0000 (13:34 +0000)]
Merge "Switch to the latest version of Caliper"

8 years agoSwitch to the latest version of Caliper
Paul Duffin [Tue, 1 Dec 2015 15:41:36 +0000 (15:41 +0000)]
Switch to the latest version of Caliper

Added an Android.mk file to core/tests/benchmarks to build the
benchmarks against caliper-api-target to ensure that they build
correctly. Changed the implementations to work with the new
version of Caliper.

Bug: 24848946
Change-Id: Ib28026816dbc5c1d54f65974f4a1abfee299c43f

8 years agoMerge "Track rename from base/ to android-base/." am: 9f6a2ae67c
Elliott Hughes [Sat, 5 Dec 2015 01:44:41 +0000 (01:44 +0000)]
Merge "Track rename from base/ to android-base/." am: 9f6a2ae67c
am: 8aa8fe2c64

* commit '8aa8fe2c64cf4611ba68d90992e54858a35aae58':
  Track rename from base/ to android-base/.

8 years agoMerge "Track rename from base/ to android-base/."
Elliott Hughes [Sat, 5 Dec 2015 01:36:53 +0000 (01:36 +0000)]
Merge "Track rename from base/ to android-base/."
am: 9f6a2ae67c

* commit '9f6a2ae67c70085d550962829e6bfe76706907d8':
  Track rename from base/ to android-base/.

8 years agoMerge "Track rename from base/ to android-base/."
Elliott Hughes [Sat, 5 Dec 2015 01:30:46 +0000 (01:30 +0000)]
Merge "Track rename from base/ to android-base/."

8 years agoMerge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41 am...
Eino-Ville Talvala [Sat, 5 Dec 2015 00:36:06 +0000 (16:36 -0800)]
Merge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41 am: 7417f70ac6 am: e2d516fd4b
am: 5794dbb1a5

* commit '5794dbb1a5f54b116911526c1086efda5dfb63f7':
  Camera: codegen doc update

8 years agoMerge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41 am...
Eino-Ville Talvala [Sat, 5 Dec 2015 00:28:38 +0000 (00:28 +0000)]
Merge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41 am: 7417f70ac6
am: e2d516fd4b

* commit 'e2d516fd4b77352919d1c40971678909e3f4a15d':
  Camera: codegen doc update

8 years agoMerge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41
Eino-Ville Talvala [Sat, 5 Dec 2015 00:20:47 +0000 (16:20 -0800)]
Merge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d am: add4b91d41
am: 7417f70ac6

* commit '7417f70ac6aa6a59ab67bac959ce39aa3372e0ef':
  Camera: codegen doc update

8 years agoMerge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d
Eino-Ville Talvala [Sat, 5 Dec 2015 00:11:43 +0000 (00:11 +0000)]
Merge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d
am: add4b91d41

* commit 'add4b91d41d3ba810b6b25c14d7c13050394f201':
  Camera: codegen doc update

8 years agoRethrow remote's ServiceSpecificException
Christopher Wiley [Mon, 23 Nov 2015 01:12:37 +0000 (17:12 -0800)]
Rethrow remote's ServiceSpecificException

Certain system services would like to throw exceptions
with specific error codes, so that the framework can catch
these specific conditions and express them appropriately.

Bug: 25800533
Change-Id: I94b3d30fa131f5e14bba893c971615840085459f

8 years agoMerge "Camera: codegen doc update" into mnc-dev
Eino-Ville Talvala [Sat, 5 Dec 2015 00:03:23 +0000 (16:03 -0800)]
Merge "Camera: codegen doc update" into mnc-dev
am: 69c5e7143d

* commit '69c5e7143dd308e8db9b6055b428b7ad3964c1ff':
  Camera: codegen doc update

8 years agoMerge "Camera: codegen doc update" into mnc-dev
Eino-Ville Talvala [Fri, 4 Dec 2015 23:54:05 +0000 (23:54 +0000)]
Merge "Camera: codegen doc update" into mnc-dev

8 years agoTrack rename from base/ to android-base/.
Elliott Hughes [Fri, 4 Dec 2015 23:33:35 +0000 (15:33 -0800)]
Track rename from base/ to android-base/.

Change-Id: I31be831de812052d1c0d4c0781178d0756124bcf

8 years agoAdd support for locking the screen when the lid is closed
Edward Savage-Jones [Fri, 13 Nov 2015 12:27:03 +0000 (13:27 +0100)]
Add support for locking the screen when the lid is closed

This commit adds configurable support for lockscreen
behaviour when the user has a device cover/lid.  This
is intended for lids with a viewing window so that the
user can see the time and interact with apps via the
window.

Change-Id: Id71883f66d1a180c4732912b3b59cabf9f4d7b6e

8 years agoReplace hard-coded errno values with OsConstants
Lazar Trsic [Tue, 7 Jul 2015 15:31:20 +0000 (17:31 +0200)]
Replace hard-coded errno values with OsConstants

Errno values have been hard-coded inside java code. On the native side
however, bionic's errno.h is used (through utils/Errors.h). Some of
the numbers are architecture dependent (EOPNOTSUPP, ETIMEDOUT...).

This causes Camera app to crash on MIPS devices. There is a check for
expected errors, in CameraBinderDecorator.throwOnError, but the error
(EOPNOTSUPP) is not recognized and an exception is thrown.

Change-Id: I8bcac8f1ced50c76614f566a6e624967a18a25e1

8 years agoMerge "USB MIDI: Fix race condition that causes intermittent connections." am: 1c9bdfd029
Phil Burk [Fri, 4 Dec 2015 01:27:36 +0000 (01:27 +0000)]
Merge "USB MIDI: Fix race condition that causes intermittent connections." am: 1c9bdfd029
am: ec719f1509

* commit 'ec719f1509807765dac661286000c7e411ec9662':
  USB MIDI: Fix race condition that causes intermittent connections.

8 years agoMerge "USB MIDI: Fix race condition that causes intermittent connections."
Phil Burk [Fri, 4 Dec 2015 01:18:51 +0000 (01:18 +0000)]
Merge "USB MIDI: Fix race condition that causes intermittent connections."
am: 1c9bdfd029

* commit '1c9bdfd0294cd1b13470ae6443bfa2ad425bd7dd':
  USB MIDI: Fix race condition that causes intermittent connections.

8 years agoMerge "USB MIDI: Fix race condition that causes intermittent connections."
Phil Burk [Fri, 4 Dec 2015 01:12:01 +0000 (01:12 +0000)]
Merge "USB MIDI: Fix race condition that causes intermittent connections."

8 years agoUSB MIDI: Fix race condition that causes intermittent connections.
Phil Burk [Fri, 4 Dec 2015 01:00:42 +0000 (17:00 -0800)]
USB MIDI: Fix race condition that causes intermittent connections.

Plugging in a USB MIDI device normally works.
But occasionally the device is not seen due to a race condition.
This code retries until the device is ready.

Change-Id: Ifba9c9678e6be0c3d139f3467f895307096a2ad8
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Allow customisation of advanced settings in DocumentsUI" am: f1b325c1ec
Jeff Sharkey [Thu, 3 Dec 2015 23:19:42 +0000 (23:19 +0000)]
Merge "Allow customisation of advanced settings in DocumentsUI" am: f1b325c1ec
am: f2a3c341ab

* commit 'f2a3c341ab9061b576ab399e1336e9e45afb8c2e':
  Allow customisation of advanced settings in DocumentsUI

8 years agoMerge "Allow customisation of advanced settings in DocumentsUI"
Jeff Sharkey [Thu, 3 Dec 2015 23:11:51 +0000 (23:11 +0000)]
Merge "Allow customisation of advanced settings in DocumentsUI"
am: f1b325c1ec

* commit 'f1b325c1ec41c09f6efeb3d7709e7e7af93eacb8':
  Allow customisation of advanced settings in DocumentsUI

8 years agoMerge "Allow customisation of advanced settings in DocumentsUI"
Jeff Sharkey [Thu, 3 Dec 2015 23:04:29 +0000 (23:04 +0000)]
Merge "Allow customisation of advanced settings in DocumentsUI"

8 years agoAllow customisation of advanced settings in DocumentsUI
Edward Savage-Jones [Tue, 21 Jan 2014 14:45:44 +0000 (15:45 +0100)]
Allow customisation of advanced settings in DocumentsUI

Enables the customisation of the default value of the DocumentsUI
'advanced' setting using overlays.

Change-Id: I240cbb845d15ab2ea6ae7a79a17b4f51905fdb9c

8 years agoCheck NPE beforehand instead of catching it at runtime
Chenjie Luo [Thu, 3 Dec 2015 20:24:12 +0000 (12:24 -0800)]
Check NPE beforehand instead of catching it at runtime

This will fix the page fault when watch rings during incoming call

Bug: 25904666
Change-Id: Ia7e6db0628108dbf298e3811a846534ba69c0b46

8 years agoMerge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev am: 9eacc97d71
Vineeta Srivastava [Thu, 3 Dec 2015 22:09:58 +0000 (22:09 +0000)]
Merge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev am: 9eacc97d71
am: 360930372f

* commit '360930372fcab1a093bd1cd7d11bd082255577d8':
  Set Tether APN protocol type to IPv4 for Telus

8 years agoMerge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev
Vineeta Srivastava [Thu, 3 Dec 2015 22:01:30 +0000 (22:01 +0000)]
Merge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev
am: 9eacc97d71

* commit '9eacc97d71166a05ec0eb67025a00cb4e57979c8':
  Set Tether APN protocol type to IPv4 for Telus

8 years agoMerge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev
Vineeta Srivastava [Thu, 3 Dec 2015 21:56:29 +0000 (21:56 +0000)]
Merge "Set Tether APN protocol type to IPv4 for Telus" into mnc-dr1.5-dev

8 years agoSet Tether APN protocol type to IPv4 for Telus
Hyejin Kim [Fri, 30 Oct 2015 00:46:53 +0000 (09:46 +0900)]
Set Tether APN protocol type to IPv4 for Telus

BUG=25356170
Change-Id: I080c354409d263388844543bf7a57ff6c28d760f

8 years agoMerge "Stop using 512 bit RSA keys in keyset unit tests." am: 59c9bfd41b
Alex Klyubin [Thu, 3 Dec 2015 21:26:05 +0000 (21:26 +0000)]
Merge "Stop using 512 bit RSA keys in keyset unit tests." am: 59c9bfd41b
am: b1e7f6d287

* commit 'b1e7f6d2870ca59f582671bdacf78efc52028bbc':
  Stop using 512 bit RSA keys in keyset unit tests.

8 years agoMerge "Stop using 512 bit RSA keys in keyset unit tests."
Alex Klyubin [Thu, 3 Dec 2015 21:18:38 +0000 (21:18 +0000)]
Merge "Stop using 512 bit RSA keys in keyset unit tests."
am: 59c9bfd41b

* commit '59c9bfd41bfe7d897a1a5d2e35d8dd48322c9865':
  Stop using 512 bit RSA keys in keyset unit tests.

8 years agoMerge "Stop using 512 bit RSA keys in keyset unit tests."
Alex Klyubin [Thu, 3 Dec 2015 21:10:46 +0000 (21:10 +0000)]
Merge "Stop using 512 bit RSA keys in keyset unit tests."

8 years agoMerge "Log API calls to createBond(), cancelBondProcess(), removeBond()" into cw...
Christine Hallstrom [Thu, 3 Dec 2015 20:52:44 +0000 (20:52 +0000)]
Merge "Log API calls to createBond(), cancelBondProcess(), removeBond()" into cw-e-dev am: 7fb263c472 am: 67d068b5ec
am: 9355a0420e

* commit '9355a0420e3324ae42ac1a5ca108730c5990dcbf':
  Log API calls to createBond(), cancelBondProcess(), removeBond()