Commit graph

16161 commits

Author SHA1 Message Date
Mark Salyzyn
18fc744f2e am 6743dab5: Merge "init: Add additional logging levels"
* commit '6743dab51fbd6487ab924ad38e5d4c07dd174a60':
  init: Add additional logging levels
2015-07-22 00:12:47 +00:00
Elliott Hughes
34c20bbdff Show "(reverse)" in "adb reverse --list".
Bug: http://b/17788586
Change-Id: I250a1459295ed38e8d962da8bea2a8d2f83c7ef0
2015-07-21 17:09:06 -07:00
Mark Salyzyn
93adb524bc Merge "init: Fix logging stutter" 2015-07-22 00:01:17 +00:00
Mark Salyzyn
6743dab51f Merge "init: Add additional logging levels" 2015-07-22 00:01:10 +00:00
Elliott Hughes
86da352c43 am d66e949b: am 2e7c39ec: Merge ""adb tcpip" should require a numeric argument."
* commit 'd66e949b14305b367d3de4ba00901bff1122bb0e':
  "adb tcpip" should require a numeric argument.
2015-07-21 23:50:12 +00:00
Elliott Hughes
d66e949b14 am 2e7c39ec: Merge ""adb tcpip" should require a numeric argument."
* commit '2e7c39ecf7489540ad23e52cbe8bce94b0e26eca':
  "adb tcpip" should require a numeric argument.
2015-07-21 23:37:57 +00:00
Mark Salyzyn
636b1ebd38 init: Fix logging stutter
- Get rid of log stutter, tag (executable basename) is added by
  the logging routines

Bug: 17914575
Change-Id: If00eb1b915065fb52c9311648b7ada4c9e2696bd
2015-07-21 16:32:20 -07:00
Mark Salyzyn
692abc2b5f init: Add additional logging levels
- Add WARNING, DEBUG and VERBOSE levels

Bug: 17914575
Change-Id: Ia5ba03c164ea38fad4ab30356491741afc987116
2015-07-21 16:32:10 -07:00
Elliott Hughes
2e7c39ecf7 Merge ""adb tcpip" should require a numeric argument." 2015-07-21 23:28:39 +00:00
Elliott Hughes
19d80b878c "adb tcpip" should require a numeric argument.
Defaulting to port 0 just breaks stuff.

Bug: http://b/22636927
Change-Id: I6239900e0828e71b31171d0184c24824957c99c8
2015-07-21 16:27:46 -07:00
Elliott Hughes
433ff5887a am 59ae3947: am 3bcdaa28: Merge "Recognize IPv6 addresses for "adb connect"."
* commit '59ae39473d1d9a53ecfbeb802f2b91c8e00a33e6':
  Recognize IPv6 addresses for "adb connect".
2015-07-21 22:50:42 +00:00
Elliott Hughes
59ae39473d am 3bcdaa28: Merge "Recognize IPv6 addresses for "adb connect"."
* commit '3bcdaa287760c8b1821c581493bfe851169ec65f':
  Recognize IPv6 addresses for "adb connect".
2015-07-21 22:37:36 +00:00
Elliott Hughes
3bcdaa2877 Merge "Recognize IPv6 addresses for "adb connect"." 2015-07-21 22:29:05 +00:00
Elliott Hughes
3d5f60dbba Recognize IPv6 addresses for "adb connect".
Bug: http://b/22559299
Change-Id: I32891d706b5010c38db84a056e76dd279b780f75
2015-07-21 15:25:14 -07:00
Riley Andrews
7c1ae0051d am e850f578: Disable scaling of the cfs tunables.
* commit 'e850f5786cdd4d3e4f1157db8785de3e6ff77eab':
  Disable scaling of the cfs tunables.
2015-07-21 21:15:37 +00:00
Riley Andrews
e850f5786c Disable scaling of the cfs tunables.
The cfs tunables auto-scale with the number of active cpus by default. Given
that the tunable settings are in device-independent code and it's not
known how many cores are currently active when the init.rc file runs,
the cfs tunables can vary pretty significantly across devices depending
on the state at boot. Disable scaling of the the tunables so that we
can get more consistent behavior of cfs across devices. If we want to
do per-device tuning of these values, we can override what's written
here in device specific files.

Bug: 22634118
Change-Id: Id19b24ef819fef762521e75af55e6d4378cfc949
2015-07-21 19:49:45 +00:00
Elliott Hughes
36bb59cda8 am 3cd33a72: am 5208d551: Merge "adb: logging: newlines, thread ids, error code overwriting"
* commit '3cd33a722543a6da22c6dd70b700d27e7890e2b7':
  adb: logging: newlines, thread ids, error code overwriting
