OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef
Andrew Zeng [Thu, 16 Mar 2017 23:40:09 +0000 (23:40 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef
am: a01e2212c8

Change-Id: Id333403e3a989e233a97760b716055b3abd186d6

7 years agoMerge "Fix NPE in LockSettingsService." into cw-f-dev
Andrew Zeng [Thu, 16 Mar 2017 23:22:05 +0000 (23:22 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev
am: 4aff3d53ef

Change-Id: I17880622c489df79eeea5116b3afe3c462b06554

7 years agoMerge "Fix NPE in LockSettingsService." into cw-f-dev
Andrew Zeng [Thu, 16 Mar 2017 23:03:02 +0000 (23:03 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev

7 years agoMerge "Added configuration for VT downgrade/tear down when data disabled" am: 0463a7d38e
Brad Ebinger [Thu, 16 Mar 2017 21:34:47 +0000 (21:34 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled" am: 0463a7d38e
am: 55f8fb4ec9

Change-Id: Id32407e4ba02989414d393c61661916453a42732

7 years agoMerge "Added configuration for VT downgrade/tear down when data disabled"
Brad Ebinger [Thu, 16 Mar 2017 21:28:37 +0000 (21:28 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled"
am: 0463a7d38e

Change-Id: I4cdb29ef1d2dfd79bb9cf567fda83d56e6f658e4

7 years agoMerge "Added configuration for VT downgrade/tear down when data disabled"
Brad Ebinger [Thu, 16 Mar 2017 19:52:08 +0000 (19:52 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled"

7 years agoMerge "Add HwParcel::releaseParcel()" am: 210b9afe64
Martijn Coenen [Thu, 16 Mar 2017 19:48:10 +0000 (19:48 +0000)]
Merge "Add HwParcel::releaseParcel()" am: 210b9afe64
am: cea6624ffa

Change-Id: I7c2fec857575342738f7b5d9d04a4d796c4e8fe5

7 years agoMerge "Add HwParcel::releaseParcel()"
Martijn Coenen [Thu, 16 Mar 2017 19:42:45 +0000 (19:42 +0000)]
Merge "Add HwParcel::releaseParcel()"
am: 210b9afe64

Change-Id: If08cb12187e9694144d5c07d9f6fcd67142b8af9

7 years agoMerge "Add HwParcel::releaseParcel()"
Martijn Coenen [Thu, 16 Mar 2017 19:35:56 +0000 (19:35 +0000)]
Merge "Add HwParcel::releaseParcel()"

7 years agoAdd HwParcel::releaseParcel()
Martijn Coenen [Thu, 16 Mar 2017 17:46:42 +0000 (18:46 +0100)]
Add HwParcel::releaseParcel()

To be able to free native Parcel objects as soon
as a transaction is done.

Test: hidl_test_java
Bug: 36088202
Change-Id: I50b3eb7e9fe06958c64575923730d3467e73b9a5

7 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Wed, 16 Nov 2016 00:16:21 +0000 (16:16 -0800)]
Added configuration for VT downgrade/tear down when data disabled

Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

bug: 32880745
Merged-In: I5c71fc9336b39f114a924861a766ca5cb93d4c69
Change-Id: I5c71fc9336b39f114a924861a766ca5cb93d4c69

7 years agoMerge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12
tony.ys_liu [Thu, 16 Mar 2017 15:48:55 +0000 (15:48 +0000)]
Merge "Set system server's class loader for wrap.system_server" am: 8d2d6bfa12
am: 959628a32e

Change-Id: I88bfbb33aa1247a9b0d1d468b35621ed89abcc51

7 years agoMerge "Set system server's class loader for wrap.system_server"
tony.ys_liu [Thu, 16 Mar 2017 15:42:53 +0000 (15:42 +0000)]
Merge "Set system server's class loader for wrap.system_server"
am: 8d2d6bfa12

Change-Id: Iba4af152c9f29ad6e8c9bb1b0a1047e96d287c6b

7 years agoMerge "Set system server's class loader for wrap.system_server"
Treehugger Robot [Thu, 16 Mar 2017 15:33:32 +0000 (15:33 +0000)]
Merge "Set system server's class loader for wrap.system_server"

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416
Elliott Hughes [Thu, 16 Mar 2017 05:45:47 +0000 (05:45 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c425416
am: 40c4210f8f

Change-Id: I264f92773692b2c5cdc58adac808630a31d2569f

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
Elliott Hughes [Thu, 16 Mar 2017 05:40:47 +0000 (05:40 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
am: ef9c425416

Change-Id: I0ea94267a6d6cfa137e77edde288632d04a71bcd

7 years agoMerge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."
Elliott Hughes [Thu, 16 Mar 2017 05:31:23 +0000 (05:31 +0000)]
Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running."

7 years agoMerge "Support Signal strength offset" am: 98d499877f
Sooraj Sasindran [Thu, 16 Mar 2017 03:24:14 +0000 (03:24 +0000)]
Merge "Support Signal strength offset" am: 98d499877f
am: a98cefc55c

Change-Id: Ib545af88fb521465f4b2b410c7eab0c9d20dd317

7 years agoMerge "Support Signal strength offset"
Sooraj Sasindran [Thu, 16 Mar 2017 03:19:37 +0000 (03:19 +0000)]
Merge "Support Signal strength offset"
am: 98d499877f

Change-Id: I3087c3f8d6f975f399dfcf8aa8dd734f78caf69f

7 years agoMerge "Support Signal strength offset"
Sooraj Sasindran [Thu, 16 Mar 2017 03:13:29 +0000 (03:13 +0000)]
Merge "Support Signal strength offset"

7 years agoMerge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16
Erik Kline [Thu, 16 Mar 2017 02:54:02 +0000 (02:54 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses." am: ba8c613e16
am: 143d0853a2

Change-Id: I8957b3506f92257cfa052580156d7a87645d11b2

7 years agoMerge "Add blocking and retrying wrappers for INetd uses."
Erik Kline [Thu, 16 Mar 2017 02:49:36 +0000 (02:49 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses."
am: ba8c613e16

Change-Id: Iae8ea51852ed6991e3b9ed89297c8a932b9224f3

7 years agoMerge "Add blocking and retrying wrappers for INetd uses."
Treehugger Robot [Thu, 16 Mar 2017 02:42:15 +0000 (02:42 +0000)]
Merge "Add blocking and retrying wrappers for INetd uses."

7 years agoMerge "integrate portal webview to the default app" am: e3ece71f2e
Chen Xu [Thu, 16 Mar 2017 00:06:58 +0000 (00:06 +0000)]
Merge "integrate portal webview to the default app" am: e3ece71f2e
am: dd7ff3586c

Change-Id: I929abe090a0e9632e75004a026af3e93c2898cb8

7 years agoMerge "integrate portal webview to the default app"
Chen Xu [Thu, 16 Mar 2017 00:02:28 +0000 (00:02 +0000)]
Merge "integrate portal webview to the default app"
am: e3ece71f2e

Change-Id: I3c46e8bd47d087701b3c643e59bc9e373dab00bb

7 years agoMerge "integrate portal webview to the default app"
Chen Xu [Wed, 15 Mar 2017 23:52:52 +0000 (23:52 +0000)]
Merge "integrate portal webview to the default app"

7 years agoSet system server's class loader for wrap.system_server
tony.ys_liu [Wed, 14 Dec 2016 10:50:29 +0000 (18:50 +0800)]
Set system server's class loader for wrap.system_server

Root Cause: systemServer's class path is not set
  after set wrap.system_server property, and restart system_server,
  it shows a java.lang.RuntimeException:
    Missing class when invoking static main com.android.server.SystemServer

Solution: Correctly pass and parse a passed classpath.

Bug: 34692265
Test: adb root && adb shell stop && adb shell setprop wrap.system_server logwrapper && adb shell start
Change-Id: Ia6707dc05fa627af6cc28360d26b894487a6eff1

7 years agoSupport Signal strength offset
Sooraj Sasindran [Thu, 9 Mar 2017 07:43:17 +0000 (23:43 -0800)]
Support Signal strength offset

Support feature to offset LTE rsrp
for higher freaquency lte bands.

Test: Verified on device that signal bars increased
Bug=30628343
Merged-In: Id0b54901a1e8832fb48ba509e6a380c43f4c9497
Change-Id: Id0b54901a1e8832fb48ba509e6a380c43f4c9497

7 years agointegrate portal webview to the default app
fionaxu [Fri, 10 Mar 2017 18:16:09 +0000 (10:16 -0800)]
integrate portal webview to the default app

Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

new added CaptivePortalLoginActivity is a copy paste from
com.android.captiveportallogin/CaptivePortalLoginActivity combined
with logic from deleted LaunchCaptivePortalActivity.
All webview UI was inherited from com.android.captiveportal

Test: Manual
Bug: 36002256
Merged-in: I2627d5a43039ce433006c058bb4f2c1a39113e59
Change-Id: If422fa12c5f24d9b9e2c9380b3edf94df74bb85f

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9539
Roshan Pius [Wed, 15 Mar 2017 20:47:48 +0000 (20:47 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice." am: 8b549c9539
am: 530d75965d

Change-Id: Ia7cc8ad2099515876d37201039d42d97abedc1e4

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice."
Roshan Pius [Wed, 15 Mar 2017 20:43:52 +0000 (20:43 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."
am: 8b549c9539

Change-Id: I9ccfbfcf17590284aedd4449022b107c37e5aef2

7 years agoMerge "WiFi: Wifi service get configured networks use ParceledListSlice."
Roshan Pius [Wed, 15 Mar 2017 20:34:33 +0000 (20:34 +0000)]
Merge "WiFi: Wifi service get configured networks use ParceledListSlice."

7 years agoFix NPE in LockSettingsService.
Andrew Zeng [Fri, 10 Mar 2017 23:14:08 +0000 (15:14 -0800)]
Fix NPE in LockSettingsService.

Bug: 33789922

Change-Id: Iecdedd8d73d9f749f15a64131cc894d9f92de9d1

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef
Andreas Gampe [Wed, 15 Mar 2017 20:15:58 +0000 (20:15 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging" am: 844be62eef
am: 0c662c0ac0

Change-Id: Idaa8ce7b31fb7921877462d0cf98d6d9fd4e1ae8

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging"
Andreas Gampe [Wed, 15 Mar 2017 20:06:36 +0000 (20:06 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"
am: 844be62eef

Change-Id: I35f0affaef73033c37798eba41dfc1b992187176

7 years agoRestore SystemProperties.PROP_NAME_MAX to keep Kindle running.
Elliott Hughes [Wed, 15 Mar 2017 20:01:53 +0000 (13:01 -0700)]
Restore SystemProperties.PROP_NAME_MAX to keep Kindle running.

The limit has been lifted in O, but without this constant, Kindle crashes here:

  Caused by: java.lang.NoSuchFieldException: PROP_NAME_MAX
    at java.lang.Class.getField(Class.java:1607)
    at com.amazon.android.webkit.AmazonWebKitFactories$Implementation.<clinit>(AmazonWebKitFactories.java:59)

The code seems to want to truncate a system property name to avoid the
exception that SystemProperty.get threw if passed a name that was too long.

Bug: http://b/36095274
Test: select a word in Kindle
Change-Id: Id1881a8a7c6386400a1024beb0d1b741bdaefba7

7 years agoMerge "PackageManagerService: Fix ABI adjustment logging"
Treehugger Robot [Wed, 15 Mar 2017 19:54:09 +0000 (19:54 +0000)]
Merge "PackageManagerService: Fix ABI adjustment logging"

7 years agoPackageManagerService: Fix ABI adjustment logging
Andreas Gampe [Wed, 15 Mar 2017 17:09:57 +0000 (10:09 -0700)]
PackageManagerService: Fix ABI adjustment logging

Fix logging of "Adjusting ABI" to be tolerant to null
packages.

Bug: 36172429
Test: m
Test: manual
Change-Id: Ic6b9a8e09e58dce6be97e464fe3986c709f820de

7 years agoMerge "Change Czech Republic to Czechia" am: 027a67062e
Joachim Sauer [Wed, 15 Mar 2017 12:02:27 +0000 (12:02 +0000)]
Merge "Change Czech Republic to Czechia" am: 027a67062e
am: 14bcec27a0

Change-Id: Ia8b2bcf8d01aaad715f2bd4051fc7dc011735569

7 years agoMerge "Change Czech Republic to Czechia"
Joachim Sauer [Wed, 15 Mar 2017 11:57:28 +0000 (11:57 +0000)]
Merge "Change Czech Republic to Czechia"
am: 027a67062e

Change-Id: I51fc6fde5647b1fd8ecc677da7f6ec7a248a3b38

7 years agoMerge "Change Czech Republic to Czechia"
Treehugger Robot [Wed, 15 Mar 2017 11:45:43 +0000 (11:45 +0000)]
Merge "Change Czech Republic to Czechia"

7 years agoAdd blocking and retrying wrappers for INetd uses.
Erik Kline [Tue, 14 Mar 2017 08:40:00 +0000 (17:40 +0900)]
Add blocking and retrying wrappers for INetd uses.

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes

Change-Id: I1a8e15149bf9dbedc6a09c0d8ab6abb2ef4f8fee

7 years agoMerge "Add comment with packet tracker debugging tip" am: 40aa5ee583
Erik Kline [Wed, 15 Mar 2017 02:43:19 +0000 (02:43 +0000)]
Merge "Add comment with packet tracker debugging tip" am: 40aa5ee583
am: 17dd8723b7

Change-Id: I1d937d99d58ae031d6bf86f3407669bf47d5c037

7 years agoMerge "Add comment with packet tracker debugging tip"
Erik Kline [Wed, 15 Mar 2017 02:38:51 +0000 (02:38 +0000)]
Merge "Add comment with packet tracker debugging tip"
am: 40aa5ee583

Change-Id: I0f5f139f81af23ddc33e37ddf489a477e37c394f

7 years agoMerge "Add comment with packet tracker debugging tip"
Treehugger Robot [Wed, 15 Mar 2017 02:28:06 +0000 (02:28 +0000)]
Merge "Add comment with packet tracker debugging tip"

7 years agoMerge "hotspot2: update documentation for WifiManager#queryPasspointIcon" am: 6493f3df6b
Peter Qiu [Tue, 14 Mar 2017 23:16:38 +0000 (23:16 +0000)]
Merge "hotspot2: update documentation for WifiManager#queryPasspointIcon" am: 6493f3df6b
am: 7a3fd84b1e

Change-Id: I1cdba5a4bcca50a7c9e9983e95dd8ccb898f125e

7 years agoMerge "hotspot2: update documentation for WifiManager#queryPasspointIcon"
Peter Qiu [Tue, 14 Mar 2017 23:07:28 +0000 (23:07 +0000)]
Merge "hotspot2: update documentation for WifiManager#queryPasspointIcon"
am: 6493f3df6b

Change-Id: I40fc13a08425f2ada7e648342db92d83c4d59cba

7 years agoMerge "hotspot2: update documentation for WifiManager#queryPasspointIcon"
Treehugger Robot [Tue, 14 Mar 2017 22:45:56 +0000 (22:45 +0000)]
Merge "hotspot2: update documentation for WifiManager#queryPasspointIcon"

7 years agoresolve merge conflicts of 4b39c15da0f5 to nyc-mr2-dev-plus-aosp
Ajay Panicker [Tue, 14 Mar 2017 21:01:57 +0000 (14:01 -0700)]
resolve merge conflicts of 4b39c15da0f5 to nyc-mr2-dev-plus-aosp

Change-Id: I7567db6d1fbb9f8a8b5e29c3e24cdff6508c4b6f

7 years agoMerge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836...
Marie Janssen [Tue, 14 Mar 2017 19:29:50 +0000 (19:29 +0000)]
Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c am: 4034a9a96a am: 89d2b46a4a
am: c1a5939026

Change-Id: I50df57c208542d35bc72851fa37e47731bbd9965

7 years agoMerge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836...
Marie Janssen [Tue, 14 Mar 2017 19:21:49 +0000 (19:21 +0000)]
Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c am: 4034a9a96a
am: 89d2b46a4a

Change-Id: I5f710900167558283cb9e898c2022d8991dbb5c3

7 years agoMerge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c
Marie Janssen [Tue, 14 Mar 2017 19:16:47 +0000 (19:16 +0000)]
Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c
am: 4034a9a96a

Change-Id: Ie63f9d24ab37c5465b250d2b9b60efdf736b4d60

7 years agoMerge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLo...
Svetoslav Ganov [Tue, 14 Mar 2017 19:12:23 +0000 (19:12 +0000)]
Merge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLocked" am: 14c7e67da8
am: 6006d681ab

Change-Id: I9ed4aca6b9d23a4e8196bdb9595c5e1b8fd2faf4

7 years agoMerge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLo...
Svetoslav Ganov [Tue, 14 Mar 2017 19:07:22 +0000 (19:07 +0000)]
Merge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLocked"
am: 14c7e67da8

Change-Id: Icfa9fc501806820545dd9df9d671fcdfe645b73f

7 years agoMerge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLo...
Svetoslav Ganov [Tue, 14 Mar 2017 18:58:28 +0000 (18:58 +0000)]
Merge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLocked"

7 years agoMerge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c
Marie Janssen [Tue, 14 Mar 2017 17:09:52 +0000 (10:09 -0700)]
Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c

Change-Id: I2b9aeca138aefb0579b3be8014b3f0bf49d99764

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03...
Peter Qiu [Tue, 14 Mar 2017 16:36:20 +0000 (16:36 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03b3d74
am: 39df78ecc7

Change-Id: I5c86f4dd87a369640248a3fdd953912f0d92e8f4

7 years agohotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5
Peter Qiu [Tue, 14 Mar 2017 16:35:20 +0000 (16:35 +0000)]
hotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5
am: 9c0f6f3db7

Change-Id: I4c4b6f107b4cb603c6ab3f356e25eed8c0f18c33

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f
Peter Qiu [Tue, 14 Mar 2017 16:34:19 +0000 (16:34 +0000)]
Osu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f
am: de91bfd277

Change-Id: Ibab3d0b8900bcfdea8145a23bb2f7694bbc37700

7 years agohotspot2: update Passpoint intent definitions am: 5679145d9a
Peter Qiu [Tue, 14 Mar 2017 16:32:45 +0000 (16:32 +0000)]
hotspot2: update Passpoint intent definitions am: 5679145d9a
am: c4d5850d3e

Change-Id: I28c59915fdd7215ea66b1a2ce9181d7d2890ae9f

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
Peter Qiu [Tue, 14 Mar 2017 16:24:11 +0000 (16:24 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'
am: 5df03b3d74

Change-Id: Ic1822a3203da5522a5a103c34fb45a6498cd6428

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Tue, 14 Mar 2017 16:22:28 +0000 (16:22 +0000)]
hotspot2: hide validate method for Passpoint configuration
am: b5ca6f36b5

Change-Id: I268b0db6c844ec1746b6374c87768f233b719b3f

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Tue, 14 Mar 2017 16:21:06 +0000 (16:21 +0000)]
Osu: temporarily comment out the usage of deprecated intent definitions
am: 06b63dcb9f

Change-Id: I6c418dbecc72ac5c4e245fff06fabfe23b443c23

7 years agohotspot2: update Passpoint intent definitions
Peter Qiu [Tue, 14 Mar 2017 16:19:19 +0000 (16:19 +0000)]
hotspot2: update Passpoint intent definitions
am: 5679145d9a

Change-Id: I4e59efbcd9a9d33ceac8cc359155770c2de5a0fd

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
Treehugger Robot [Tue, 14 Mar 2017 16:07:46 +0000 (16:07 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'

* changes:
  hotspot2: update Passpoint configuration management APIs
  hotspot2: hide validate method for Passpoint configuration
  Osu: temporarily comment out the usage of deprecated intent definitions
  hotspot2: update Passpoint intent definitions

7 years agoMerge "Protect Bluetooth OPP ACCEPT and DECLINE broadcast" into nyc-dev
Marie Janssen [Tue, 14 Mar 2017 16:01:07 +0000 (16:01 +0000)]
Merge "Protect Bluetooth OPP ACCEPT and DECLINE broadcast" into nyc-dev

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:25:59 +0000 (12:25 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3 am: 00b77edec0 am: 11c5ff0399
am: d49386eaa5

Change-Id: If8ade174d66418ecd43606cd57a98655e37deec8

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:21:00 +0000 (12:21 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3 am: 00b77edec0
am: 11c5ff0399

Change-Id: I649c06ea01b23db5668fa0694528cffd823b8d7b

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:16:23 +0000 (12:16 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3
am: 00b77edec0

Change-Id: I16ea6b1c11cde1b9491826d7e95dc9bf3a45458b

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:11:54 +0000 (12:11 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0
am: c5d86736d3

Change-Id: I0886d46f74fec980eb8bd6c99d8b647e294bcb21

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:07:26 +0000 (12:07 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev
am: 2df7f9f9c0

Change-Id: I9ca23aa395e0120413a60174e9b7ef44d91a90b1

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:01:54 +0000 (12:01 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev

7 years agoAdd comment with packet tracker debugging tip
Erik Kline [Tue, 14 Mar 2017 11:03:14 +0000 (20:03 +0900)]
Add comment with packet tracker debugging tip

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - "adb shell dumpsys wifi ipmanager" shows the debugging tip

Change-Id: Ifcccbdd81a0fc8beb7801ec7c3f78e8a941bc72b

7 years agoMerge "Address some comments on IpManagerTest" am: b2afa1ede5
Erik Kline [Tue, 14 Mar 2017 06:13:10 +0000 (06:13 +0000)]
Merge "Address some comments on IpManagerTest" am: b2afa1ede5
am: dea2371e71

Change-Id: Iac9eccca662fccc2da7d81c6d86d1623cccef342

7 years agoMerge "Address some comments on IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 06:08:34 +0000 (06:08 +0000)]
Merge "Address some comments on IpManagerTest"
am: b2afa1ede5

Change-Id: Ic986c23c693757b8311e0de0c0a94281db67f62d

7 years agoMerge "Address some comments on IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Address some comments on IpManagerTest"

7 years agoAddress some comments on IpManagerTest
Erik Kline [Tue, 14 Mar 2017 04:00:27 +0000 (13:00 +0900)]
Address some comments on IpManagerTest

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Ib543874188537e31422206d67d1760762a7c85cd

7 years agoMerge "Skeleton of an IpManagerTest" am: db4333a2c2
Erik Kline [Tue, 14 Mar 2017 03:19:56 +0000 (03:19 +0000)]
Merge "Skeleton of an IpManagerTest" am: db4333a2c2
am: cf07e0d541

Change-Id: I9b0ed1aff8ba7d5465bff3d6fa8f9048153c8a44

7 years agoMerge "Skeleton of an IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 03:11:15 +0000 (03:11 +0000)]
Merge "Skeleton of an IpManagerTest"
am: db4333a2c2

Change-Id: I5817c2458c222afb85389deaf22b43d245577b2a

7 years agoMerge "Skeleton of an IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 03:02:19 +0000 (03:02 +0000)]
Merge "Skeleton of an IpManagerTest"

7 years agoSkeleton of an IpManagerTest
Erik Kline [Tue, 14 Mar 2017 01:01:58 +0000 (10:01 +0900)]
Skeleton of an IpManagerTest

Test: as follows
    - biult (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Idddddf0c1a7a8d0a8acff8a5526b02a533d5f3ec

7 years agoMerge "carrier default app notification polish" am: b2bb98e62d
fionaxu [Tue, 14 Mar 2017 01:15:46 +0000 (01:15 +0000)]
Merge "carrier default app notification polish" am: b2bb98e62d
am: 921a49f7f8

Change-Id: I318953e330252694fb64cde9d2f5e8a540384a1c

7 years agoMerge "carrier default app notification polish"
fionaxu [Tue, 14 Mar 2017 01:10:51 +0000 (01:10 +0000)]
Merge "carrier default app notification polish"
am: b2bb98e62d

Change-Id: I78101dd7dc4bd7f222c5e6cc095b7179ce03f362

7 years agoMerge "carrier default app notification polish"
Treehugger Robot [Tue, 14 Mar 2017 00:55:05 +0000 (00:55 +0000)]
Merge "carrier default app notification polish"

7 years agocarrier default app notification polish
fionaxu [Mon, 13 Mar 2017 23:01:12 +0000 (16:01 -0700)]
carrier default app notification polish

change notification string and app name

Bug: 36002256
Test: Manual
Change-Id: Iec2658850522585157bdc7edd7330ac930bf751d

7 years agohotspot2: update Passpoint configuration management APIs
Peter Qiu [Mon, 6 Mar 2017 18:47:55 +0000 (10:47 -0800)]
hotspot2: update Passpoint configuration management APIs

Address API Councils comment to update both
WifiManager#addOrUpdatePasspointConfiguration and
WifiManager#removePasspointConfiguration to return void and throw
exception on failure instead of returning a boolean.

Bug: 35858311,35856174
Test: make -j32
Change-Id: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95
Merged-In: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Fri, 3 Mar 2017 17:15:49 +0000 (09:15 -0800)]
hotspot2: hide validate method for Passpoint configuration

The validate method is used by Framework only, no need to expose
to app developers. So hide it.

Bug: 35756298
Test: make -j32
Change-Id: I15ccae472f30d7ae968816479f6ea35d90248fe0
Merged-In: I15ccae472f30d7ae968816479f6ea35d90248fe0

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Mon, 13 Mar 2017 18:19:43 +0000 (11:19 -0700)]
Osu: temporarily comment out the usage of deprecated intent definitions

Bug: 35857805
Test: mmma frameworks/base/packages/Osu
Change-Id: Iadaede1806cfe7bcaf57ed185618a6de4451e321
Merged-In: Ie4ea352e11b10a7c1f8780557554486bc2b4fcef

7 years agoMerge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
Jakub Pawlowski [Mon, 13 Mar 2017 18:16:24 +0000 (18:16 +0000)]
Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
am: 58569de4de

Change-Id: I6abd6becaf54fd59abe894fc6c71c46ce4361c8d

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Mon, 13 Mar 2017 18:11:58 +0000 (18:11 +0000)]
Merge "Bluetooth 5 spelling fixes"
am: 5465fe0a2d

Change-Id: Ibef8ee6a56bf1f8c695e07e4ba61c015054eee13

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Mon, 13 Mar 2017 17:58:25 +0000 (17:58 +0000)]
Merge "Bluetooth 5 spelling fixes"

7 years agoMerge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:50:46 +0000 (17:50 +0000)]
Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
am: 55310df6bc

Change-Id: I91d20bc046b721456e0a141def790aeccfbd39a6

7 years agoBluetooth 5 spelling fixes
Jakub Pawlowski [Sat, 11 Mar 2017 00:07:59 +0000 (16:07 -0800)]
Bluetooth 5 spelling fixes

Bug: 30622771
Test: manual
Change-Id: I46b6486619cc7366e56b25ca48937e6792f53e1d
(cherry picked from commit 53501ad210dd5c65c7910a6b75b2b481e92dd22f)

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:42:50 +0000 (17:42 +0000)]
Merge "Fix the reset of boosted zygote thread priority."
am: 83aceea07d

Change-Id: I6ebd30a631ae10ada65b3279ec66c41d3f50fb1f

7 years agohotspot2: update Passpoint intent definitions
Peter Qiu [Thu, 2 Mar 2017 17:35:34 +0000 (09:35 -0800)]
hotspot2: update Passpoint intent definitions

Address API Councils comment on the newly added intent definitions
for Passpoint events:
- Use a Parcelable class to represent icon info
- Document all extras that are included for an action
- Document that the new intents will only be sent to registered
  receivers, and not manifest receivers
- Rename extras to be more generic

While there, removed the deprecated hidden Passpoint intent
definitions.

Bug: 35857805
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I22de2d52fce3ed1adc8d72bf1580d3337bc747c5
Merged-In: I22de2d52fce3ed1adc8d72bf1580d3337bc747c5

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:32:30 +0000 (17:32 +0000)]
Merge "Fix the reset of boosted zygote thread priority."

7 years agoFix the reset of boosted zygote thread priority.
Hiroshi Yamauchi [Thu, 2 Mar 2017 21:39:07 +0000 (13:39 -0800)]
Fix the reset of boosted zygote thread priority.

This fixes the unexpected priority 112 of the daemon threads
(eg. HeapTaskDaemon). The problem was that when the zygote main
thread's priority is reset, it directly calls setpriority() and fails
to update the priority value in java.lang.Thread, which in turn causes
any threads created by the thread to unexpectedly inherit the boosted
priority. Calling java.lang.Thread.setPriority instead fixes.

(cherry picked from commit 1e3db871e52e59c69edb1843df7f4aecb030bc6f)

Bug: 35801778
Bug: 28866384
Test: angler master userdebug boots and thread priorities checked.

Change-Id: I68a6ed7244a9067acc2749feca7f88422bf44b02

7 years agoWiFi: Wifi service get configured networks use ParceledListSlice.
zhangshuxiao [Mon, 13 Mar 2017 13:39:16 +0000 (21:39 +0800)]
WiFi: Wifi service get configured networks use ParceledListSlice.

The number of configurations will be more and more, some
users configured more than 600KB or even 1M, It will cause
the binder failed. Therefore, we use ParceledListSlice
to splits into multiple transactions when more than 64K.

binder: 1885: binder_alloc_buf size 1058080 failed, no address space

Test: more than 500 configurations.

Change-Id: I35b8bac478c6d9efa2fb8572fdc7ca22eb910609
Signed-off-by: zhangshuxiao <zhangshuxiao@xiaomi.com>
7 years agoMerge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
Hugo Benichi [Mon, 13 Mar 2017 07:35:48 +0000 (07:35 +0000)]
Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
am: cc935f5e6d

Change-Id: I2830664720e366792a8b35eac5295995c96461fa

7 years agoMerge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 07:31:54 +0000 (07:31 +0000)]
Merge "Minor formatting cleanup to remove overlong line"
am: d6998d4bd6

Change-Id: I3a4582ebfc1cb7436e570e37cacbc3cabf8c0182