OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Remove scheduling animation which is no longer needed"
TreeHugger Robot [Wed, 25 Oct 2017 23:47:28 +0000 (23:47 +0000)]
Merge "Remove scheduling animation which is no longer needed"

6 years agoMerge "android.os.HwBinder: fix native static method signature" am: 65944e79b2 am...
Yifan Hong [Wed, 25 Oct 2017 22:50:57 +0000 (22:50 +0000)]
Merge "android.os.HwBinder: fix native static method signature" am: 65944e79b2 am: 21347cf052
am: 7f73cb73d2

Change-Id: I9ed7d60a00c80649de49a1b2359bf7a885d2dd0f

6 years agoMerge "android.os.HwBinder: fix native static method signature" am: 65944e79b2
Yifan Hong [Wed, 25 Oct 2017 22:39:22 +0000 (22:39 +0000)]
Merge "android.os.HwBinder: fix native static method signature" am: 65944e79b2
am: 21347cf052

Change-Id: I6ee75f8c697a46105a30d68a8ad79f00f543f9ac

6 years agoMerge "android.os.HwBinder: fix native static method signature"
Yifan Hong [Wed, 25 Oct 2017 22:29:45 +0000 (22:29 +0000)]
Merge "android.os.HwBinder: fix native static method signature"
am: 65944e79b2

Change-Id: I09295da4a6021bd02c5c5e89d1d4ce3a8be82c96

6 years agoMerge "android.os.HwBinder: fix native static method signature"
Treehugger Robot [Wed, 25 Oct 2017 22:08:36 +0000 (22:08 +0000)]
Merge "android.os.HwBinder: fix native static method signature"

6 years agoMerge "Fix dial emergency call redial issue by China Unicom." am: 3ab81b9694 am:...
Brad Ebinger [Wed, 25 Oct 2017 21:13:13 +0000 (21:13 +0000)]
Merge "Fix dial emergency call redial issue by China Unicom." am: 3ab81b9694 am: 136c475d20
am: a2e4e1530e

Change-Id: Ie77c5dcb32f501bf72fafbd4835ad18ab35841f3

6 years agoMerge "Fix dial emergency call redial issue by China Unicom." am: 3ab81b9694
Brad Ebinger [Wed, 25 Oct 2017 21:00:36 +0000 (21:00 +0000)]
Merge "Fix dial emergency call redial issue by China Unicom." am: 3ab81b9694
am: 136c475d20

Change-Id: If5700f3ffe35e898b47a8e9a9b7886f68dc7eeb8

6 years agoMerge "Start removing remaining pm code to package manager"
TreeHugger Robot [Wed, 25 Oct 2017 20:58:52 +0000 (20:58 +0000)]
Merge "Start removing remaining pm code to package manager"

6 years agoMerge "Fix dial emergency call redial issue by China Unicom."
Brad Ebinger [Wed, 25 Oct 2017 20:50:54 +0000 (20:50 +0000)]
Merge "Fix dial emergency call redial issue by China Unicom."
am: 3ab81b9694

Change-Id: I3895caab83c75a8f0d0251da6154d5a93fe09694

6 years agoMerge "Move grantPermission to permission manager"
TreeHugger Robot [Wed, 25 Oct 2017 20:44:24 +0000 (20:44 +0000)]
Merge "Move grantPermission to permission manager"

6 years agoMerge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev...
Christine Franks [Wed, 25 Oct 2017 20:38:31 +0000 (20:38 +0000)]
Merge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev am: 2d110e6829
am: 10e9bc5ba7  -s ours

Change-Id: I31976f43ee46c37abc63d1680fea21e54329c785

6 years agoMerge "Fix dial emergency call redial issue by China Unicom."
Brad Ebinger [Wed, 25 Oct 2017 20:36:17 +0000 (20:36 +0000)]
Merge "Fix dial emergency call redial issue by China Unicom."

6 years agoMerge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev
Christine Franks [Wed, 25 Oct 2017 20:28:07 +0000 (20:28 +0000)]
Merge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev
am: 2d110e6829

Change-Id: I0e805b480a3317548c219eb282fcf399b41b4ff1

6 years agoandroid.os.HwBinder: fix native static method signature
Yifan Hong [Wed, 25 Oct 2017 20:19:22 +0000 (13:19 -0700)]
android.os.HwBinder: fix native static method signature

Test: pass
Change-Id: I54c384abaad7c7aafab31836f34edee5c7c75aac

