Commit graph

22759 commits

Author SHA1 Message Date
Josh Gao
149f39c0aa Merge changes Ia4a2ff77,I970806e3,I47daa338 into nyc-dev
am: a9e818f463

* commit 'a9e818f4632eca67a5ffd1fb680d15550591ecd9':
  adb: increase the FD table size on Win32.
  adb: bump the server version to 36.
  adb: add reconnect command.

Change-Id: I69178c16e133dbf6a293e45f82de5481b0c014b9
2016-04-19 00:56:00 +00:00
TreeHugger Robot
a9e818f463 Merge changes Ia4a2ff77,I970806e3,I47daa338 into nyc-dev
* changes:
  adb: increase the FD table size on Win32.
  adb: bump the server version to 36.
  adb: add reconnect command.
2016-04-19 00:51:22 +00:00
Mark Salyzyn
ab162d6cb2 Merge "liblog: android_log_isloggable failing apct" am: 0d4661d
am: cee2ce6755

* commit 'cee2ce6755d032c494be4295e98064b3b40ffa51':
  liblog: android_log_isloggable failing apct

Change-Id: I2cddfa04aff9a39ec897a75408a3f63c38692f4a
2016-04-19 00:28:59 +00:00
Josh Gao
826bdace3d Merge changes Iaf0efc0c,Ia4a2ff77 am: c4f3546
am: c5b388f53a

* commit 'c5b388f53a5666daa368f597c7e190f7f31f2b8a':
  adb: disable tests that are expected to fail on Win32.
  adb: increase the FD table size on Win32.

Change-Id: Ifcc55e62935c95c8b34fa0d1973277a08916fad2
2016-04-19 00:28:58 +00:00
Mark Salyzyn
cee2ce6755 Merge "liblog: android_log_isloggable failing apct"
am: 0d4661d

* commit '0d4661d54927101cc1dd1964ac146239f5f054ac':
  liblog: android_log_isloggable failing apct

Change-Id: I1cb1c62ee21175fab77ed0aa81b6420b69da3909
2016-04-18 23:27:07 +00:00
Treehugger Robot
0d4661d549 Merge "liblog: android_log_isloggable failing apct" 2016-04-18 23:22:40 +00:00
Josh Gao
c5b388f53a Merge changes Iaf0efc0c,Ia4a2ff77
am: c4f3546

* commit 'c4f3546e9ff410bf106ba6d97231be40e24e1adb':
  adb: disable tests that are expected to fail on Win32.
  adb: increase the FD table size on Win32.

Change-Id: I4883966f32de7cc4fbbec0e0942e667d8eeee9f6
2016-04-18 22:47:22 +00:00
Josh Gao
d1e2300a71 adb: increase the FD table size on Win32.
128 maximum FDs is a pretty low limit, which can easily be exhausted by
port forwarding. Bump the maximum up to 2048, and add a test that checks
whether we can actually use a few hundred sockets.

Bug: https://code.google.com/p/android/issues/detail?id=12141
Bug: http://b/28246942
Change-Id: Ia4a2ff776e8e58ec13378756f19d80392679ece9
(cherry picked from commit b31e17107c)
2016-04-18 15:46:25 -07:00
Josh Gao
988e9bc1f8 adb: bump the server version to 36.
The recent `adb root` changes are incompatible with older versions of
the server. Bump the version number to force the server to restart.

Bug: http://b/28194507
Change-Id: I970806e3b68c1f8e3273a4b1f0ecc4aca5086be9
(cherry picked from commit 057095d207)
2016-04-18 15:46:25 -07:00
Yabin Cui
03468c8c50 adb: add reconnect command.
Add reconnect command for debugging. `reconnect` kicks a transport
from the host side, `reconnect device` kicks a transport from
the device side. They can be used to produce transport errors.

Bug: 25935458

Change-Id: I47daa338796b561941e7aba44a51a6dd117d1e98
(cherry picked from commit 1f4ec19e49)
2016-04-18 15:46:25 -07:00
Josh Gao
c4f3546e9f Merge changes Iaf0efc0c,Ia4a2ff77
* changes:
  adb: disable tests that are expected to fail on Win32.
  adb: increase the FD table size on Win32.
