Commit graph

12229 commits

Author SHA1 Message Date
Mark Salyzyn
7b30ff8d87 logcat: Add -D print dividers flag
Permits a single thread to collect several log buffer and
to separate them out into named buckets by keying off the
dividers ---------

Change-Id: I5a92c67383a73ea566cb9b9732d26d88d9c41c66
2015-02-25 23:03:40 +00:00
Dan Albert
ac3bbfadb9 am a035d500: Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft."
* commit 'a035d5003ea593322ba565df9a4f4d0dd6647acf':
  Remove _(GNU|XOPEN)_SOURCE makefile cruft.
2015-02-25 19:18:32 +00:00
Dan Albert
e4fe476e38 am 948ae1b9: Merge "Add some basic tests to adb."
* commit '948ae1b9353545119a89b6fb8fe8380d4039a366':
  Add some basic tests to adb.
2015-02-25 19:13:05 +00:00
Dan Albert
a035d5003e Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft." 2015-02-25 19:11:14 +00:00
Dan Albert
7fd821e907 Remove _(GNU|XOPEN)_SOURCE makefile cruft.
None of the functions that require these are used.

Change-Id: I10cffab127795b94340131f8737f7924b9138f9e
2015-02-25 11:08:21 -08:00
Dan Albert
948ae1b935 Merge "Add some basic tests to adb." 2015-02-25 19:06:39 +00:00
Dan Albert
055f1aa4ff Add some basic tests to adb.
Change-Id: I946b5b1e5650540db3b4f75892214c4218b3baf3
2015-02-25 10:57:26 -08:00
Elliott Hughes
58b81bf81b am a82f2b25: Merge "Support "fastboot reboot bootloader"."
* commit 'a82f2b259076135017a2665bfbc3344826e9112f':
  Support "fastboot reboot bootloader".
2015-02-25 18:47:07 +00:00
Elliott Hughes
a82f2b2590 Merge "Support "fastboot reboot bootloader"." 2015-02-25 18:43:04 +00:00
Dan Albert
186a38bc7b am d75d6c91: Merge "Fix the mac build."
* commit 'd75d6c91d24c071534ed36db85a1e72b33dc5a10':
  Fix the mac build.
2015-02-25 18:34:26 +00:00
Dan Albert
d75d6c91d2 Merge "Fix the mac build." 2015-02-25 18:27:41 +00:00
Dan Albert
dc0f8ecb24 Fix the mac build.
Change-Id: Ieb6f2650ce5f39f1d8c938d0ca8cbec459d8e2fd
2015-02-25 10:26:17 -08:00
Mark Salyzyn
f5579498d9 am 110166c1: Merge "liblog: introduce ANDROID_LOG_* flags"
* commit '110166c1dbcbe26e510ac3fdaf2e1fcc7efbcc4e':
  liblog: introduce ANDROID_LOG_* flags
2015-02-25 18:12:48 +00:00
Mark Salyzyn
110166c1db Merge "liblog: introduce ANDROID_LOG_* flags" 2015-02-25 18:07:02 +00:00
Elliott Hughes
ca85df0662 Support "fastboot reboot bootloader".
This matches the more general adb syntax, though the fastboot
protocol doesn't support rebooting into the recovery image.

Change-Id: I6d93d4c63d4a9b81c71e681e7a7bf76867fba019
2015-02-25 10:02:00 -08:00
Mark Salyzyn
2d3f38a6b8 liblog: introduce ANDROID_LOG_* flags
Move away from using POSIX open(2) flags and introduce ANDROID_LOG_* flags to
replace them. Add security by preventing random mode flags from getting into
underlying POSIX calls. ANDROID_LOG_* flags overlap POSIX O_* flag definitions.

Change-Id: Ib32bb64c287e8bf150be62242e1ba46bb37839fc
2015-02-25 17:44:18 +00:00
Dan Albert
16f3d361e1 am 72bf2a71: Merge "Move transport declarations into transport.h."
* commit '72bf2a710089b5fff42059d5946fe7bdd6b12480':
  Move transport declarations into transport.h.