2015-07-21 18:28:47 +00:00
Yusuke Sato
7954eb0a46 am ab64465d: am 0e3ce82b: Merge "Use fsck.f2fs -a instead of -f for faster boot"
* commit 'ab64465d1f16f414c0bde5e3c4707c32b8220bbc':
  Use fsck.f2fs -a instead of -f for faster boot
2015-07-21 18:28:40 +00:00
Elliott Hughes
3cd33a7225 am 5208d551: Merge "adb: logging: newlines, thread ids, error code overwriting"
* commit '5208d5512920d77c89726cdad5df0ca27966d0c2':
  adb: logging: newlines, thread ids, error code overwriting
2015-07-21 16:57:21 +00:00
Elliott Hughes
5208d55129 Merge "adb: logging: newlines, thread ids, error code overwriting" 2015-07-21 16:45:46 +00:00
Yusuke Sato
ab64465d1f am 0e3ce82b: Merge "Use fsck.f2fs -a instead of -f for faster boot"
* commit '0e3ce82b9486c2517ae0ab99ea5c40f95bdff733':
  Use fsck.f2fs -a instead of -f for faster boot
2015-07-21 16:16:48 +00:00
Yusuke Sato
0e3ce82b94 Merge "Use fsck.f2fs -a instead of -f for faster boot" 2015-07-21 16:06:40 +00:00
Spencer Low
8d8126a705 adb: logging: newlines, thread ids, error code overwriting
Add missing \n to uses of legacy D() macro. This should make the legacy
logging easier to read (and harder to miss important stuff).

On POSIX, use gettid() from libcutils instead of pthread_self() so that
the output shows a more reasonable number instead of a pointer value.
This should be ok since libbase's logging already uses gettid().

Win32:

Don't let the Win32 last error get overwritten by API calls after the
original error'ing API. When encountering an unknown error, log the
specific error code.

Change-Id: Ib8f72754efa7ba895d2f1cd914251fec2a1d894c
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-07-21 02:06:26 -07:00
Elliott Hughes
58633f4fe1 am b02de7ed: am 05418442: Merge "Remove subproc events when ADB_HOST."
* commit 'b02de7eda1d84179bc6d0f898a4b6e3d0565834b':
  Remove subproc events when ADB_HOST.
2015-07-21 02:35:03 +00:00
Elliott Hughes
b02de7eda1 am 05418442: Merge "Remove subproc events when ADB_HOST."
* commit '05418442ff15e854a1041e26f56bd2f9e702d7f4':
  Remove subproc events when ADB_HOST.
2015-07-20 23:06:47 +00:00
Elliott Hughes
05418442ff Merge "Remove subproc events when ADB_HOST." 2015-07-20 22:50:25 +00:00
Daniel Rosenberg
b381f0a5e1 am 71ca82bf: am 8da23664: Merge "rootdir: Create cache folder in Android.mk"
* commit '71ca82bf954c4bd5b8817eeabb78418fafde90ce':
  rootdir: Create cache folder in Android.mk
2015-07-20 19:58:51 +00:00
Daniel Rosenberg
71ca82bf95 am 8da23664: Merge "rootdir: Create cache folder in Android.mk"
* commit '8da23664e78dc5b5a483385fb55328d0d7639867':
  rootdir: Create cache folder in Android.mk
2015-07-20 19:37:17 +00:00
Daniel Rosenberg
8da23664e7 Merge "rootdir: Create cache folder in Android.mk" 2015-07-20 19:21:49 +00:00
Elliott Hughes
6d416684b5 am 9287d2d8: am 953b44c3: Merge "Fix adbd/adb server confusion in an error message."
* commit '9287d2d83a420d750e3c1490d52930c11f662a19':
  Fix adbd/adb server confusion in an error message.
2015-07-20 18:18:54 +00:00
Elliott Hughes
9287d2d83a am 953b44c3: Merge "Fix adbd/adb server confusion in an error message."
* commit '953b44c3ed7b543f5e0c3799f1d37114028be3d2':
  Fix adbd/adb server confusion in an error message.
2015-07-20 17:42:52 +00:00
Elliott Hughes
953b44c3ed Merge "Fix adbd/adb server confusion in an error message." 2015-07-20 17:25:16 +00:00
Daniel Erat
777b9bdd39 am 3a8a3241: am 4812f8dd: Merge "Add a "dbus" AID for running dbus-daemon."
* commit '3a8a32413615643320bb140a24ab1d77d9aea804':
  Add a "dbus" AID for running dbus-daemon.