6 years agoMerge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev
Christine Franks [Wed, 25 Oct 2017 20:15:17 +0000 (20:15 +0000)]
Merge "DO NOT MERGE - Support native and srgb for night display" into oc-mr1-dev

6 years agoMerge "Prevent touch delegate from blocking parent events"
TreeHugger Robot [Wed, 25 Oct 2017 20:11:39 +0000 (20:11 +0000)]
Merge "Prevent touch delegate from blocking parent events"

6 years agoMerge "Provide explicit Network via JobParameters."
Jeff Sharkey [Wed, 25 Oct 2017 20:08:40 +0000 (20:08 +0000)]
Merge "Provide explicit Network via JobParameters."

6 years agoMerge "Removing some system binder calls in AppWidgetHostView"
TreeHugger Robot [Wed, 25 Oct 2017 19:43:21 +0000 (19:43 +0000)]
Merge "Removing some system binder calls in AppWidgetHostView"

6 years agoDO NOT MERGE - Support native and srgb for night display
Christine Franks [Wed, 25 Oct 2017 02:04:22 +0000 (19:04 -0700)]
DO NOT MERGE - Support native and srgb for night display

Bug: 68159303
Test: make -j100

Change-Id: Iea4b38bd8c9037f50b7ffa6e3c4f12b0e536a8ce

6 years agoStart removing remaining pm code to package manager
Dianne Hackborn [Fri, 20 Oct 2017 23:16:32 +0000 (16:16 -0700)]
Start removing remaining pm code to package manager

Everything is now moved out of the pm command except for
the various install commands.  I am going to hold of on
those since they require doing some resolution with the
current implementations in the package manager to make
sure they match and behave identically to the implementations
currently in the pm command.  But other than that, everything
in pm is now just redirecting over to "cmd package".

Also fix up some of the dumpsys output of a few other sevices
when asking to print the data for a particular package, so
the "pm dump" command gives a little more sane result.

Test: manual

Change-Id: I139e06e560203b72243d7eea9543c2240db0f8f8

6 years agoMerge "Merge "Make it possible to dial an operator specific code" am: f4f4ba3d42...
Android Build Merger (Role) [Wed, 25 Oct 2017 19:15:38 +0000 (19:15 +0000)]
Merge "Merge "Make it possible to dial an operator specific code" am: f4f4ba3d42 am: 6519e65ed8 am: a44a9d8b98"

6 years agoMerge "Make it possible to dial an operator specific code" am: f4f4ba3d42 am: 6519e65ed8
Jordan Liu [Wed, 25 Oct 2017 19:12:47 +0000 (19:12 +0000)]
Merge "Make it possible to dial an operator specific code" am: f4f4ba3d42 am: 6519e65ed8
am: a44a9d8b98

Change-Id: I7424799b74b61d3f507fbe8fb99c09d48e30cba8

6 years agoMerge "Revert "Removing stats service registration in system server""
TreeHugger Robot [Wed, 25 Oct 2017 19:11:34 +0000 (19:11 +0000)]
Merge "Revert "Removing stats service registration in system server""

6 years agoMerge "Renaming in BluetoothTile and QSDetailItems"
Lei Yu [Wed, 25 Oct 2017 18:57:59 +0000 (18:57 +0000)]
Merge "Renaming in BluetoothTile and QSDetailItems"

6 years agoMerge "Make it possible to dial an operator specific code" am: f4f4ba3d42
Jordan Liu [Wed, 25 Oct 2017 18:51:21 +0000 (18:51 +0000)]
Merge "Make it possible to dial an operator specific code" am: f4f4ba3d42
am: 6519e65ed8

Change-Id: Ic13742cb8e39beaf8ab722ac9203c22c5e5a83f8

6 years agoMerge "incidentd: Adding proto dump for AlarmManager."
TreeHugger Robot [Wed, 25 Oct 2017 18:43:39 +0000 (18:43 +0000)]
Merge "incidentd: Adding proto dump for AlarmManager."

6 years agoMerge "Make it possible to dial an operator specific code"
Jordan Liu [Wed, 25 Oct 2017 18:40:33 +0000 (18:40 +0000)]
Merge "Make it possible to dial an operator specific code"
am: f4f4ba3d42

Change-Id: I9af399f6ab0d5f95e76b0fd3cc769acc6a75a5b5

6 years agoMerge "Make it possible to dial an operator specific code"
Jordan Liu [Wed, 25 Oct 2017 18:22:31 +0000 (18:22 +0000)]
Merge "Make it possible to dial an operator specific code"