2015-02-25 05:38:53 +00:00
Dan Albert
72bf2a7100 Merge "Move transport declarations into transport.h." 2015-02-25 05:33:35 +00:00
Dan Albert
7664901a35 Move transport declarations into transport.h.
There are a few cloexec issues in here as an added bonus.

Change-Id: I1699d719d733f47878bdba0454230cf5ab6a60b6
2015-02-24 21:30:22 -08:00
Dan Albert
01eed2187c am f5f9dd57: Merge "Add .clang-format file."
* commit 'f5f9dd572164d1b9cbd80b1b29cd8c42806ac715':
  Add .clang-format file.
2015-02-25 02:11:51 +00:00
Dan Albert
f5f9dd5721 Merge "Add .clang-format file." 2015-02-25 02:06:15 +00:00
Dan Albert
103c1be03f Add .clang-format file.
Not going to format the whole world just yet, but this helps for `git
clang-format`.

Change-Id: I482819419647e4c752d3b044bde8d637e1fae1e5
2015-02-24 16:56:39 -08:00
Dan Albert
290a6b33d7 am 5329d3fd: Merge "Add a project wide clang switch."
* commit '5329d3fd54fa875bb7de78a8c40134cc63921c64':
  Add a project wide clang switch.
2015-02-25 00:25:22 +00:00
Dan Albert
5329d3fd54 Merge "Add a project wide clang switch." 2015-02-25 00:20:39 +00:00
Elliott Hughes
47b0946bce am 70385f30: Merge "Remove the emulator special case from the "adb root" code."
* commit '70385f3017366ecf06af7a073a2fb955e93d01ba':
  Remove the emulator special case from the "adb root" code.
2015-02-25 00:00:39 +00:00
Dan Albert
9697ce520d Add a project wide clang switch.
I'll probably make this the default soon, but I'm not brave enough to
do that without checking the recovery image first.

Change-Id: I9cde687b08a588e3797645a308f381e4ec553447
2015-02-24 15:54:34 -08:00
Elliott Hughes
70385f3017 Merge "Remove the emulator special case from the "adb root" code." 2015-02-24 23:53:55 +00:00
Dan Albert
e780a43eed am 17f26790: Merge "Make Python tests only check the current device."
* commit '17f267905b6be932e1ff1559d84a5517e6b4b803':
  Make Python tests only check the current device.
2015-02-24 22:50:31 +00:00
Dan Albert
17f267905b Merge "Make Python tests only check the current device." 2015-02-24 22:45:08 +00:00
Dan Albert
b2e57b738f Make Python tests only check the current device.
In practice testing all connected devices is a pain, since it's
probably each device is running a different build. It would probably
make sense to just move this functionality up into a higher level test
runner (which could just live in main).

Also rename test_devices to test_shell, since it doesn't really test
`adb devices`.

Change-Id: Ie96d3e83b30acfac4e3bcbd9821690c0ad4d2f7e
2015-02-24 14:36:03 -08:00
Mark Salyzyn
cd9ea7ad30 am 5526a897: Merge "init: grab-bootchart.sh: run bootchart and display results"
* commit '5526a897d3cc2638eca713a76c2cf90aa8292e7a':
  init: grab-bootchart.sh: run bootchart and display results
2015-02-24 22:33:59 +00:00
Dan Albert
2c5044675b am d6e9a1f5: Merge "Fix Mac build."
* commit 'd6e9a1f5a357663ce4a42155829420b263996eb3':
  Fix Mac build.
2015-02-24 22:33:58 +00:00
Mark Salyzyn
5526a897d3 Merge "init: grab-bootchart.sh: run bootchart and display results" 2015-02-24 22:30:49 +00:00
Dan Albert
d6e9a1f5a3 Merge "Fix Mac build." 2015-02-24 22:28:54 +00:00
Dan Albert
fdf8722491 Fix Mac build.
Prior to https://android-review.googlesource.com/#/c/134253/ the
makefile had assumed !Windows was the same as Linux, so the Mac was
actually getting all the Linux sources as well. I mistakenly didn't
add fdevent.cpp to the Darwin sources in that change.