2016-04-18 22:39:34 +00:00
Josh Gao
68c63d75c9 adb: disable tests that are expected to fail on Win32.
Bug: http://b/28247676
Change-Id: Iaf0efc0c12835c0915a752a365651eb9bc78b3b8
2016-04-18 14:33:38 -07:00
Josh Gao
b31e17107c adb: increase the FD table size on Win32.
128 maximum FDs is a pretty low limit, which can easily be exhausted by
port forwarding. Bump the maximum up to 2048, and add a test that checks
whether we can actually use a few hundred sockets.

Bug: https://code.google.com/p/android/issues/detail?id=12141
Bug: http://b/28246942
Change-Id: Ia4a2ff776e8e58ec13378756f19d80392679ece9
2016-04-18 14:33:38 -07:00
Josh Gao
e929e115be Merge "adb: bump the server version to 36." am: 3009b7c
am: a0b5c62

* commit 'a0b5c62525e7b79131df337619b268794c92374f':
  adb: bump the server version to 36.

Change-Id: I910cd4e32bd38796025d603ee86d245d33f6c61a
2016-04-18 21:29:41 +00:00
Josh Gao
a0b5c62525 Merge "adb: bump the server version to 36."
am: 3009b7c

* commit '3009b7cbe017e0d6f87d31b52a32bdc8fa77b095':
  adb: bump the server version to 36.

Change-Id: I60a8d01fa2da411d1417d186bb93941ceed33418
2016-04-18 20:14:39 +00:00
Josh Gao
3009b7cbe0 Merge "adb: bump the server version to 36." 2016-04-18 20:05:42 +00:00
Jeff Sharkey
0ef5c5cb20 Merge "Create legacy /data/system/user directory." into nyc-dev
am: e4f870a

* commit 'e4f870a0bb260f351208b9fe3cf7334e58c16a14':
  Create legacy /data/system/user directory.

Change-Id: I9b18134310c101974eb353d635c9cc8f8488877f
2016-04-18 19:59:34 +00:00
Jeff Sharkey
e4f870a0bb Merge "Create legacy /data/system/user directory." into nyc-dev 2016-04-18 19:43:18 +00:00
Elliott Hughes
9de1b0ccd4 Merge "Remove toolbox iftop." am: b1393e9
am: a0d08bb

* commit 'a0d08bbb2fd8b2650a00cdd24af0a62fe0a3e8fc':
  Remove toolbox iftop.

Change-Id: I580509a50367430993c8de7a13bb8b70fd34436b
2016-04-18 17:52:12 +00:00
Elliott Hughes
a0d08bbb2f Merge "Remove toolbox iftop."
am: b1393e9

* commit 'b1393e93ad7e4540bd0f1c2700b8beec9837427d':
  Remove toolbox iftop.

Change-Id: Ia111161a8d716f1eb630dffb736e8c1c83a62629
2016-04-18 17:46:50 +00:00
Elliott Hughes
b1393e93ad Merge "Remove toolbox iftop." 2016-04-18 17:38:36 +00:00
Christopher Wiley
447ae54e3f Merge "Export libbinder headers from libhealhd.default" am: c2241b9
am: a10b760

* commit 'a10b760d28ee0327d84dd73a16a83927d695eb56':
  Export libbinder headers from libhealhd.default

Change-Id: Idad9032e89102e912240a3d26955d3f7893e0694
2016-04-18 17:15:08 +00:00
Christopher Wiley
a10b760d28 Merge "Export libbinder headers from libhealhd.default"
am: c2241b9

* commit 'c2241b9c5dbff5028558e658286c242c050594f8':
  Export libbinder headers from libhealhd.default

Change-Id: Ia85f8aa9f4e507f05386ff38bd7fabb106250ec1
2016-04-18 17:09:48 +00:00
Christopher Wiley
c2241b9c5d Merge "Export libbinder headers from libhealhd.default" 2016-04-18 17:04:49 +00:00
Treehugger Robot
ee39961311 Merge "logpersist: incorporate size and buffer tunables" am: a87467d
am: af2c43a

* commit 'af2c43abbbfce0dfe1a2fdb38d0abf705e0f5b73':
  logpersist: incorporate size and buffer tunables

