OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "In isTetheringSupported, call isAdmin user from system."
Jeremy Klein [Mon, 20 Mar 2017 23:58:09 +0000 (23:58 +0000)]
Merge "In isTetheringSupported, call isAdmin user from system."
am: 4a8953094f

Change-Id: Ibefe655ed377c55322d871e02d87c0d001327da8

7 years agoMerge "In isTetheringSupported, call isAdmin user from system."
Jeremy Klein [Mon, 20 Mar 2017 23:50:57 +0000 (23:50 +0000)]
Merge "In isTetheringSupported, call isAdmin user from system."

7 years agoMerge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Jakub Pawlowski [Mon, 20 Mar 2017 22:26:42 +0000 (22:26 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am: f0c963a5b6

Change-Id: Ia401ccf8935b8cb315849803c5c82d1d7dd64b81

7 years agoMerge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Jakub Pawlowski [Mon, 20 Mar 2017 22:19:07 +0000 (22:19 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"

7 years agoIn isTetheringSupported, call isAdmin user from system.
Jeremy Klein [Fri, 17 Mar 2017 21:30:02 +0000 (14:30 -0700)]
In isTetheringSupported, call isAdmin user from system.

This avoids requiring the MANAGE_USERS permission in this function.

Bug: 32671528
Test: Manual. Also seeking unit test guidance from reviewer.
Change-Id: I841e721013b0e4b6db34d629a1e97b3cd54cd73b

7 years agoMerge "Add support for MTP perceived device type property."
Jerry Zhang [Mon, 20 Mar 2017 21:39:17 +0000 (21:39 +0000)]
Merge "Add support for MTP perceived device type property."
am: b6ed343e85

Change-Id: I58417625aa6c669eb82af3a11a4e35c77952f539

7 years agoMerge "Add support for MTP perceived device type property."
Treehugger Robot [Mon, 20 Mar 2017 21:23:10 +0000 (21:23 +0000)]
Merge "Add support for MTP perceived device type property."

7 years agoBluetooth 5 AdvertisingSet implementation (1/4)
Jakub Pawlowski [Fri, 17 Mar 2017 22:33:27 +0000 (15:33 -0700)]
Bluetooth 5 AdvertisingSet implementation (1/4)

Test: manual
Bug: 30622771
Change-Id: Ia89718c0c2ab2eaa71b158ecdcae989af907769f

7 years agoMerge "Fix crash issue on Storage Manager app"
Su, Weihua [Mon, 20 Mar 2017 17:12:40 +0000 (17:12 +0000)]
Merge "Fix crash issue on Storage Manager app"
am: cb4a3c55cf

Change-Id: If33e23972770c50cf83a42d8621d31b15b945524

7 years agoMerge "Fix crash issue on Storage Manager app"
Treehugger Robot [Mon, 20 Mar 2017 17:05:18 +0000 (17:05 +0000)]
Merge "Fix crash issue on Storage Manager app"

7 years agoMerge "Fix NPE while performing NetworkStatsService.removeUidsLocked()"
Ryuki Nakamura [Mon, 20 Mar 2017 17:05:16 +0000 (17:05 +0000)]
Merge "Fix NPE while performing NetworkStatsService.removeUidsLocked()"
am: a6ce3f3021

Change-Id: I3f43b25622e5052e6336983da84b92e12f3e06dc

7 years agoMerge "Fix NPE while performing NetworkStatsService.removeUidsLocked()"
Treehugger Robot [Mon, 20 Mar 2017 16:54:35 +0000 (16:54 +0000)]
Merge "Fix NPE while performing NetworkStatsService.removeUidsLocked()"

7 years agoMerge "TelephonyManager: Avoid unnecessary object allocation."
Narayan Kamath [Mon, 20 Mar 2017 10:57:52 +0000 (10:57 +0000)]
Merge "TelephonyManager: Avoid unnecessary object allocation."
am: 5d3f14fe02

Change-Id: If425a64fe7820579045dfa40b356792f24d0de43

7 years agoMerge "TelephonyManager: Avoid unnecessary object allocation."
Narayan Kamath [Mon, 20 Mar 2017 10:49:16 +0000 (10:49 +0000)]
Merge "TelephonyManager: Avoid unnecessary object allocation."

7 years agoMerge "remove deprecated SIM_ACTIVATION_REQUEST intent"
fionaxu [Fri, 17 Mar 2017 23:34:49 +0000 (23:34 +0000)]
Merge "remove deprecated SIM_ACTIVATION_REQUEST intent"
am: 7f8d27f84b

Change-Id: Ia1216368a2a2a4959283d95bbc4be26789f151f6

7 years agoMerge "remove deprecated SIM_ACTIVATION_REQUEST intent"
Treehugger Robot [Fri, 17 Mar 2017 23:24:28 +0000 (23:24 +0000)]
Merge "remove deprecated SIM_ACTIVATION_REQUEST intent"

7 years agoMerge "Ota: Add command logging"
Andreas Gampe [Fri, 17 Mar 2017 22:45:34 +0000 (22:45 +0000)]
Merge "Ota: Add command logging"
am: 9a8d78dc86

Change-Id: I48b887a26c8f8123c112559da0f74112bb703b1c

7 years agoMerge "Ota: Add command logging"
Treehugger Robot [Fri, 17 Mar 2017 22:35:47 +0000 (22:35 +0000)]
Merge "Ota: Add command logging"

7 years agoMerge "Bluetooth 5 move timeout parameter (1/2)"
Jakub Pawlowski [Fri, 17 Mar 2017 22:34:24 +0000 (22:34 +0000)]
Merge "Bluetooth 5 move timeout parameter (1/2)"
am: d9f2f67a5f

Change-Id: Iee7d485461f5e02ab65ec9f7311e962deb603543

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:27:11 +0000 (22:27 +0000)]
Merge "Add new precise call fail causes and OEM causes"
am: 9aa841d254

Change-Id: I2b52c9c332fc73a37ac2c4c492ac9b85b2025897

7 years agoMerge "Bluetooth 5 move timeout parameter (1/2)"
Jakub Pawlowski [Fri, 17 Mar 2017 22:24:04 +0000 (22:24 +0000)]
Merge "Bluetooth 5 move timeout parameter (1/2)"

7 years agoBluetooth 5 move timeout parameter (1/2)
Jakub Pawlowski [Fri, 17 Mar 2017 18:12:15 +0000 (11:12 -0700)]
Bluetooth 5 move timeout parameter (1/2)

Timeout is not a parameter, it is a property of enabling the
advertising. Move it into more proper place.

Test: manual
Bug: 30622771
Change-Id: I09ebc6c770bc02938ea16a9738a7e03dc8006fde

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:18:22 +0000 (22:18 +0000)]
Merge "Add new precise call fail causes and OEM causes"

7 years agoMerge "hotspot2: implement toString for PasspointConfiguration"
Peter Qiu [Fri, 17 Mar 2017 22:08:21 +0000 (22:08 +0000)]
Merge "hotspot2: implement toString for PasspointConfiguration"
am: 5bd337397b

Change-Id: I8db5f02e6c6ab6b03de5ae3cff39619f85963e9b

7 years agoMerge "hotspot2: implement toString for PasspointConfiguration"
Treehugger Robot [Fri, 17 Mar 2017 21:57:15 +0000 (21:57 +0000)]
Merge "hotspot2: implement toString for PasspointConfiguration"

7 years agoremove deprecated SIM_ACTIVATION_REQUEST intent
fionaxu [Fri, 17 Mar 2017 21:35:39 +0000 (14:35 -0700)]
remove deprecated SIM_ACTIVATION_REQUEST intent

This deprecated intent voilates intent naming conventions as defined in CDD.

Bug:35271104
Test: Manual
Change-Id: Ic7f251a6471de31e17960d612e108203983ce32d

7 years agoOta: Add command logging
Andreas Gampe [Fri, 17 Mar 2017 20:59:08 +0000 (13:59 -0700)]
Ota: Add command logging

Log the next command.

Bug: 25612095
Test: m
Change-Id: I284a2fb3e329afcb0b03f7162585b0eefe13eb0e

7 years agohotspot2: implement toString for PasspointConfiguration
Peter Qiu [Fri, 17 Mar 2017 16:39:11 +0000 (09:39 -0700)]
hotspot2: implement toString for PasspointConfiguration

Bug: 35850988
Test: Verify contents in "adb shell dumpsys"
Change-Id: Idabe65d505eb15113aba06dc05c879861b94b2af

7 years agoMerge "WifiConfiguration: Correct documentation for priority"
Roshan Pius [Fri, 17 Mar 2017 17:28:13 +0000 (17:28 +0000)]
Merge "WifiConfiguration: Correct documentation for priority"
am: f5fa26bf25

Change-Id: I37fd50fac3dc6c2db8c677d1a265fca73babf5da

7 years agoMerge "WifiConfiguration: Update psk documentation"
Roshan Pius [Fri, 17 Mar 2017 17:26:57 +0000 (17:26 +0000)]
Merge "WifiConfiguration: Update psk documentation"
am: 89c79ff632

Change-Id: I3ac1ed89de58038cf7bcddcac7b090fc07a8e4b8

7 years agoMerge "WifiConfiguration: Correct documentation for priority"
Treehugger Robot [Fri, 17 Mar 2017 17:18:31 +0000 (17:18 +0000)]
Merge "WifiConfiguration: Correct documentation for priority"

7 years agoMerge "WifiConfiguration: Update psk documentation"
Treehugger Robot [Fri, 17 Mar 2017 17:17:50 +0000 (17:17 +0000)]
Merge "WifiConfiguration: Update psk documentation"

7 years agoWifiConfiguration: Correct documentation for priority
Roshan Pius [Thu, 16 Mar 2017 18:07:07 +0000 (11:07 -0700)]
WifiConfiguration: Correct documentation for priority

Addressing the concerns raised by API council for deprecating this
field.

Bug: 35854198
Test: make update-api
Change-Id: If9ca582f5d3bd8539a226b425662832241a447cc

7 years agoWifiConfiguration: Update psk documentation
Roshan Pius [Thu, 16 Mar 2017 17:59:58 +0000 (10:59 -0700)]
WifiConfiguration: Update psk documentation

Adding some documentation to explain the expected contents of this
field.

Bug: 35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d

7 years agoMerge "Track library change in libcore."
Neil Fuller [Fri, 17 Mar 2017 15:38:01 +0000 (15:38 +0000)]
Merge "Track library change in libcore."
am: ed9c176e16

Change-Id: Iae6166cf055625947589b3a14b72ed7828738311

7 years agoMerge "Track library change in libcore."
Treehugger Robot [Fri, 17 Mar 2017 15:28:35 +0000 (15:28 +0000)]
Merge "Track library change in libcore."

7 years agoMerge "[BUG] fix NullPointerException in Notification.java"
liangweikang [Fri, 17 Mar 2017 14:51:58 +0000 (14:51 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java"
am: c14d5db093

Change-Id: Ib1c17e2fe5f36e0230845ca123b0cd2cb7365154

7 years agoMerge "[BUG] fix NullPointerException in Notification.java"
Treehugger Robot [Fri, 17 Mar 2017 14:43:20 +0000 (14:43 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java"

7 years agoTrack library change in libcore.
Neil Fuller [Wed, 22 Feb 2017 18:29:47 +0000 (18:29 +0000)]
Track library change in libcore.

Adding a required dependency on new shared library for tzdata code.

Bug: 31008728
Test: make
Merged-In: Ia5c3e961ca9f62e27575c8f4d16d562fac2b3461
Change-Id: I40b725a97ae2bc258b1fd4b2312b6c60ff83fe64

7 years agoTelephonyManager: Avoid unnecessary object allocation.
Narayan Kamath [Fri, 17 Mar 2017 10:28:54 +0000 (10:28 +0000)]
TelephonyManager: Avoid unnecessary object allocation.

No need to use a boxed type - the value is being passed to a function
that takes a boolean.

Test: make
Change-Id: Id6d5c581dd6e3a1832d3419a2fbec92e97c4240d

7 years agoMerge "fd_utils: address a couple of TODOs."
Narayan Kamath [Fri, 17 Mar 2017 09:51:35 +0000 (09:51 +0000)]
Merge "fd_utils: address a couple of TODOs."
am: eae1ae9732

Change-Id: I8e4e92df3c1f0016de2c396345b7a0b4bc0e1cb6

7 years agoMerge "fd_utils: address a couple of TODOs."
Narayan Kamath [Fri, 17 Mar 2017 09:44:11 +0000 (09:44 +0000)]
Merge "fd_utils: address a couple of TODOs."

7 years agofd_utils: address a couple of TODOs.
Narayan Kamath [Thu, 2 Mar 2017 17:30:03 +0000 (17:30 +0000)]
fd_utils: address a couple of TODOs.

Drink the android::base koolaid.

Test: make, boots
Change-Id: Ib24b9b59fa3490e80ba78be0199eafa676225b73

7 years agoMerge "LE Maximum Advertising Data Length (1/4)"
Jakub Pawlowski [Fri, 17 Mar 2017 05:19:57 +0000 (05:19 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"
am: 74f2e1a303

Change-Id: I3b6599937ddd04a9c13573d156cc721152c0005a

7 years agoMerge "LE Maximum Advertising Data Length (1/4)"
Jakub Pawlowski [Fri, 17 Mar 2017 05:13:44 +0000 (05:13 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"

7 years ago[BUG] fix NullPointerException in Notification.java
liangweikang [Thu, 16 Mar 2017 11:22:15 +0000 (19:22 +0800)]
[BUG] fix NullPointerException in Notification.java

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

Test: null

Change-Id: I6c575686c75b02ac938f35622b522fff25403c29
Signed-off-by: liangweikang <liangweikang900911@gmail.com>
7 years agoMerge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
Joel Scherpelz [Fri, 17 Mar 2017 02:53:11 +0000 (02:53 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
am: 52f8421b77

Change-Id: I5b5d5460f9fe7ed228ab32b2c63cb601be5e1edb

7 years agoMerge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
Treehugger Robot [Fri, 17 Mar 2017 02:44:07 +0000 (02:44 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"

7 years agoLE Maximum Advertising Data Length (1/4)
Jakub Pawlowski [Fri, 17 Mar 2017 01:22:36 +0000 (18:22 -0700)]
LE Maximum Advertising Data Length (1/4)

Add ability to check maximum advertising data length.

Bug: 30622771
Test: manual
Change-Id: I281f7e9f294c40a47a67a22809cc753b6693f7c4

7 years agoMerge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Jakub Pawlowski [Fri, 17 Mar 2017 01:09:02 +0000 (01:09 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am: 15e69df921

Change-Id: I585fc900b4a153744116fa87764db98b038184d5

7 years agoMerge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Treehugger Robot [Fri, 17 Mar 2017 01:01:15 +0000 (01:01 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"

7 years agoSet accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces
Joel Scherpelz [Wed, 15 Mar 2017 06:32:33 +0000 (15:32 +0900)]
Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces

This patch tries to change accept_ra_rt_info_max_plen to 64 from its
default value of 0 on kernels that support router advertisements with
route information options. The code fails silently on older unsupported
platforms.

Also factor existing startIPv6() code into a self documenting function
enableInterfaceIpv6PrivacyExtensions()

Bug: 33333670
Test: as follows
    - build sailfish
    - flashed
    - booted
    - runtest frameworks-net passes
    - runtest frameworks-wifi passes

Change-Id: I10ec83b9e04836089477d74417b7222499820066

7 years agoMerge "Add a flag that indicates whether in-band ringing is avalable"
Jack He [Fri, 17 Mar 2017 00:09:58 +0000 (00:09 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"
am: 41f5b61f5d

Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072

7 years agoMerge "Add a flag that indicates whether in-band ringing is avalable"
Treehugger Robot [Fri, 17 Mar 2017 00:00:16 +0000 (00:00 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"

7 years agoMerge "wifi: add a flag indicating legacy Passpoint configuration"
Peter Qiu [Thu, 16 Mar 2017 23:32:33 +0000 (23:32 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"
am: 2d87679a11

Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d

7 years agoMerge "wifi: add a flag indicating legacy Passpoint configuration"
Treehugger Robot [Thu, 16 Mar 2017 23:20:44 +0000 (23:20 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"

7 years agoAdd new precise call fail causes and OEM causes
Jayachandran C [Wed, 8 Mar 2017 07:59:15 +0000 (23:59 -0800)]
Add new precise call fail causes and OEM causes

Bug: 35609963
Change-Id: Ia0579721e7132950ccfafd7be38f43d1963c016c

7 years agoAdd a flag that indicates whether in-band ringing is avalable
Jack He [Thu, 16 Mar 2017 22:20:41 +0000 (15:20 -0700)]
Add a flag that indicates whether in-band ringing is avalable

* Add a flag in config.xml and symbols.xml to indicate whether in-band
  ringing is available on current platform

Bug: 19171297
Test: make, testplans/79248
Change-Id: I7eaa0d838ae25184502587d0bcc73f055d62170d

7 years agoBluetooth 5 AdvertisingSet implementation (1/4)
Jakub Pawlowski [Wed, 15 Mar 2017 19:34:03 +0000 (12:34 -0700)]
Bluetooth 5 AdvertisingSet implementation (1/4)

This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I80a4b1b2b632d5ef8a80d958615897684cfa0c16

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()"
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"
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."
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"
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."
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"
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."
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 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"
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"
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"
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 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 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 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"
Erik Kline [Tue, 14 Mar 2017 06:08:34 +0000 (06:08 +0000)]
Merge "Address some comments on IpManagerTest"
am: b2afa1ede5

Change-Id: Ic986c23c693757b8311e0de0c0a94281db67f62d