OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "BluetoothGattCallbackExt removal"
Jakub Pawlowski [Thu, 23 Mar 2017 00:44:06 +0000 (00:44 +0000)]
Merge "BluetoothGattCallbackExt removal"
am: e2ddacaff4

Change-Id: I59ba6c9950997ea447a5b021d509a72abc546661

7 years agoMerge "Bluetooth: log unexpected crashes and restarts"
Marie Janssen [Thu, 23 Mar 2017 00:42:53 +0000 (00:42 +0000)]
Merge "Bluetooth: log unexpected crashes and restarts"
am: 25b6f08ece

Change-Id: I1a0bfa2c8aba75dd60437680c5726f8c4e6c88ab

7 years agoMerge "BluetoothGattCallbackExt removal"
Jakub Pawlowski [Wed, 22 Mar 2017 20:09:37 +0000 (20:09 +0000)]
Merge "BluetoothGattCallbackExt removal"

7 years agoBluetooth: Use content observer for airplane mode
Ajay Panicker [Wed, 22 Feb 2017 20:23:15 +0000 (12:23 -0800)]
Bluetooth: Use content observer for airplane mode

We are making this switch as the airplane mode switch intent is going away.

Fix: 35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05

7 years agoBluetoothGattCallbackExt removal
Jakub Pawlowski [Wed, 22 Mar 2017 18:22:18 +0000 (11:22 -0700)]
BluetoothGattCallbackExt removal

New methods should be added to BluetoothGattCallback, instead of
creating Ext class.

Test: manual
Bug: 30622771
Change-Id: I2567df5baace6bd2d2f30c36d2f62056408ca5d0

7 years agoMerge "Bluetooth: log unexpected crashes and restarts"
Treehugger Robot [Wed, 22 Mar 2017 16:09:03 +0000 (16:09 +0000)]
Merge "Bluetooth: log unexpected crashes and restarts"