Change-Id: I11a1f98e6b0c7e39cfb658a45ddcf9f3772a2985
2016-04-18 17:04:40 +00:00
Mark Salyzyn
af2c43abbb Merge "logpersist: incorporate size and buffer tunables"
am: a87467d

* commit 'a87467d767b0523fca5f8fcfda9a2afb59e8df4f':
  logpersist: incorporate size and buffer tunables

Change-Id: If38fc3ede8cd1c6e0683a5c5153b91c02d218355
2016-04-18 16:59:20 +00:00
Treehugger Robot
a87467d767 Merge "logpersist: incorporate size and buffer tunables" 2016-04-18 16:48:33 +00:00
Christopher Wiley
8ac71c7fc6 Export libbinder headers from libhealhd.default
Consumers of libhealthd.default will need these headers.

Bug: 27804373
Change-Id: I59e8526e3491f0db528d1277b8e2f4b68ce85805
Test: Compiles.
2016-04-18 09:33:53 -07:00
Mark Salyzyn
2e210e4650 logpersist: incorporate size and buffer tunables
- Add hidden -n and -b flags that propagate to the underlying
  logcat command. Publish aliases in help as --size and --buffer.
- Add --clear for start command so it clears before starting
- shell script bloating up to deal with option validation and
  provide ERROR: and WARNING: advice.

ToDo:

- Deprecate shell script and replace with Eng and Userdebug
  only Developer Options, before it becomes too powerful
  or bloated to force us to rewrite an expendable like this
  into C++.

Bug: 28120456
Change-Id: I0dff8acaa1e5c929454760cfa2801924956bc25d
2016-04-18 08:54:39 -07:00
Elliott Hughes
72886ce0af Remove toolbox iftop.
It's nothing like the real iftop, and there's no evidence anyone uses it.
In particular, it hasn't been touched since it was first checked in, back
in 2008. So it's either perfect or unused. Let's find out...

Change-Id: I941adbb67f0166b9b3bd796291060bd67eafa867
2016-04-16 09:08:05 -07:00
Yabin Cui
1a3ce9b3a6 Merge "adb: add reconnect command." am: 643bc36
am: 1dd696a

* commit '1dd696a52687106d9926374d18895a911cc6fd28':
  adb: add reconnect command.

Change-Id: Ibfdfe1675a8d3627d4fb8eef3592b9b836dc4d19
2016-04-16 02:00:33 +00:00
Yabin Cui
1dd696a526 Merge "adb: add reconnect command."
am: 643bc36

* commit '643bc369ef8dbeeb22ee87bfa04eb3621ffa16a2':
  adb: add reconnect command.

Change-Id: I4cf54a13d4fc31578d9b7f7084d92974e69c8d2a
2016-04-16 01:58:03 +00:00
Yabin Cui
643bc369ef Merge "adb: add reconnect command." 2016-04-16 01:50:54 +00:00
Treehugger Robot
b2b2240074 Merge "Fix include-what-you-use problem in android-pubkey.c." am: ba430e3
am: c49e943

* commit 'c49e943109099034a4f26d43e0711b37d3f02196':
  Fix include-what-you-use problem in android-pubkey.c.

Change-Id: I741614f9622718161ca991a44036391d72203410
2016-04-16 00:08:59 +00:00
David Benjamin
c49e943109 Merge "Fix include-what-you-use problem in android-pubkey.c."
am: ba430e3

* commit 'ba430e363427cb99af3afe06baec9360150255b2':
  Fix include-what-you-use problem in android-pubkey.c.

Change-Id: Iec27f1ba8e3c38874e20c377718c76c6885de4f1
2016-04-16 00:06:35 +00:00
Treehugger Robot
ba430e3634 Merge "Fix include-what-you-use problem in android-pubkey.c." 2016-04-16 00:01:39 +00:00
Josh Gao
057095d207 adb: bump the server version to 36.
The recent `adb root` changes are incompatible with older versions of
the server. Bump the version number to force the server to restart.

Bug: http://b/28194507
Change-Id: I970806e3b68c1f8e3273a4b1f0ecc4aca5086be9
2016-04-15 14:54:43 -07:00
David Benjamin
2257f6baf5 Fix include-what-you-use problem in android-pubkey.c.
This fixes a problem building against BoringSSL master.

