OSDN Git Service
Jakub Pawlowski [Wed, 8 Mar 2017 19:17:08 +0000 (19:17 +0000)]
Merge "Bluetooth 5 feature check API (1/2)" am:
a06a0dfdb7
am:
e9bd9be3cb
Change-Id: I462d459638f2b41f8806b877a6b307e21e6e30d3
Jakub Pawlowski [Wed, 8 Mar 2017 19:09:43 +0000 (19:09 +0000)]
Merge "Bluetooth 5 feature check API (1/2)"
am:
a06a0dfdb7
Change-Id: I59cf0e8f496e6a1201a3a6ec832c33cd1c8972df
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:45:02 +0000 (17:45 +0000)]
Merge "Renaming Czech Republic to Czechia." am:
33bade08de
am:
260b81aaf2
Change-Id: Idbbf0592f4066e11269987b66fbfe575e2add0a2
Joachim Sauer [Wed, 8 Mar 2017 17:40:13 +0000 (17:40 +0000)]
Merge "Renaming Czech Republic to Czechia."
am:
33bade08de
Change-Id: Ie76ebb1bd53eb4993f0d01c7d3b5ba7dae9c6504
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 15:10:18 +0000 (15:10 +0000)]
Merge "[AWARE] Add data-path security configuration (Passphrase)" am:
769fa0c881
am:
0501c50040
Change-Id: Id7d33f9fc01e30e62dd765ceedd929506a9cd5b5
Etan Cohen [Wed, 8 Mar 2017 15:05:18 +0000 (15:05 +0000)]
Merge "[AWARE] Add data-path security configuration (Passphrase)"
am:
769fa0c881
Change-Id: If38fa15ce7c6606f081b86dad1ecbe0cac453ed5
Paul Duffin [Wed, 8 Mar 2017 15:04:06 +0000 (15:04 +0000)]
Merge "Replace usages of littlemock with mockito" am:
0a11c83016
am:
b29311bbba
Change-Id: I94c0ab304eb1ac8b68b897e6b74f737df2c2bff8
Paul Duffin [Wed, 8 Mar 2017 14:59:26 +0000 (14:59 +0000)]
Merge "Replace usages of littlemock with mockito"
am:
0a11c83016
Change-Id: I1456ae3d07d396080a817de01796eefc71230981
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
Hemant Gupta [Wed, 8 Mar 2017 00:43:12 +0000 (00:43 +0000)]
Merge "Bluetooth: Expose L2CAP API to support OPP 1.2" am:
79eb213a98
am:
12358b4057
Change-Id: Iab52bbff82ee0189d2d8ba1458a3d844e399864c
Hemant Gupta [Wed, 8 Mar 2017 00:38:14 +0000 (00:38 +0000)]
Merge "Bluetooth: Expose L2CAP API to support OPP 1.2"
am:
79eb213a98
Change-Id: I5f82a0c40c64fca0701abba44693b2892209acf3
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:57:15 +0000 (21:57 +0000)]
Merge "Add further Connection-side APIs for RTT (part 2)" am:
6bb5110f2c
am:
033972b5b2
Change-Id: If2e4cd4eb08e15750886454102adf0b807852509
Hall Liu [Tue, 7 Mar 2017 21:52:52 +0000 (21:52 +0000)]
Merge "Add further Connection-side APIs for RTT (part 2)"
am:
6bb5110f2c
Change-Id: Idfe092393301fb47e6a635eb150103cb928a2696
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:27:14 +0000 (21:27 +0000)]
Merge "PackageManager: Clean up code related to foreign dex use" am:
eef66fd0c7
am:
b1818b8a36
Change-Id: I41008c4e95cef971702120be285c2a8821168591
Calin Juravle [Tue, 7 Mar 2017 21:23:03 +0000 (21:23 +0000)]
Merge "PackageManager: Clean up code related to foreign dex use"
am:
eef66fd0c7
Change-Id: I443f001c15daddd63a17685c2e82fc9a619c45ee
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
Andreas Gampe [Tue, 7 Mar 2017 17:03:51 +0000 (17:03 +0000)]
Merge "Framework: Ensure image heap string literals for Patterns" am:
d0f092af84
am:
838851364b
Change-Id: I0b19a98ca157d87c41a3a305b9ae59bb65a9cffe
Andreas Gampe [Tue, 7 Mar 2017 16:59:12 +0000 (16:59 +0000)]
Merge "Framework: Ensure image heap string literals for Patterns"
am:
d0f092af84
Change-Id: I69886924b3aca6c050239069c00e166142e2e522
Etan Cohen [Tue, 7 Mar 2017 16:55:59 +0000 (16:55 +0000)]
Merge "[CM] Allow timeout in request network" am:
8328f27a87
am:
645b48c8af
Change-Id: Ie3438ba967887ab7776eefaf05a6cf915e866f82
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:49:53 +0000 (16:49 +0000)]
Merge "[CM] Allow timeout in request network"
am:
8328f27a87
Change-Id: Ic7a3da0a5292be5e13abca9c98c422bc2f50f3a0
Tobias Thierer [Tue, 7 Mar 2017 16:49:38 +0000 (16:49 +0000)]
Merge "Track: ICU TimeZone: publish TIMEZONE_* constants" am:
aa4877e295
am:
b96d428e40
Change-Id: Ie91a466fa5e774cb5cb64361f00bb29643805cf0
Tobias Thierer [Tue, 7 Mar 2017 16:43:16 +0000 (16:43 +0000)]
Merge "Track: ICU TimeZone: publish TIMEZONE_* constants"
am:
aa4877e295
Change-Id: I94edc483a5d9dfeabb19d0eb687c10ba2df6eac9
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
Erik Kline [Tue, 7 Mar 2017 13:38:07 +0000 (13:38 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed" am:
75dfc5bd91
am:
0f901af920
Change-Id: I891abf2a1a4138b9d80b8544ac6d09deda8d3d62
Erik Kline [Tue, 7 Mar 2017 13:33:29 +0000 (13:33 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed"
am:
75dfc5bd91
Change-Id: I79b9323be242ed5d2bf83962f78c613a465a20b8
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
Erik Kline [Tue, 7 Mar 2017 06:36:13 +0000 (06:36 +0000)]
Merge "Handle null NetworkState updates" am:
ae758b2c7f
am:
4cf8f7a8cd
Change-Id: I47cdb040baed8c4c700ff7412a01d79f8edccbd2
Erik Kline [Tue, 7 Mar 2017 06:31:48 +0000 (06:31 +0000)]
Merge "Handle null NetworkState updates"
am:
ae758b2c7f
Change-Id: I9d8d5c176804344a40f6646acf65d2d8a5cd976f
Treehugger Robot [Tue, 7 Mar 2017 06:24:16 +0000 (06:24 +0000)]
Merge "Handle null NetworkState updates"
Erik Kline [Tue, 7 Mar 2017 06:04:13 +0000 (06:04 +0000)]
Merge "Always send all available state when calling onAvailable()." am:
affbb8b6a9
am:
e0a62a4398
Change-Id: Ie9bd779526e967790cbc51de52a64bbf7cd493a5
Erik Kline [Tue, 7 Mar 2017 06:00:09 +0000 (06:00 +0000)]
Merge "Always send all available state when calling onAvailable()."
am:
affbb8b6a9
Change-Id: I81e70fecf060a4103b51084a60a32c78f6219f6b
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
Tyler Gunn [Tue, 7 Mar 2017 02:57:41 +0000 (02:57 +0000)]
Merge "API review cleanups/changes." am:
9324d6513b
am:
dd4bc7c69c
Change-Id: I40b7b0f025de54e6f92764949ba3d06370d45cd6
Ruchi Kandoi [Tue, 7 Mar 2017 02:53:09 +0000 (02:53 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field" am:
7b0d16249c
am:
9377a53aa9
Change-Id: Ib8196c580da8fc8602e2a88945050b84545576e8
Erik Kline [Tue, 7 Mar 2017 02:52:09 +0000 (02:52 +0000)]
Merge "Start of tethering OffloadController" am:
121006f428
am:
4568fa4a82
Change-Id: Ib1a7b2cad37e85335d498a12d36f0209b33d5c26
Tyler Gunn [Tue, 7 Mar 2017 02:49:54 +0000 (02:49 +0000)]
Merge "API review cleanups/changes."
am:
9324d6513b
Change-Id: Iaeb4bbb5e551bf4206ea2ab4372d1ba0533c4709
Ruchi Kandoi [Tue, 7 Mar 2017 02:46:54 +0000 (02:46 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field"
am:
7b0d16249c
Change-Id: I35ccc367fc1182c1cf8c470d8bfcf6dcf27d2825
Erik Kline [Tue, 7 Mar 2017 02:45:51 +0000 (02:45 +0000)]
Merge "Start of tethering OffloadController"
am:
121006f428
Change-Id: I590569818c7d7ac50dcc61bd7058bd7c5cad4e77
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
Andre Eisenbach [Tue, 7 Mar 2017 00:41:56 +0000 (00:41 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered" am:
ba0992f4c4
am:
9b3d4cb3a7
Change-Id: I4274d7908d09401496782005b560634376d820cf
Yang Ni [Tue, 7 Mar 2017 00:40:57 +0000 (00:40 +0000)]
Merge "Removed close guards for Element and Type objects" am:
97c9b57cec
am:
25684ceff5
Change-Id: I09f9b62e9d6de92f7114638d4a8fdd82024214da
Andre Eisenbach [Tue, 7 Mar 2017 00:37:31 +0000 (00:37 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered"
am:
ba0992f4c4
Change-Id: Iac58de264ca48184d2ddd0cf4aeb9a3d5719539c
Yang Ni [Tue, 7 Mar 2017 00:36:19 +0000 (00:36 +0000)]
Merge "Removed close guards for Element and Type objects"
am:
97c9b57cec
Change-Id: I28b4149b6a0ace42dff2ca4ce9a1803b0baa4430
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 20:06:31 +0000 (20:06 +0000)]
Merge "Check for spurious wake ups" am:
3a3cd0a27f
am:
c2dcebe6e6
Change-Id: I6777a0845cbfbef3681e3f3779779c83001c0456
Tom Cherry [Mon, 6 Mar 2017 19:57:18 +0000 (19:57 +0000)]
Merge "Check for spurious wake ups"
am:
3a3cd0a27f
Change-Id: Ia445070278f5a80c85b48e06ddf614d462db45af
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
Ajay Panicker [Mon, 6 Mar 2017 18:26:56 +0000 (18:26 +0000)]
Merge "Bluetooth: Use content observer for airplane mode" am:
8871623b8d -s ours
am:
4ddee9722d
Change-Id: Ia3653b1737eb48d52eed98c3b6ba99d8e95636d7
Ajay Panicker [Mon, 6 Mar 2017 18:21:33 +0000 (18:21 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"
am:
8871623b8d -s ours
Change-Id: I83e81bd944c36c0f96a213bf57f99e61a7b35404
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
Hugo Benichi [Mon, 6 Mar 2017 12:37:36 +0000 (12:37 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499." am:
704520c392
am:
4cf199383f
Change-Id: I79234b267fccb31dfd53cf970a8da039654e684b
Hugo Benichi [Mon, 6 Mar 2017 12:30:05 +0000 (12:30 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
am:
704520c392
Change-Id: Ia0ae78f8406b81377491407cf5ef8ca339952def
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
Paul Lawrence [Sat, 4 Mar 2017 02:23:14 +0000 (02:23 +0000)]
Merge "Make seccomp honor setenforce" am:
c337e32bb0
am:
071dcc02b4
Change-Id: I95d2303229f38c3d0719d830deefd58cc3280278
Paul Lawrence [Sat, 4 Mar 2017 02:17:43 +0000 (02:17 +0000)]
Merge "Make seccomp honor setenforce"
am:
c337e32bb0
Change-Id: I9d1bfd35f7da304188da2d6aff6b937108ae4680
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
Peter Qiu [Fri, 3 Mar 2017 19:16:14 +0000 (19:16 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am:
6ac19c0d23
am:
be39334afb
Change-Id: I922cadda8d9becd391dbaffc0da7e098bdda89f6
Peter Qiu [Fri, 3 Mar 2017 19:10:46 +0000 (19:10 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
am:
6ac19c0d23
Change-Id: Ia4966b2d8109a85a94f59d7ec57b387a8f6f612e
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
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:14:04 +0000 (12:14 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am:
3e6c189c68
am:
50351bd85c
Change-Id: I155559d6c283e58c14995cec8423924ef14bd5b0
Tobias Thierer [Fri, 3 Mar 2017 12:07:59 +0000 (12:07 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
am:
3e6c189c68
Change-Id: I981b746a28cda09d7a75fa79faeacb2cc58b1fc4
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 11:12:50 +0000 (11:12 +0000)]
Merge "fd_utils: switch to libbase logging." am:
982f42f71c
am:
a31b7d383f
Change-Id: I55defd68178a4374e0f1b138fa320db1cfe8a448
Narayan Kamath [Fri, 3 Mar 2017 11:07:19 +0000 (11:07 +0000)]
Merge "fd_utils: switch to libbase logging."
am:
982f42f71c
Change-Id: I22364e3242317761ac27c51c54efb84dd6aee815
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:46:47 +0000 (10:46 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases." am:
9dbcff7d73
am:
04d17c07cc
Change-Id: I736ac35b6f040b9470ec51fb7804bebb38afb6fe
Narayan Kamath [Fri, 3 Mar 2017 10:41:46 +0000 (10:41 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."
am:
9dbcff7d73
Change-Id: Iabd49e8f322e926b1b157ff85f1e9e4f66b0f56a
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:56:13 +0000 (03:56 +0000)]
Merge changes from topic 'secondary-dex1' am:
d56d98b860
am:
e6f3ed6aef
Change-Id: Ia637e1c6caccf33137cde413779911dab5677147
Calin Juravle [Fri, 3 Mar 2017 03:51:04 +0000 (03:51 +0000)]
Merge changes from topic 'secondary-dex1'
am:
d56d98b860
Change-Id: Ia9c1329584597a6f30aeaa2bd8e8c979705d8eea
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