2015-07-20 15:26:52 +00:00
Daniel Erat
3a8a324136 am 4812f8dd: Merge "Add a "dbus" AID for running dbus-daemon."
* commit '4812f8dd306e6cbd7f0b2330fae05a66ba1e6bc6':
  Add a "dbus" AID for running dbus-daemon.
2015-07-20 15:12:42 +00:00
Daniel Erat
4812f8dd30 Merge "Add a "dbus" AID for running dbus-daemon." 2015-07-20 15:03:52 +00:00
Elliott Hughes
64d303a0e7 Fix adbd/adb server confusion in an error message.
Change-Id: Iacb8bcfb1e8e1d46198ee4ba8cf0ec0d1b98c75a
2015-07-18 13:57:46 -07:00
Elliott Hughes
4f8edb3c27 am 099ec31b: am ff201659: Merge "Fix the Mac libcutils build."
* commit '099ec31bdb910020c5c86b4ad8711940616bcbaf':
  Fix the Mac libcutils build.
2015-07-18 18:21:16 +00:00
Elliott Hughes
099ec31bdb am ff201659: Merge "Fix the Mac libcutils build."
* commit 'ff2016599ddaab326ff94c9f1680ac641bb0055e':
  Fix the Mac libcutils build.
2015-07-18 18:09:03 +00:00
Elliott Hughes
69b2c2a125 am 6657d224: am 069f62de: Merge "Fix N9 boot."
* commit '6657d2248e902289476c4b937f5d6a1585c95ec2':
  Fix N9 boot.
2015-07-18 18:02:01 +00:00
Elliott Hughes
ff2016599d Merge "Fix the Mac libcutils build." 2015-07-18 17:53:39 +00:00
Elliott Hughes
6657d2248e am 069f62de: Merge "Fix N9 boot."
* commit '069f62de20f83226801e9a43c372ba34d3c3c12f':
  Fix N9 boot.
2015-07-18 17:48:00 +00:00
Elliott Hughes
0f8f70beb4 Fix the Mac libcutils build.
The stupid Mac doesn't have SOCK_NONBLOCK.

Bug: http://b/22559299
Change-Id: I476dadd0ba0076f5e61a4cd9b1f39cf3508f4188
2015-07-18 10:47:59 -07:00
Elliott Hughes
069f62de20 Merge "Fix N9 boot." 2015-07-18 17:39:24 +00:00
Elliott Hughes
04b2022f7e Fix N9 boot.
Without this, sdcard fails to start because its mount point doesn't
exist.

Bug: http://b/22568628
Change-Id: Ic6a2f51fc74c5bd1f23d97592049495ac3822bb3
2015-07-18 10:34:53 -07:00
Elliott Hughes
790d25b76a am 5403d155: am e36b10a8: Merge "Switch libcutils from gethostbyname to getaddrinfo."
* commit '5403d155a3677ff334246eb5524ced4166fd1c96':
  Switch libcutils from gethostbyname to getaddrinfo.
2015-07-18 17:21:05 +00:00
Elliott Hughes
5403d155a3 am e36b10a8: Merge "Switch libcutils from gethostbyname to getaddrinfo."
* commit 'e36b10a8179a6d55d374655f28b682633e19b009':
  Switch libcutils from gethostbyname to getaddrinfo.
2015-07-18 17:06:47 +00:00
Elliott Hughes
e36b10a817 Merge "Switch libcutils from gethostbyname to getaddrinfo." 2015-07-18 16:55:58 +00:00
Elliott Hughes
94ae41874a Switch libcutils from gethostbyname to getaddrinfo.
Needed for IPv6 support.

Bug: http://b/22559299
Change-Id: Id10d958b434b207e84bc2ec2ff83221f2c4e8168
2015-07-17 23:45:15 -07:00
Daniel Erat
f7b8cae2ef Add a "dbus" AID for running dbus-daemon.
Bug: 22328216
Change-Id: I8478f57d892c6edeb6b101cfa8b38dc5c6262cb2
2015-07-17 16:04:54 -06:00
Alex Vallée
947cb3e8ee Remove subproc events when ADB_HOST.
The code which triggers these events (via the SHELL_EXIT_NOTIFY_FD) are
only called from code which is already guarded by #if !ADB_HOST.

Change-Id: I184414f5e090c1f08ee117e4c8c434cd4a8b5221
2015-07-17 16:00:29 -04:00