6 years agoMerge "Java side setup and access to Binder Proxy Tracking"
Michael Wachenschwanz [Wed, 25 Oct 2017 18:20:56 +0000 (18:20 +0000)]
Merge "Java side setup and access to Binder Proxy Tracking"

6 years agoMerge "Improve NetworkCapabilities docs." am: 14a51058b1 am: b385ba095b
Jeff Sharkey [Wed, 25 Oct 2017 17:54:35 +0000 (17:54 +0000)]
Merge "Improve NetworkCapabilities docs." am: 14a51058b1 am: b385ba095b
am: f9ae47c5da

Change-Id: I33ef6f930529f9c6e8502613633fffccaa18c192

6 years agoMerge "Improve NetworkCapabilities docs." am: 14a51058b1
Jeff Sharkey [Wed, 25 Oct 2017 17:35:44 +0000 (17:35 +0000)]
Merge "Improve NetworkCapabilities docs." am: 14a51058b1
am: b385ba095b

Change-Id: I3a685156e46c980078c3a91b36e9c1301c29240f

6 years agoRemoving some system binder calls in AppWidgetHostView
Sunny Goyal [Tue, 24 Oct 2017 23:14:12 +0000 (16:14 -0700)]
Removing some system binder calls in AppWidgetHostView

> Using the AppWidgetProviderInfo for applicationInfo instead of getting
  it from packageNamager
> Sending ProviderInfo update when the package is suspended/unsuspended so
  that the provider info on client side is always up-to-date

Bug: 67865199
Test: Manually tested on device
Change-Id: Id44facc30b4c3cc01e155eba9feeb541997fc816

6 years agoMerge "Improve NetworkCapabilities docs."
Jeff Sharkey [Wed, 25 Oct 2017 17:25:17 +0000 (17:25 +0000)]
Merge "Improve NetworkCapabilities docs."
am: 14a51058b1

Change-Id: Ib3c6dd78c7ed41526a734fbc91a81cb4c7fae6d7

6 years agoProvide explicit Network via JobParameters.
Jeff Sharkey [Tue, 24 Oct 2017 22:55:04 +0000 (16:55 -0600)]
Provide explicit Network via JobParameters.

On devices with multiple active networks, or rapidly switching
between networks, we need an API to tell jobs explicitly which
network to use.  (For example, the default route could meet all
job criteria, but we could have changed the default network by the
time we spun up the JobService.)

This also paves the way for us choosing to run jobs over
non-default networks.

Test: verified via DownloadManager
Bug: 64133169
Change-Id: Ic8d654707e39236c8da85a5e172161ac39e5f0b3

6 years agoMerge "Improve NetworkCapabilities docs."
Treehugger Robot [Wed, 25 Oct 2017 17:16:03 +0000 (17:16 +0000)]
Merge "Improve NetworkCapabilities docs."

6 years agoMerge "taskReturnToType be gone!"
Wale Ogunwale [Wed, 25 Oct 2017 17:14:51 +0000 (17:14 +0000)]
Merge "taskReturnToType be gone!"

6 years agoMerge changes Ifee27c86,I9ffa4b00
TreeHugger Robot [Wed, 25 Oct 2017 17:05:44 +0000 (17:05 +0000)]
Merge changes Ifee27c86,I9ffa4b00

* changes:
  Add more atoms to statsd
  Add wakelock atom to statsd

6 years agoMerge "Add some atoms to statsd"
TreeHugger Robot [Wed, 25 Oct 2017 17:04:54 +0000 (17:04 +0000)]
Merge "Add some atoms to statsd"

6 years agoMerge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev am: c470a72024
Andrew Solovay [Wed, 25 Oct 2017 16:29:41 +0000 (16:29 +0000)]
Merge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev am: c470a72024
am: c257e42e3f

Change-Id: I7adb6b257080c28a8cabd1e99d436d77ce5dbaa2

6 years agoMerge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev
Andrew Solovay [Wed, 25 Oct 2017 16:18:37 +0000 (16:18 +0000)]
Merge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev
am: c470a72024

Change-Id: Id17bb6f9a4609b09a1425392bd1b4e8840e7eb1d

6 years agoMerge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev
Andrew Solovay [Wed, 25 Oct 2017 16:05:50 +0000 (16:05 +0000)]
Merge "docs: Fixing P1 formatting problem on Javadocs" into oc-mr1-dev

6 years agoPrevent touch delegate from blocking parent events
Siarhei Vishniakou [Sat, 21 Oct 2017 01:06:57 +0000 (18:06 -0700)]
Prevent touch delegate from blocking parent events

