OSDN Git Service
Svetoslav Ganov [Tue, 14 Mar 2017 18:58:28 +0000 (18:58 +0000)]
Merge "fix IndexOutOfBoundsException in AccessibilityManagerService..manageServicesLocked"
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
Treehugger Robot [Tue, 14 Mar 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Address 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
Treehugger Robot [Tue, 14 Mar 2017 03:02:19 +0000 (03:02 +0000)]
Merge "Skeleton 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
Treehugger Robot [Tue, 14 Mar 2017 00:55:05 +0000 (00:55 +0000)]
Merge "carrier 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
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
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
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
Jakub Pawlowski [Mon, 13 Mar 2017 17:58:25 +0000 (17:58 +0000)]
Merge "Bluetooth 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)
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
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:32:30 +0000 (17:32 +0000)]
Merge "Fix 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
Hugo Benichi [Mon, 13 Mar 2017 07:23:05 +0000 (07:23 +0000)]
Merge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 06:58:29 +0000 (06:58 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument"
Hugo Benichi [Mon, 13 Mar 2017 00:03:58 +0000 (00:03 +0000)]
Merge "Simple cleanups to Tethering"
Treehugger Robot [Sat, 11 Mar 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Move mac_permissions to etc/selinux"
Jeff Vander Stoep [Sat, 11 Mar 2017 00:01:19 +0000 (16:01 -0800)]
Move mac_permissions to etc/selinux
Test: Build and boot Marlin
Test: See the following in the logs:
01-01 02:10:28.756 1345 1345 D SELinuxMMAC: Using policy file /system/etc/selinux/plat_mac_permissions.xml
01-01 02:10:28.787 1345 1345 D SELinuxMMAC: Using policy file /vendor/etc/selinux/nonplat_mac_permissions.xml
Bug:
36003167
Change-Id: I97479260eabe14c1b1dcc238d7322016f6b5c4dd
Treehugger Robot [Fri, 10 Mar 2017 22:58:52 +0000 (22:58 +0000)]
Merge "Add a config for WiFi exponential backoff scan base interval"
Paul Duffin [Fri, 10 Mar 2017 20:33:20 +0000 (20:33 +0000)]
Merge "Refactor code incompatible with Mockito 2.7.13"
Randy Pan [Fri, 10 Mar 2017 17:40:39 +0000 (09:40 -0800)]
Add a config for WiFi exponential backoff scan base interval
Bug:
36026947
Test: bulid and boot up the phone
Change-Id: I4971c1c7d0fc162ac5934becbdf28fba50d65c11
Etan Cohen [Fri, 10 Mar 2017 17:03:20 +0000 (17:03 +0000)]
Merge "[AWARE] Update network API: make open/encrypted explicit"
Paul Duffin [Thu, 9 Mar 2017 18:49:41 +0000 (18:49 +0000)]
Refactor code incompatible with Mockito 2.7.13
Bug:
32912773
Test: make checkbuild
Merged-In: I96e3da967fad731fc8f39bde9db95f50ab7353fb
Change-Id: I445b32432eea8a1ccb2060a73460a882a9ebe76f
Treehugger Robot [Fri, 10 Mar 2017 09:44:02 +0000 (09:44 +0000)]
Merge "polish the notification of the default carrier app"
Treehugger Robot [Fri, 10 Mar 2017 09:33:08 +0000 (09:33 +0000)]
Merge "decouple carrierdefaultapp from phone process"
fionaxu [Fri, 10 Mar 2017 06:25:29 +0000 (22:25 -0800)]
decouple carrierdefaultapp from phone process
Bug:
36114351
Test: Manual
Change-Id: I679d97bd9854fe478499d1fac6225c3f954ecdbc
Hugo Benichi [Fri, 10 Mar 2017 05:20:57 +0000 (14:20 +0900)]
Simple cleanups to Tethering
- regroup together static final class fields, final instance fields, and
mutable instance fields.
- uses correct Android naming conventions for instance fields.
- reorder imports correctly.
Test: no functional change.
Change-Id: If3d73bc28972a004c2ba3cc14d869a2a679abfce
Brad Ebinger [Thu, 9 Mar 2017 21:38:59 +0000 (21:38 +0000)]
Merge "Disable a phone number log for user build"
Miao Wang [Thu, 9 Mar 2017 20:38:48 +0000 (20:38 +0000)]
Merge changes from topic 'USAGE_IO_INPUT'
* changes:
[RenderScript] Update RenderScript JNI with the corresponding AllocationGetSurface driver implementation change.
[RenderScript] Use ANativeWindow_fromSurface to get ANativeWindow from Java Surface.
Treehugger Robot [Thu, 9 Mar 2017 10:03:26 +0000 (10:03 +0000)]
Merge "CaptivePortalLoginActivity correctly gets UserAgent"
Martijn Coenen [Thu, 9 Mar 2017 08:33:02 +0000 (08:33 +0000)]
Merge "Remove interfaceChain from IServiceManager::add()"
Hugo Benichi [Tue, 7 Mar 2017 06:10:03 +0000 (15:10 +0900)]
CaptivePortalLoginActivity correctly gets UserAgent
Change I33cbcdab9809c712d998da6d925bdd4e3093f8ff added to the intent
passed from NetworkMonitor to the CaptivePortalLoginActivity an extra
argument to set the UserAgent header of probes done by the
CaptivePortalLoginActivity.
However that extra String argument is not correctly retrieved from the
Intent and instead a null pointer is returned by getParcelableExtra().
Consequently the UserAgent header field is never set.
This patch fixes this bug and replace getParcelableExtra() with
getStringExtra().
It also adds logging of the request header and response header for every
network probes sent by CaptivePortalLoginActivity.
Bug:
35937367,
32369183
Test: manually tested
Change-Id: If5c463023474ffb0401f3cda5875ccd9fc6f79f9
Hugo Benichi [Thu, 2 Mar 2017 04:41:38 +0000 (13:41 +0900)]
ConnectivityManager: unhide methods with Handler argument
Test: no functionality change
Bug:
32130437
Change-Id: I2a57175142683f991a215b584282db143a76ed9d
Brad Ebinger [Wed, 8 Mar 2017 19:53:25 +0000 (19:53 +0000)]
Merge "Return generic Binder on onBind"
Jakub Pawlowski [Wed, 8 Mar 2017 19:05:12 +0000 (19:05 +0000)]
Merge "Bluetooth 5 Advertising API"
Jakub Pawlowski [Tue, 10 Jan 2017 14:15:54 +0000 (06:15 -0800)]
Bluetooth 5 Advertising API
Test: manual
Bug:
30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
(cherry picked from commit
5324a14cf490656269ef862d7f8f6b139a21c0e6)
Jakub Pawlowski [Wed, 8 Mar 2017 19:04:30 +0000 (19:04 +0000)]
Merge "Bluetooth 5 PHY selection API"
Jakub Pawlowski [Thu, 2 Feb 2017 16:07:12 +0000 (08:07 -0800)]
Bluetooth 5 PHY selection API
Bug:
30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
(cherry picked from commit
db5a87d50db9d4b3d642603f6c329b83ee5851f6)
Jakub Pawlowski [Wed, 8 Mar 2017 19:03:47 +0000 (19:03 +0000)]
Merge "Bluetooth 5 periodc scan API (1/2)"
Jakub Pawlowski [Mon, 16 Jan 2017 15:21:01 +0000 (07:21 -0800)]
Bluetooth 5 periodc scan API (1/2)
Bug:
30622771
Test: manual
Change-Id: I61853bc71f6013e9406d1d151bb51ea4484bb92c
(cherry picked from commit
a48e03745becc96181c676dc3d194d0572f11c10)
Jakub Pawlowski [Wed, 8 Mar 2017 19:02:57 +0000 (19:02 +0000)]
Merge "Bluetooth 5 enhanced scanning API"
Jakub Pawlowski [Tue, 17 Jan 2017 15:50:46 +0000 (07:50 -0800)]
Bluetooth 5 enhanced scanning API
Bug:
30622771
Test: manual
Change-Id: I2c8065fbcedf48777ce18c7d8fe621e568b3fd75
(cherry picked from commit
9de522c6e48497028d36a1f8ad8f8adf4b7b1ae6)
Jakub Pawlowski [Wed, 8 Mar 2017 19:02:11 +0000 (19:02 +0000)]
Merge "Bluetooth 5 feature check API (1/2)"
Jakub Pawlowski [Wed, 8 Feb 2017 02:05:39 +0000 (18:05 -0800)]
Bluetooth 5 feature check API (1/2)
Bug:
30622771
Test: manual
Change-Id: I90e2efe989745c07c2f2fb8f4ea5bc3b718382f6
(cherry picked from commit
79d66495c32996a5b532328571bf6ceecca70ca5)
Joachim Sauer [Wed, 8 Mar 2017 17:31:26 +0000 (17:31 +0000)]
Merge "Renaming Czech Republic to Czechia."
Etan Cohen [Wed, 8 Mar 2017 17:05:02 +0000 (09:05 -0800)]
[AWARE] Update network API: make open/encrypted explicit
Replace the older (implicitly) open network with 3 network
creation APIs:
- Open
- Passphrase-based
- PMK (SystemApi only)
Bug:
26564544
Bug:
35702875
Test: unit tests and integration (sl4a) tests
Change-Id: I29a1d668d245853755cd2dfaaa6c65fbb43989f7
Etan Cohen [Wed, 8 Mar 2017 14:55:04 +0000 (14:55 +0000)]
Merge "[AWARE] Add data-path security configuration (Passphrase)"
Paul Duffin [Wed, 8 Mar 2017 14:36:16 +0000 (14:36 +0000)]
Merge "Replace usages of littlemock with mockito"
Etan Cohen [Tue, 21 Feb 2017 18:08:42 +0000 (10:08 -0800)]
[AWARE] Add data-path security configuration (Passphrase)
Add API to optionally provide a passphrase to
configure security on a data-path.
Bug:
33552694
Test: unit tests and integration (sl4a) tests
Change-Id: Ie011345348a3918a412957e38610cabe147c35fa
Treehugger Robot [Wed, 8 Mar 2017 00:28:30 +0000 (00:28 +0000)]
Merge "Bluetooth: Expose L2CAP API to support OPP 1.2"
Hall Liu [Tue, 7 Mar 2017 21:44:42 +0000 (21:44 +0000)]
Merge "Add further Connection-side APIs for RTT (part 2)"
Calin Juravle [Tue, 7 Mar 2017 21:13:14 +0000 (21:13 +0000)]
Merge "PackageManager: Clean up code related to foreign dex use"
Calin Juravle [Sat, 4 Mar 2017 01:04:55 +0000 (17:04 -0800)]
PackageManager: Clean up code related to foreign dex use
We simplified the way we track whether or not a dex file is used by
other apps. DexManager in the framework keeps track of the data and we
no longer need file markers on disk.
Test: device boots, foreign dex markers are not created anymore
Bug:
32871170
(cherry picked from commit
74f0a3450cd598f52b2c68c43531b1a27fb4e1ce)
Change-Id: I2a9daca15e5120518852584fa17aa94012af8f1a
Merged-In: I3660e2f3913a73904181449c2d910af0a0477950
Treehugger Robot [Tue, 7 Mar 2017 16:50:58 +0000 (16:50 +0000)]
Merge "Framework: Ensure image heap string literals for Patterns"
Etan Cohen [Tue, 7 Mar 2017 16:40:26 +0000 (16:40 +0000)]
Merge "[CM] Allow timeout in request network"
Tobias Thierer [Tue, 7 Mar 2017 16:35:17 +0000 (16:35 +0000)]
Merge "Track: ICU TimeZone: publish TIMEZONE_* constants"
Paul Duffin [Mon, 6 Mar 2017 14:56:06 +0000 (14:56 +0000)]
Replace usages of littlemock with mockito
Littlemock appears to have been created as an alternative to
Mockito that would work on Android. Given that Mockito does
now work on Android and Littlemock has had no activity since
Aug 2012 it seems prudent to switch over to use Mockito instead.
https://code.google.com/archive/p/littlemock/
This is being done as part of the work to upgrade Mockito.
Bug:
32912773
Test: Build and install affected APKs, test using am instrument
Change-Id: Id0e57880ea66c5681b664bbfb534c96410544665
Treehugger Robot [Tue, 7 Mar 2017 13:27:09 +0000 (13:27 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed"
Erik Kline [Tue, 7 Mar 2017 06:25:32 +0000 (15:25 +0900)]
request{LinkProperties,NetworkCapabilities} no longer needed
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
- manual USB tethering toggling between WiFi and mobile
Bug:
32163131
Change-Id: I57edf5114b6361f320577c7870e40f8b3cdf74ce
Treehugger Robot [Tue, 7 Mar 2017 06:24:16 +0000 (06:24 +0000)]
Merge "Handle null NetworkState updates"
Treehugger Robot [Tue, 7 Mar 2017 05:51:40 +0000 (05:51 +0000)]
Merge "Always send all available state when calling onAvailable()."
Erik Kline [Tue, 7 Mar 2017 04:17:39 +0000 (13:17 +0900)]
Handle null NetworkState updates
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
- manual USB tethering to WiFi and mobile switching works
Bug:
32163131
Change-Id: I2d4ef7c135ae6eb50cc31236f2fd20080536ea6a
Erik Kline [Wed, 15 Feb 2017 10:59:17 +0000 (19:59 +0900)]
Always send all available state when calling onAvailable().
The state that needs to be transferred includes:
- NetworkCapabilities
- LinkProperties
- whether the network is currently suspended
Additionally:
- Rename notifyNetworkCallback() to notifyNetworkAvailable()
in order to clarify its real function.
- fix previous copy/paste error in unittest
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
- USB tethering with mobile and Wi-Fi upstream toggling
Bug:
32163131
Change-Id: Ib4460bcd5d08863a9feac9e8ab41a238897bb3ea
Hemant Gupta [Fri, 3 Feb 2017 11:08:59 +0000 (16:38 +0530)]
Bluetooth: Expose L2CAP API to support OPP 1.2
Add changes to expose L2CAP API to create an insecure L2CAP socket
for supporting OPP 1.2.
Test: Connect with Remote OPP Client supporting OPP 1.2 and verify
that connection and transfer happens over L2CAP. Connect with Remote
OPP Client supporting OPP 1.1 and verify that connection and transfer
happens over RFCOMM.
Bug:
33010988
Change-Id: I21ed672afb4ed5d2355ff0a0f9691af220921c1f
Tyler Gunn [Tue, 7 Mar 2017 01:55:58 +0000 (01:55 +0000)]
Merge "API review cleanups/changes."
Treehugger Robot [Tue, 7 Mar 2017 01:27:17 +0000 (01:27 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field"
Treehugger Robot [Tue, 7 Mar 2017 01:00:55 +0000 (01:00 +0000)]
Merge "Start of tethering OffloadController"
Hall Liu [Mon, 6 Feb 2017 18:49:48 +0000 (10:49 -0800)]
Add further Connection-side APIs for RTT (part 2)
Add methods and callbacks to facilitate local and remote RTT initiation
and termination in the middle of a call. Adds @hide Connection-side APIs
to communicate with the ConnectionService, as well as plumbing for
RemoteConnections.
Test: manual, through telecom testapps
Merged-In: Ia80604b7dff8586ff222dbccdbe55e91aab02178
Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178
fionaxu [Mon, 6 Mar 2017 22:03:45 +0000 (14:03 -0800)]
polish the notification of the default carrier app
Based on the feedbacks from UX review
- modified notificaiton icon
- modified notification content text
- modified notification app name
- modified notification color
Test: Manual
Bug:
36002256
Change-Id: Icf13ea41fc88fb7b15f2b1c29fd3551fd3351819
Andre Eisenbach [Mon, 6 Mar 2017 21:25:40 +0000 (21:25 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered"
Martin Brabham [Tue, 28 Feb 2017 00:55:07 +0000 (16:55 -0800)]
BluetoothManagerService: continue teardown when BLE apps registered
When the adapter is toggled off; when there are BLE apps registered, a
request is sent to unregister all of the BLE apps. Upon unregister each app
will call through to this function via a callback. When this gets called if
the ble app count is 0, we can disable everything. I am keeping track of the
flag so that we know explicitly where we are coming from.
Bug:
34707848
Test: Compile
Change-Id: I9a8322a6fa918e7b410770894c257ec9f7d8d1f5
Yang Ni [Mon, 6 Mar 2017 21:25:29 +0000 (21:25 +0000)]
Merge "Removed close guards for Element and Type objects"
Ruchi Kandoi [Fri, 3 Feb 2017 22:01:09 +0000 (14:01 -0800)]
nfc: First chunked NDEF record of TNF doesn't contain the type field
Test: CTS test passes
Bug:
34943312
Change-Id: I08f37ee76810f642b35ae8bde05ef0e2eff921e0
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Tom Cherry [Mon, 6 Mar 2017 19:25:58 +0000 (19:25 +0000)]
Merge "Check for spurious wake ups"
Tyler Gunn [Thu, 2 Mar 2017 17:28:37 +0000 (09:28 -0800)]
API review cleanups/changes.
- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed
to accept the connection mgr phone account as the first parameter.
- For the video APIs, pass the target SDK of the caller into along so
that the Telecom permission check can have fallback behavior for older API
versions.
- Add guidance for how UX should be shown in onShowIncomingCallUi API.
API guidance follows how the Dialer app shows its notification and full
screen UX.
Test: Manual, CTS.
Bug:
35767711
Bug:
35767096
Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
Miao Wang [Sun, 5 Mar 2017 00:28:56 +0000 (16:28 -0800)]
[RenderScript] Update RenderScript JNI with the corresponding
AllocationGetSurface driver implementation change.
- AllocationGetSurface now returns opaque handle to ANativeWindow*,
instead of IGraphicBufferProducer*, as IGraphicBufferProducer is not
part of NDK. So the JNI side need to change accordingly.
Bug:
34396220
Test: mm, CTS tests pass.
Change-Id: If9b6a733202d29bc40c0e0b87c4fb48db092cbe5
Miao Wang [Mon, 6 Mar 2017 17:31:32 +0000 (09:31 -0800)]
[RenderScript] Use ANativeWindow_fromSurface to get ANativeWindow
from Java Surface.
- ANativeWindow_fromSurface and ANativeWindow_release has to be used in
pairs to avoid leaks.
Bug:
34396220
Test: mm, CTS tests pass.
Change-Id: Id67fd005a056df4d496a48f705d445a2d8c45232
Treehugger Robot [Mon, 6 Mar 2017 17:59:02 +0000 (17:59 +0000)]
Merge "Bluetooth: 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
Martijn Coenen [Mon, 6 Mar 2017 12:07:53 +0000 (13:07 +0100)]
Remove interfaceChain from IServiceManager::add()
Bug:
32742469
Test: hidl_test, hidl_test_java, binderized marlin boots
Change-Id: I418a5123e62517961a685a6433fe4ba384264862
Hugo Benichi [Mon, 6 Mar 2017 12:20:40 +0000 (12:20 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
Erik Kline [Mon, 6 Mar 2017 05:05:23 +0000 (14:05 +0900)]
Start of tethering OffloadController
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
Bug:
32163131
Change-Id: If8f7df069f37f1b3d440d446ab1b160a52ba9e09
Hugo Benichi [Mon, 6 Mar 2017 06:16:51 +0000 (06:16 +0000)]
Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499.
This reverts commit
faa70976b490116323107166f90fdd944c5bdc77.
Change-Id: I86c07c113f24753be7c977e6d7f570b99391e1b5
youhei.x.miyoshi [Mon, 12 Dec 2016 12:10:54 +0000 (21:10 +0900)]
Disable a phone number log for user build
A phone number is privacy data. Therefore, it should be prevented
from logging in user build.
Test: manual - checked log
Bug:
34582911
Change-Id: Id040653dbfd236250e7eb07c9c2e9587ded3d63f
Treehugger Robot [Sat, 4 Mar 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Make seccomp honor setenforce"
Paul Lawrence [Fri, 3 Mar 2017 21:04:35 +0000 (13:04 -0800)]
Make seccomp honor setenforce
Note: This code is in frameworks, since we might want to have tools
linked against seccomp_policy that continue to enforce seccomp
Bug:
35950093
Test: Builds, Seccomp: 2 is in zygote & zygote64 status
Run setenforce 0 && stop && start
Seccomp: 0 is in zygote & zygote64 status
Change-Id: I797a6c29f58725f84089c570f784125fb99f57ce
Treehugger Robot [Fri, 3 Mar 2017 19:02:27 +0000 (19:02 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
Yang Ni [Fri, 3 Mar 2017 18:00:07 +0000 (10:00 -0800)]
Removed close guards for Element and Type objects
Bug:
28053769
These objects are tiny and unlikely to cause memory issues.
In addition, llvm-rs-cc auto-generated code contains such objects, which are
not visibible to developers and impossible to manually destroy, leaving
distracting warnings in Strict Mode.
Test: RsTest with StrictMode on and CTS tests
Change-Id: Iec68cca4f1259124b9f503a230c1a28b97ede1f3
Brad Ebinger [Fri, 3 Mar 2017 00:26:46 +0000 (16:26 -0800)]
Return generic Binder on onBind
By returning a generic Binder on onBind in
ImsServiceBase, we can detect when the process
crashes and restart the service, if necessary.
Test: Telephony Unit Tests
Change-Id: I2fbe2708c3df37704f0c526210267a35c75ee1eb
Andreas Gampe [Fri, 3 Mar 2017 17:38:58 +0000 (09:38 -0800)]
Framework: Ensure image heap string literals for Patterns
Do not use Pattern.toString to construct complex patterns. Instead,
make the string literals explicit so they can be compile-time
allocated, thus ending up as clean memory in the image heap.
Bug:
34956610
Test: m
Test: Device boots
Change-Id: I20d45c31243af00168553c218f75fb0795b55149
Tobias Thierer [Fri, 3 Mar 2017 12:02:09 +0000 (12:02 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
Narayan Kamath [Fri, 3 Mar 2017 10:59:23 +0000 (10:59 +0000)]
Merge "fd_utils: switch to libbase logging."
Narayan Kamath [Fri, 3 Mar 2017 10:34:36 +0000 (10:34 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."
Calin Juravle [Fri, 3 Mar 2017 03:42:33 +0000 (03:42 +0000)]
Merge changes from topic 'secondary-dex1'
* changes:
Use DexManager logic to decide if a package is used by other apps
Skip class path checking for secondary dex files
Calin Juravle [Thu, 2 Mar 2017 03:55:35 +0000 (19:55 -0800)]
Use DexManager logic to decide if a package is used by other apps
Stop relying on the file marker recorded by the runtime. We have the
same data available from the DexManager.
The clean up CL to remove the handling of the file markers will follow.
Test: verify that "shared packages" (e.g. gmscore) are not compiled with speed-profile.
Bug:
32871170
(cherry picked from commit
07b6eabe79261267ecd7114790e96e1f6828672a)
Change-Id: I2969b75fa77d38dde0073ef67aa89b1dc91237b5
Merged-In: I6cc5834ac88489e69896cd5fba9ed9968aa7f5a2
Calin Juravle [Wed, 15 Feb 2017 01:53:13 +0000 (17:53 -0800)]
Skip class path checking for secondary dex files
Pass '&' marker to dex2oat classpath when compiling secondary dex files.
This will skip class path checking when loading the oat files.
Test: adb shell cmd package compile -m speed -f --secondary-dex com.google.android.gms
oatdump --header-only --oat-
file=/data/user/0/com.google.android.gms/app_chimera/m/
00000006/oat/arm64/DynamiteModulesC_GmsCore_prodmnc_alldpi_release
check that the class path contains the special '&' marker
Bug:
32871170
(cherry picked from commit
aae35767b6bca6f872c906a0fd38d7adb61217bd)
Change-Id: I7f3c6743e749316ee02e8586a525ad28ae1ef765
Merged-In: If0628aeb4e3f5717604bfc4a87a4b1d438e5fa65
Elliott Hughes [Fri, 3 Mar 2017 00:22:30 +0000 (00:22 +0000)]
Merge "Remove the name length limit for system properties."