Change-Id: I4e12a394e9a2baf7c1e3c711a01a6b5fccbf79d9
2015-02-24 14:27:33 -08:00
Dan Albert
4868ec8cc2 am a63b7d59: Merge "Fix Windows SDK build."
* commit 'a63b7d595b9cb35b7493662daf8840835229c7fb':
  Fix Windows SDK build.
2015-02-24 22:15:12 +00:00
Elliott Hughes
abd6773b41 Remove the emulator special case from the "adb root" code.
The emulator is essential an "eng" build, so the regular properties
should suffice.

Change-Id: Id63b3918f9b0b04b0d887ed886535b9976a9cc85
2015-02-24 14:10:51 -08:00
Dan Albert
a63b7d595b Merge "Fix Windows SDK build." 2015-02-24 22:09:58 +00:00
Dan Albert
88cf1c8c4a Fix Windows SDK build.
Change-Id: I9c0f9c92c28867ff17f1ec83aac935d18348c335
2015-02-24 14:08:03 -08:00
Mark Salyzyn
d4e5c32af7 init: grab-bootchart.sh: run bootchart and display results
- KISS as all options are now passed to adb for better or worse
- runs bootchart and immediately displays the results

Bug: 19485335
Bug: 18390773
Change-Id: Id32930031371d0368e605810f0c998232a1d4f16
2015-02-24 13:56:43 -08:00
Elliott Hughes
aaa61ab91e am db3a5d98: Merge "Add missing <stdlib.h> to adb_listeners.c."
* commit 'db3a5d984eb962ec64988404a7ba0361e4af214c':
  Add missing <stdlib.h> to adb_listeners.c.
2015-02-24 20:42:36 +00:00
Elliott Hughes
db3a5d984e Merge "Add missing <stdlib.h> to adb_listeners.c." 2015-02-24 20:37:54 +00:00
Elliott Hughes
3b967f52f2 Add missing <stdlib.h> to adb_listeners.c.
Change-Id: If9505880a33131b27bfaa19f3efd45c83a6810ed
2015-02-24 12:37:13 -08:00
Dan Albert
a1e60d6822 am a75b4935: Merge "Move more into libadb and libadbd."
* commit 'a75b4935a4b667f0d37372db7559ecc6f8ee0b0d':
  Move more into libadb and libadbd.
2015-02-24 19:47:38 +00:00
Dan Albert
04cf174fbb am 9f3540d0: Merge "Oops. Fix make variable name. Thanks again, make."
* commit '9f3540d017f881768ec3a317d3149edd6a50fab9':
  Oops. Fix make variable name. Thanks again, make.
2015-02-24 19:47:37 +00:00
Dan Albert
4255cbd175 am 8ef39424: Merge "Ignore another stupid lint warning."
* commit '8ef39424e8ef58ea09addb4a1f3e7d1c45b30cb3':
  Ignore another stupid lint warning.
2015-02-24 19:47:35 +00:00
Dan Albert
a75b4935a4 Merge "Move more into libadb and libadbd." 2015-02-24 19:44:34 +00:00
Dan Albert
9f3540d017 Merge "Oops. Fix make variable name. Thanks again, make." 2015-02-24 19:44:12 +00:00
Dan Albert
8ef39424e8 Merge "Ignore another stupid lint warning." 2015-02-24 19:44:05 +00:00
Narayan Kamath
f9df4b13bc am c40cf1ce: Merge "Remove useless refCounting from FileMap."
* commit 'c40cf1ce9d6910685bf2242c1db390af00684d9d':
  Remove useless refCounting from FileMap.
2015-02-24 12:56:45 +00:00