Make sure that TouchDelegate does not interfere with
handling of parent's events, such as onClick().
Currently, the variable mDelegateTargeted is sticky,
and after the TouchDelegate is first activated,
stays true for the remainder of its life. Therefore, the
parent view will no longer receive clicks after the
TouchDelegate is first clicked. This patch forces the
re-evaluation of mDelegateTargeted on each new ACTION_DOWN
event.

Test: bit CtsViewTestCases:.TouchDelegateTest
Bug: 65392236
Change-Id: Ifa6430ce6e8400c0411df7da66281219ea97733c

6 years agoMerge "Don't clear a layerPool that is never initialized."
TreeHugger Robot [Wed, 25 Oct 2017 15:40:06 +0000 (15:40 +0000)]
Merge "Don't clear a layerPool that is never initialized."

6 years agoMerge "Avoid changing resize dim layer if not needed"
TreeHugger Robot [Wed, 25 Oct 2017 15:12:59 +0000 (15:12 +0000)]
Merge "Avoid changing resize dim layer if not needed"

6 years agoMerge "Initial implementation of LaunchingBoundsController."
Bryce Lee [Wed, 25 Oct 2017 14:18:22 +0000 (14:18 +0000)]
Merge "Initial implementation of LaunchingBoundsController."

6 years agoMerge "Switch to listening for CarrierConfig changes for provisioning rechecks" am...
Erik Kline [Wed, 25 Oct 2017 14:07:34 +0000 (14:07 +0000)]
Merge "Switch to listening for CarrierConfig changes for provisioning rechecks" am: c21effd526 am: 166c27440d
am: fc0b863b44

Change-Id: I2e46e8271209798692d5074d336ef73eb96370bb

6 years agoMerge "Switch to listening for CarrierConfig changes for provisioning rechecks" am...
Erik Kline [Wed, 25 Oct 2017 13:58:16 +0000 (13:58 +0000)]
Merge "Switch to listening for CarrierConfig changes for provisioning rechecks" am: c21effd526
am: 166c27440d

Change-Id: I16c6e768d8df46d2d11947edc0c5620dd3f1b2a9

6 years agoMerge "Build stubs against SDK and clear local variables"
Paul Duffin [Wed, 25 Oct 2017 13:57:32 +0000 (13:57 +0000)]
Merge "Build stubs against SDK and clear local variables"

6 years agoDon't clear a layerPool that is never initialized.
Derek Sollenberger [Wed, 25 Oct 2017 13:52:23 +0000 (09:52 -0400)]
Don't clear a layerPool that is never initialized.

Test: device now boots in Vulkan without crash
Change-Id: Ib0a3d8253a49fbcdb75e9f4edda0c32d06903669

6 years agoMerge "Switch to listening for CarrierConfig changes for provisioning rechecks"
Erik Kline [Wed, 25 Oct 2017 13:47:31 +0000 (13:47 +0000)]
Merge "Switch to listening for CarrierConfig changes for provisioning rechecks"
am: c21effd526

Change-Id: I58dfd65873b65a59b832afea88f8d246b088aa6b

6 years agoMerge "Switch to listening for CarrierConfig changes for provisioning rechecks"
Treehugger Robot [Wed, 25 Oct 2017 13:37:40 +0000 (13:37 +0000)]
Merge "Switch to listening for CarrierConfig changes for provisioning rechecks"

6 years agoAvoid changing resize dim layer if not needed
Jorim Jaggi [Wed, 25 Oct 2017 13:20:24 +0000 (15:20 +0200)]
Avoid changing resize dim layer if not needed

UPDATE_DOCKED_STACK_DIVIDER gets called fairly frequently.
When we switched to having a stack per task,
TaskStack.resetAdjustedForIme was called a lot more frequently,
leading to a lot of empty surface transaction binder calls, which
took very long to execute.

We fix this by avoid calling setResizeDimLayer as well as avoid
even creating a transaction when the dim layer hasn't changed.

Test: go/wm-smoke
Test: Resize docked stack, check IME adjust animations
Change-Id: I75e64c6e3ac77012388c68c6750a426bd3ed6e21
Fixes: 67747409
Bug: 67780926

6 years ago[Magnifier - 7] Minor cleanup
Andrei Stingaceanu [Wed, 25 Oct 2017 09:56:16 +0000 (10:56 +0100)]
[Magnifier - 7] Minor cleanup

Remove uselsess annotations on primitives.

Bug: 63531115
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: I1e15e18d57af23d25a347d644ea57372e32adb59