7 years agoMerge "Stop holding mProxyLock while downloading PAC script data."
Daichi Hirono [Wed, 22 Mar 2017 07:55:57 +0000 (07:55 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data."
am: 7b26041ccc

Change-Id: Ie747a28fe588c15789d965d6274cb717ea9a5fb0

7 years agoMerge "Stop holding mProxyLock while downloading PAC script data."
Treehugger Robot [Wed, 22 Mar 2017 07:47:19 +0000 (07:47 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data."

7 years agoStop holding mProxyLock while downloading PAC script data.
Daichi Hirono [Fri, 17 Mar 2017 00:12:12 +0000 (09:12 +0900)]
Stop holding mProxyLock while downloading PAC script data.

Holding PacManager#mProxyLock for long time eventually causes ANR when
launching new applications.

1. ActivityThread#handleBindApplication blocks until

   ActivityThread#handleBindApplication
   -> ConnectivityService#getProxyForNetwork()
   -> ConnectivityService#getDefaultProxy()

  obtains the lock of ConnectivityService#mProxyLock

2. ConnectivityService#mProxyLock can be held by
   ConnectivityService#setGlobalProxy() running on another thread until

   ConnectivityService#setGlobalProxy()
   -> ConnectivityService#sendProxyBroadcast()
   -> PacManager#setCurrentProxyScriptUrl()

  obtains the lock of PacManager#mProxyLock

3. Before the CL, PacManager#mProxyLock could be held by
   mPacDownloader#run() on mNetThread until downloading a PAC script
   completed.

The CL fixes the step 3 so that mPacDownloader#run does not keep the
lock of PacManager#mProxyLock. It eventually fixes long blocking at
ActivityThread#handleBindApplication and ANR when launching an
application.

Bug: 36317236
Test: Build succeeded
Merged-In: I864e41e1142178681f8f1b4fb7750d37e3ab2076
Change-Id: I864e41e1142178681f8f1b4fb7750d37e3ab2076

7 years agoMerge "Fix warning: Potential leak of memory pointed to by 'set'"
Yunlian Jiang [Wed, 22 Mar 2017 00:21:57 +0000 (00:21 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'"
am: 58ba53bd53

Change-Id: I7186dc35fb7f4a3c226e35447ce9c748164e7bf8

7 years agoMerge "Fix warning: Potential leak of memory pointed to by 'set'"
Treehugger Robot [Wed, 22 Mar 2017 00:17:32 +0000 (00:17 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'"

7 years agoMerge "Remove bg_non_interactive cgroup"
Wei Wang [Tue, 21 Mar 2017 22:19:41 +0000 (22:19 +0000)]
Merge "Remove bg_non_interactive cgroup"
am: c6c19bd6c0

Change-Id: I35917ee0c52720138c901fd638e07f84ae4c3cf3

7 years agoMerge "Remove bg_non_interactive cgroup"
Treehugger Robot [Tue, 21 Mar 2017 22:09:50 +0000 (22:09 +0000)]
Merge "Remove bg_non_interactive cgroup"

7 years agoMerge "Zygote: Preserve capabilities in WrapperInit"
Andreas Gampe [Tue, 21 Mar 2017 18:54:22 +0000 (18:54 +0000)]
Merge "Zygote: Preserve capabilities in WrapperInit"
am: 1ae7af10ff

Change-Id: Ia1ffb03d6e03b098cc634ef2deb3785c6bb87202

7 years agoMerge "Zygote: Preserve capabilities in WrapperInit"
Andreas Gampe [Tue, 21 Mar 2017 18:45:00 +0000 (18:45 +0000)]
Merge "Zygote: Preserve capabilities in WrapperInit"

7 years agoMerge "Add setScannable to AdvertisingSetParameters (1/2)"
Jakub Pawlowski [Tue, 21 Mar 2017 18:44:36 +0000 (18:44 +0000)]
Merge "Add setScannable to AdvertisingSetParameters (1/2)"
am: 7f14b8f095

Change-Id: I26846383be5c0fe88501ffd1011b27f39896a74a

7 years agoMerge "Add missing txPower parameter"
Jakub Pawlowski [Tue, 21 Mar 2017 18:43:21 +0000 (18:43 +0000)]
Merge "Add missing txPower parameter"
am: a6c1f6def1

Change-Id: I61ac50f7f2a5d3d3ea2a3e23b441fa22bb69f52a

7 years agoBluetooth: log unexpected crashes and restarts
Marie Janssen [Fri, 17 Mar 2017 01:10:59 +0000 (18:10 -0700)]
Bluetooth: log unexpected crashes and restarts

Add some reasons to the log when:
 - the Bluetooth stack crashes underneath us
 - user switches
 - we automatically restart

List every instance of the stack crashing underneath us in the dumpsys.
Clean up some unused constants.

Test: notice a Bluetooth crash, adb bugreport
Change-Id: I79195f0a574de1bf48a976d31c64084d3ce2e14a

7 years agoMerge "Add setScannable to AdvertisingSetParameters (1/2)"
Jakub Pawlowski [Tue, 21 Mar 2017 18:37:34 +0000 (18:37 +0000)]
Merge "Add setScannable to AdvertisingSetParameters (1/2)"

7 years agoAdd setScannable to AdvertisingSetParameters (1/2)
Jakub Pawlowski [Mon, 20 Mar 2017 22:57:46 +0000 (15:57 -0700)]
Add setScannable to AdvertisingSetParameters (1/2)

There must be a proper way to specify if advertisment is scannable, when
updating the parameters.

Test: manual
Bug: 30622771
Change-Id: Ie520609d3fff07ccc2960015c19311d773842852

7 years agoMerge "Add missing txPower parameter"
Jakub Pawlowski [Tue, 21 Mar 2017 18:36:14 +0000 (18:36 +0000)]
Merge "Add missing txPower parameter"

7 years agoAdd missing txPower parameter
Jakub Pawlowski [Tue, 21 Mar 2017 00:02:20 +0000 (17:02 -0700)]
Add missing txPower parameter

Test: manual
Bug: 30622771
Change-Id: Iaf3111d7545f9bb046b5a23b680347a75125ca7e

7 years agoMerge "Update to 2017a."
Joachim Sauer [Tue, 21 Mar 2017 18:22:44 +0000 (18:22 +0000)]
Merge "Update to 2017a."
am: 2ca0abc8de

Change-Id: I0a6dd7f5cef6f7f3634413d012c8f1c84c807aac

7 years agoMerge "Update to 2017a."
Treehugger Robot [Tue, 21 Mar 2017 18:09:33 +0000 (18:09 +0000)]
Merge "Update to 2017a."

7 years agoZygote: Preserve capabilities in WrapperInit
Andreas Gampe [Mon, 13 Mar 2017 21:36:09 +0000 (14:36 -0700)]
Zygote: Preserve capabilities in WrapperInit

Preserve the capabilities a zygote fork has across the sh exec in
WrapperInit. Use ambient capabilities.

Test: m
Test: adb shell setprop wrap.com.android.bluetooth logwrapper && adb shell kill `pid com.android.bluetooth`
Merged-In: I3526d6a31aaadf082365c9ce31da0950e17677eb
Change-Id: I3526d6a31aaadf082365c9ce31da0950e17677eb

7 years agoUpdate to 2017a.
Joachim Sauer [Tue, 21 Mar 2017 12:39:26 +0000 (12:39 +0000)]
Update to 2017a.

This commit adds America/Punta_Arenas to time_zones_by_country.xml to
allow it to automatically be picked based on cell network information.

Bug: 35861784
Test: builds & boots & automatic timezone detection still works
Change-Id: I1bfa327fbb58f82eb951028e288fad819bf0f231

7 years agoMerge "add and incorporate TetheringConfiguration.dump()"
Erik Kline [Tue, 21 Mar 2017 10:14:19 +0000 (10:14 +0000)]
Merge "add and incorporate TetheringConfiguration.dump()"
am: 9eb959320f

Change-Id: I29c80b36ddd14e1e03c88c63d35ee9982dcef887

7 years agoMerge "add and incorporate TetheringConfiguration.dump()"
Treehugger Robot [Tue, 21 Mar 2017 10:05:41 +0000 (10:05 +0000)]
Merge "add and incorporate TetheringConfiguration.dump()"

7 years agoMerge "Added ETWS primary message default message support"
Jack Yu [Tue, 21 Mar 2017 09:20:17 +0000 (09:20 +0000)]
Merge "Added ETWS primary message default message support"
am: 2d3fb48b39

Change-Id: Ib03378e2f9c2da53b5efbedde08b20acc0b8c199

7 years agoMerge "Added ETWS primary message default message support"
Treehugger Robot [Tue, 21 Mar 2017 09:11:44 +0000 (09:11 +0000)]
Merge "Added ETWS primary message default message support"

7 years agoAdded ETWS primary message default message support
Jack Yu [Sat, 18 Mar 2017 06:21:48 +0000 (23:21 -0700)]
Added ETWS primary message default message support

ETWS primary message does not contain messagy body. We used
to use hardcoded "ETWS" as the body, which is not easy for
end users to understand what happened. Added the built-in
default messages provided by Japanese government guideline
for earthquake, Tsunami, test, and other channels support to
enhance the user experience.

Test: manual
bug: 33595007
Merged-In: I53659298d8ce3b3ba5c751c14c1b36e76d6dc562
Change-Id: I53659298d8ce3b3ba5c751c14c1b36e76d6dc562

7 years agoRemove bg_non_interactive cgroup
Wei Wang [Mon, 20 Mar 2017 23:13:40 +0000 (16:13 -0700)]
Remove bg_non_interactive cgroup

Bug: 34193533
Test: mma
Change-Id: I0d255f47eaded15eda02a4654193a4e49c63a2c5

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 agoadd and incorporate TetheringConfiguration.dump()
Erik Kline [Thu, 16 Mar 2017 05:10:27 +0000 (14:10 +0900)]
add and incorporate TetheringConfiguration.dump()

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - "adb shell dumpsys connectivity" shows expected output
Bug: 36216864
Change-Id: I2b34bdd286e9b04ffaa5f7d28f3befa0c31a0f5b