Change-Id: Ib052c6a59454126a83e32e9a43391470aca7356a
2016-04-15 17:44:05 -04:00
Jeff Sharkey
c9b84a362a Create legacy /data/system/user directory.
We create per-user directories under this location, so it should
only be created once by init, similar to all the other user-specific
directories.

Bug: 27896918
Change-Id: I9ec55e4fd763c0eda6c6e50483694a6377344586
2016-04-15 13:42:29 -06:00
Mark Salyzyn
63ad6a1ad6 logcat: apct test failures
am: 3c535de  -s ours

* commit '3c535de75e3da05e32e69dfcdd6a864dbdc451fd':
  logcat: apct test failures

Change-Id: Ieb68a345a206ca5fa3e1c5182e00980553306a10
2016-04-15 18:34:13 +00:00
Mark Salyzyn
efe8ecc1d9 liblog: android_log_isloggable failing apct
- periodic failures in apct, dropped second serial test
  in refresh_cache, trusting check_cache or global.
- The retry loop to see if is_loggable recovers of 1000
  was hiding subsequent tests, drop to 10 retries.
- On the whole, the average performance remains the same.

Bug: 25792367
Change-Id: I4110440ef46671d7a1c128689bde623808bed04f
2016-04-15 11:04:24 -07:00
James Hawkins
fe8aaf10c7 Merge "bootstat: Calculate and log the time_since_last_boot metric." am: 1607ea6
am: db20ad1

* commit 'db20ad1222661f3e486a19791476ce0189cdfcac':
  bootstat: Calculate and log the time_since_last_boot metric.

Change-Id: I11f52f086adf2faa363f681534566943f2252f00
2016-04-15 16:51:54 +00:00
James Hawkins
db20ad1222 Merge "bootstat: Calculate and log the time_since_last_boot metric."
am: 1607ea6

* commit '1607ea64cbdeea766c05d033afe0c65ea978b399':
  bootstat: Calculate and log the time_since_last_boot metric.

Change-Id: I643c0847a75e4ba02db17ea5e4c716f6fcc7b28d
2016-04-15 16:48:43 +00:00
James Hawkins
1607ea64cb Merge "bootstat: Calculate and log the time_since_last_boot metric." 2016-04-15 16:46:52 +00:00
Mark Salyzyn
3c535de75e logcat: apct test failures
(cherry pick from 3842b1a5f6)

Change-Id: I100a5071c059fe9fa85bbdc33db552b16d7bdf60
2016-04-15 16:38:42 +00:00
James Hawkins
2d8b3e66c6 bootstat: Calculate and log the time_since_last_boot metric.
Bug: 28163811
Change-Id: I2e1350531f6a0fc891c270cfdfca6c8ad63f8040
2016-04-15 08:44:01 -07:00
Yabin Cui
95b017dd56 libbacktrace: only build libbacktrace_offline static library.
am: 578bc03

* commit '578bc039dc66e8ddaf186d901f9d043e506e1950':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I717799865400eb3bdabd6ce05c49fe9db323792e
2016-04-15 03:05:40 +00:00
Yabin Cui
3424eaa01d Merge "libbacktrace: only build libbacktrace_offline static library." am: f20e4b1
am: b150324

* commit 'b1503248f4baa28ed739948a51da370bf40037ea':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I903f82a38022f7094b70bc8e4d59ac5098456571
2016-04-14 21:38:12 +00:00
Yabin Cui
578bc039dc libbacktrace: only build libbacktrace_offline static library.
As device may not have libbacktrace_offline shared library, simpleperf
no longer rely on it. So there is no reason to keep libbacktrace_offline
shared library.

Bug: 28152982
Change-Id: If8e31b1434646dbbfed60264eb25f034bc5d6946
(cherry picked from commit 51e607056d)
2016-04-14 14:37:37 -07:00
Yabin Cui
b1503248f4 Merge "libbacktrace: only build libbacktrace_offline static library."
am: f20e4b1

* commit 'f20e4b1b710d01fca7bfc41739058ef22c44e0f3':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I6e00010154f97deefb9bcb9901b807e833eab9fb
2016-04-14 21:34:14 +00:00