6 years agoMerge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test...
Dave Friedman [Wed, 25 Oct 2017 07:22:10 +0000 (07:22 +0000)]
Merge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test: Ran make ds-docs." into oc-dev am: 44cd5b97ad am: 25c008d9b1 am: b8057e3178
am: 37de23b48f

Change-Id: I75e0caf9d0ffa543281e6efb14ac57099af99ff5

6 years agoMerge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test...
Dave Friedman [Wed, 25 Oct 2017 07:10:33 +0000 (07:10 +0000)]
Merge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test: Ran make ds-docs." into oc-dev am: 44cd5b97ad am: 25c008d9b1
am: b8057e3178

Change-Id: Iaadb41606ae388d539490abf9289ea1d66c5d833

6 years agoMerge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test...
Dave Friedman [Wed, 25 Oct 2017 06:59:38 +0000 (06:59 +0000)]
Merge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test: Ran make ds-docs." into oc-dev am: 44cd5b97ad
am: 25c008d9b1

Change-Id: I740781c9ddd2207d15ea285748c9971139fe50ad

6 years agoMerge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test...
Dave Friedman [Wed, 25 Oct 2017 06:48:22 +0000 (06:48 +0000)]
Merge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test: Ran make ds-docs." into oc-dev
am: 44cd5b97ad

Change-Id: I228d7395c9de8e164a0110c0d4fdf4530c7690ec

6 years agoMerge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test...
TreeHugger Robot [Wed, 25 Oct 2017 06:22:54 +0000 (06:22 +0000)]
Merge "Docs: Adds brief instructions for how to do Wi-Fi scan. Bug: 67967771 Test: Ran make ds-docs." into oc-dev

6 years agoMerge "Revert "HIDL Java getService now the same as C++."" am: 65d1e549b6 am: 4868f5311e
Steven Moreland [Wed, 25 Oct 2017 06:19:38 +0000 (06:19 +0000)]
Merge "Revert "HIDL Java getService now the same as C++."" am: 65d1e549b6 am: 4868f5311e
am: b29739e1c9

Change-Id: I0a11131c6736f03b15e967990edbbbd47b6537ed

6 years agoMerge changes from topic "am-e99469bff1324e56a42a31403070d131"
Android Build Merger (Role) [Wed, 25 Oct 2017 06:02:01 +0000 (06:02 +0000)]
Merge changes from topic "am-e99469bff1324e56a42a31403070d131"

* changes:
  Merge changes from topic "keystorebp" am: a12eab69d1 am: 315bbfc213 am: 2461194985
  Export AIDL for keystore Android.bp. am: 01478ec183 am: f179a478bf am: b5154d71b2  -s ours

6 years agoMerge changes from topic "keystorebp" am: a12eab69d1 am: 315bbfc213
Colin Cross [Wed, 25 Oct 2017 05:57:34 +0000 (05:57 +0000)]
Merge changes from topic "keystorebp" am: a12eab69d1 am: 315bbfc213
am: 2461194985

Change-Id: Ibb0723012dd3a2e1a5b12810acd77c0a24292208

6 years agoMerge "Revert "HIDL Java getService now the same as C++."" am: 65d1e549b6
Steven Moreland [Wed, 25 Oct 2017 05:56:47 +0000 (05:56 +0000)]
Merge "Revert "HIDL Java getService now the same as C++."" am: 65d1e549b6
am: 4868f5311e

Change-Id: I80789cb8e1cf0d49e3f85fffe29a12eb74b7726e

6 years agoMerge "Fixing CTS regression"
TreeHugger Robot [Wed, 25 Oct 2017 05:53:55 +0000 (05:53 +0000)]
Merge "Fixing CTS regression"

6 years agoExport AIDL for keystore Android.bp. am: 01478ec183 am: f179a478bf
Jeff Sharkey [Wed, 25 Oct 2017 05:51:16 +0000 (05:51 +0000)]
Export AIDL for keystore Android.bp. am: 01478ec183 am: f179a478bf
am: b5154d71b2  -s ours

Change-Id: I1be34c9ba628ba07d0d3095a144fa974345f1d91

6 years agoMerge changes from topic "keystorebp" am: a12eab69d1
Colin Cross [Wed, 25 Oct 2017 05:39:06 +0000 (05:39 +0000)]
Merge changes from topic "keystorebp" am: a12eab69d1
am: 315bbfc213

Change-Id: I5ac8aa1079a4fdb23a8745e9998d947c85c98e7f

6 years agoMerge "resolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp" into oc-mr1...
Andreas Gampe [Wed, 25 Oct 2017 05:37:12 +0000 (05:37 +0000)]
Merge "resolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp" into oc-mr1-dev-plus-aosp
am: c4ca931dc5

Change-Id: I6c42eb5cb874dc359cc8b9c3e01244182197faf3

6 years agoExport AIDL for keystore Android.bp. am: 01478ec183
Jeff Sharkey [Wed, 25 Oct 2017 05:34:10 +0000 (05:34 +0000)]
Export AIDL for keystore Android.bp. am: 01478ec183
am: f179a478bf

Change-Id: I38d1cb28539eff3f136b2ec0bb730302d716c278

6 years agoMerge "resolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp" into oc-mr1...
Andreas Gampe [Wed, 25 Oct 2017 05:22:04 +0000 (05:22 +0000)]
Merge "resolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp" into oc-mr1-dev-plus-aosp

6 years agoMerge "Revert "HIDL Java getService now the same as C++.""
Steven Moreland [Wed, 25 Oct 2017 05:17:19 +0000 (05:17 +0000)]
Merge "Revert "HIDL Java getService now the same as C++.""
am: 65d1e549b6

Change-Id: I545166bd11ee2a38b43743ebb4559429e1b22349

6 years agoMerge changes from topic "keystorebp"
Colin Cross [Wed, 25 Oct 2017 05:07:24 +0000 (05:07 +0000)]
Merge changes from topic "keystorebp"
am: a12eab69d1

Change-Id: I4a6f7f84d683582d126a6370e1cf3ae6ee9f4b19

6 years agoExport AIDL for keystore Android.bp.
Jeff Sharkey [Wed, 25 Oct 2017 05:01:29 +0000 (05:01 +0000)]
Export AIDL for keystore Android.bp.
am: 01478ec183

Change-Id: Ie2308e809410e1c8237095c7f74bce08b8f76397

6 years agoMerge "Add color mode setting" into oc-mr1-dev am: 19aa8ae955
Chia-I Wu [Wed, 25 Oct 2017 04:54:24 +0000 (04:54 +0000)]
Merge "Add color mode setting" into oc-mr1-dev am: 19aa8ae955
am: 51c2848c44

Change-Id: I97fb37429e97c59b223a36431f59c43c86c92ab0

6 years agoMerge "Revert "HIDL Java getService now the same as C++.""
Steven Moreland [Wed, 25 Oct 2017 04:50:08 +0000 (04:50 +0000)]
Merge "Revert "HIDL Java getService now the same as C++.""

6 years agoRevert "HIDL Java getService now the same as C++."
Steven Moreland [Wed, 25 Oct 2017 04:46:26 +0000 (04:46 +0000)]
Revert "HIDL Java getService now the same as C++."

Appears to be causing problems on 2017 devices.

This reverts commit c1f00f8cd895e38c74ed1cb1adff33065ccecd06.

Change-Id: I6c1717a612bfa3fe63f08160a1db652c284f6ba4

6 years agoMerge "App Bucketing for Standby"
TreeHugger Robot [Wed, 25 Oct 2017 04:44:15 +0000 (04:44 +0000)]
Merge "App Bucketing for Standby"

6 years agoMerge changes from topic "keystorebp"
Colin Cross [Wed, 25 Oct 2017 04:43:08 +0000 (04:43 +0000)]
Merge changes from topic "keystorebp"

* changes:
  Convert lockregioncodeinjection to Android.bp
  Export AIDL for keystore Android.bp.

6 years agoMerge "Add color mode setting" into oc-mr1-dev
Chia-I Wu [Wed, 25 Oct 2017 04:38:29 +0000 (04:38 +0000)]
Merge "Add color mode setting" into oc-mr1-dev
am: 19aa8ae955

Change-Id: I99821d20c99ae46537640cde4418c9079a46f6f1

6 years agoMerge "Add color mode setting" into oc-mr1-dev
Chia-I Wu [Wed, 25 Oct 2017 04:28:58 +0000 (04:28 +0000)]
Merge "Add color mode setting" into oc-mr1-dev

6 years agoresolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp
Andreas Gampe [Wed, 25 Oct 2017 03:37:02 +0000 (20:37 -0700)]
resolve merge conflicts of 1fae62661258 to oc-mr1-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I091e95c259029c7380f269a4258cc269458d2020

6 years agoImprove NetworkCapabilities docs.
Jeff Sharkey [Wed, 25 Oct 2017 03:25:50 +0000 (21:25 -0600)]
Improve NetworkCapabilities docs.

Add IntDef for constants, and rely on new auto-documentation feature
to expand all of them at usage sites.

Test: docs-only change
Bug: 64133169
Change-Id: I8a6b5f54c8eb9d4fc7ae3d0d3fb673d52320664b

6 years agoAdd more atoms to statsd
Bookatz [Wed, 25 Oct 2017 03:10:31 +0000 (20:10 -0700)]
Add more atoms to statsd

The following events are added to statsd:
WifiLockStateChanged
WifiSignalStrengthChanged
WifiSignalStrengthChanged
PhoneSignalStrengthChanged

Test: manually confirmed these show up in the statslog.
Change-Id: Ifee27c86a28616d8cb9d43bdf11f9cabe2b367c6

6 years agoMerge "BatteryService: allow IBatteryPropertiesRegistrar.scheduleUpdate calls"
TreeHugger Robot [Wed, 25 Oct 2017 02:54:43 +0000 (02:54 +0000)]
Merge "BatteryService: allow IBatteryPropertiesRegistrar.scheduleUpdate calls"

6 years agoMerge changes I119cf83a,Icc5a1e38,If07a04d3
Andreas Gampe [Wed, 25 Oct 2017 02:53:19 +0000 (02:53 +0000)]
Merge changes I119cf83a,Icc5a1e38,If07a04d3
am: 61e3189ec7

Change-Id: I2ef7c49b23314a5cb94671bba0d3891b6b7c3920

6 years agoMerge "Fallback hyphenation for minority Indic languages"
TreeHugger Robot [Wed, 25 Oct 2017 02:47:06 +0000 (02:47 +0000)]
Merge "Fallback hyphenation for minority Indic languages"

6 years agoMerge changes I119cf83a,Icc5a1e38,If07a04d3
Treehugger Robot [Wed, 25 Oct 2017 02:34:18 +0000 (02:34 +0000)]
Merge changes I119cf83a,Icc5a1e38,If07a04d3

* changes:
  Binder: Update to new ScopedLocalRef
  Binder: Clean up JNI code
  Binder: Change reaction to Error

6 years agoMerge "Fix space counting for justified text"
TreeHugger Robot [Wed, 25 Oct 2017 02:30:54 +0000 (02:30 +0000)]
Merge "Fix space counting for justified text"

6 years agoRemove scheduling animation which is no longer needed
Daichi Hirono [Wed, 25 Oct 2017 02:25:36 +0000 (11:25 +0900)]
Remove scheduling animation which is no longer needed

Bug: 63914027
Test: android.server.wm.CrossAppDragAndDropTests, manually check the
      rejected animation and the cancel animation.
Change-Id: I6bdce7fb406fa8ae622d634fa224c993b078bf8a

6 years agoMerge "HIDL Java getService now the same as C++." am: 0c41ad872f am: 34b5b69de9
Steven Moreland [Wed, 25 Oct 2017 02:24:45 +0000 (02:24 +0000)]
Merge "HIDL Java getService now the same as C++." am: 0c41ad872f am: 34b5b69de9
am: fd05e9a075

Change-Id: I6e55ca21bf55f3fe581eaceabc371dc0b85260ad

6 years agoApp Bucketing for Standby
Amith Yamasani [Fri, 29 Sep 2017 20:17:43 +0000 (13:17 -0700)]
App Bucketing for Standby

Manage the standby bucket in AppStandbyController

Default implementation of bucketing based on simple timeout:
 ACTIVE, if recently used
 12 hrs to move to WORKING_SET
 2 days to move to FREQUENT
 7 days to move to RARE
 (subject to change)

RARE bucket equates to the old "idle" or "inactive" state for
an app.

Bug: 63527785
Test: AppStandbyControllerTests.java
Change-Id: I970d7afcdf47c31a9413da8fd4852066a13676a2

6 years agoMerge "HIDL Java getService now the same as C++." am: 0c41ad872f
Steven Moreland [Wed, 25 Oct 2017 02:13:39 +0000 (02:13 +0000)]
Merge "HIDL Java getService now the same as C++." am: 0c41ad872f
am: 34b5b69de9

Change-Id: I3d7bd6b7b352093306da5d250b518ca9b7dc0f6b

6 years agoMerge "Reorganize JNI in StaticLayout"
TreeHugger Robot [Wed, 25 Oct 2017 02:09:37 +0000 (02:09 +0000)]
Merge "Reorganize JNI in StaticLayout"

6 years agoMerge "HIDL Java getService now the same as C++."
Steven Moreland [Wed, 25 Oct 2017 02:02:44 +0000 (02:02 +0000)]
Merge "HIDL Java getService now the same as C++."
am: 0c41ad872f

Change-Id: I9e161fd316d0bae5f3e4449adcb454924531fe11

6 years agoMerge "HIDL Java getService now the same as C++."
Treehugger Robot [Wed, 25 Oct 2017 01:53:16 +0000 (01:53 +0000)]
Merge "HIDL Java getService now the same as C++."

6 years agoAdd wakelock atom to statsd
Bookatz [Wed, 25 Oct 2017 01:39:35 +0000 (18:39 -0700)]
Add wakelock atom to statsd

The wakelock event is logged in statsd.

Test: manually confirmed that the event appears in statslog.
Change-Id: I9ffa4b0042264aabf3526843b4fb1832d183de61

6 years agoJava side setup and access to Binder Proxy Tracking
Michael Wachenschwanz [Tue, 15 Aug 2017 06:10:13 +0000 (23:10 -0700)]
Java side setup and access to Binder Proxy Tracking

Expose Binder Proxy Tracking by Uid from the native side. Enable
 tracking for SYSTEM and killing of any bad behaving uids.

Change-Id: Ifd6d0f30a93fad406417dd83c1495c105bced974
Fixes: 63901963
Test: bit FrameworksCoreTests:android.os.BinderProxyCountingTest

6 years agoAdd some atoms to statsd
Bookatz [Tue, 24 Oct 2017 22:04:41 +0000 (15:04 -0700)]
Add some atoms to statsd

The following atoms (events) are added:
BatteryLevelChanged
ChargingStateChanged
PluggedStateChanged
DeviceTemperatureReported
DeviceOnStatusChanged
WakeupAlarmOccurred
KernelWakeupReported

Test: manual
Change-Id: I1e7d8a842ee67b5da30f20c9e6976c5bc4e0a0ef

6 years agoFallback hyphenation for minority Indic languages
Roozbeh Pournader [Tue, 24 Oct 2017 23:40:21 +0000 (16:40 -0700)]
Fallback hyphenation for minority Indic languages

Minority Indic languages now fallback to available patterns for an
existing major language written in the same script, since the Indic
patterns are script-based anyway.

Change-Id: Ie04b97904e2b7d1b4c1fcd2f3cfc41f76ed8c7d9
Fixes: 67751731
Test: mmm -j frameworks/base/core/jni

6 years agoFixing CTS regression
Winson Chung [Wed, 25 Oct 2017 00:32:32 +0000 (17:32 -0700)]
Fixing CTS regression

- Ensure IllegalArgException is thrown when invalid maxNum of recents
  is requested.

Bug: 68215720
Test: android.app.cts.ActivityManagerTest
Test: #testGetRecentTasks
Change-Id: Idaccc97c609e3deede455fb285801e8cc56a02f9

6 years agoReorganize JNI in StaticLayout
Seigo Nonaka [Fri, 20 Oct 2017 22:23:51 +0000 (15:23 -0700)]
Reorganize JNI in StaticLayout

This CL reorganize the JNI strategy as follows:
- Remove nNewBuilder/nFreeBuilder.
- Make addStyleRun/addReplacementRun CriticalNative.
- Remove nSetupParagraph and pass necessary arguments to
  nComputeLineBreaks instead.

Here is a performance scores: (w/o patch -> w/ patch)

StaticLayoutPerfTest (median):
createRandom:           3,755,090 -> 3,781,394 (+0.70%)
createRandom Balanced:  3,702,837 -> 3,730,435 (+0.74%)

TextViewOnMeasurePerfTest (median):
measure_AtMost:        39,172,360 -> 35,883,014 (-8.4%)
measure_Exactly:       38,005,066 -> 34,585,052 (-9.0%)
measure_Unspecified:   67,191,780 -> 63,100,545 (-6.1%)

Bug: 65024629
Test: bit CtsTextTestCases:*
Test: bit CtsWidgetTestCases:*
Change-Id: If9db1fdd2b03a1cf240f87322c1e852cf8085fff

6 years agoMerge "docs: Correct labeling for two USB events" into oc-mr1-dev am: b13dc50d12
Andrew Solovay [Wed, 25 Oct 2017 00:23:33 +0000 (00:23 +0000)]
Merge "docs: Correct labeling for two USB events" into oc-mr1-dev am: b13dc50d12
am: cf973cdd89

Change-Id: Icfe783e569feef6269327b931296dc86f91e8ccd