Commit graph

16214 commits

Author SHA1 Message Date
Yasuhiro Matsuda
fdb80810a2 am ee640552: am 1ada513f: Merge "Fix perfboot.py to exit by Ctrl+C."
* commit 'ee6405527f11010e09a72c4eaf2c47bac170c49c':
  Fix perfboot.py to exit by Ctrl+C.
2015-08-05 02:41:02 +00:00
Yasuhiro Matsuda
ee6405527f am 1ada513f: Merge "Fix perfboot.py to exit by Ctrl+C."
* commit '1ada513f5042a13fff3fb64671d110defb6725fc':
  Fix perfboot.py to exit by Ctrl+C.
2015-08-05 02:32:43 +00:00
Yasuhiro Matsuda
1ada513f50 Merge "Fix perfboot.py to exit by Ctrl+C." 2015-08-05 02:26:27 +00:00
Yusuke Sato
056b97d509 am b57438c8: am e4154f46: Merge "perfboot.py: check 2 more event logs by default"
* commit 'b57438c848e377873aefd89f68afb7650a6043e9':
  perfboot.py: check 2 more event logs by default
2015-08-04 21:06:58 +00:00
Yusuke Sato
b57438c848 am e4154f46: Merge "perfboot.py: check 2 more event logs by default"
* commit 'e4154f46d38f58bdc01a2bdb6923d0f7ba098426':
  perfboot.py: check 2 more event logs by default
2015-08-04 20:55:20 +00:00
Yusuke Sato
e4154f46d3 Merge "perfboot.py: check 2 more event logs by default" 2015-08-04 20:42:58 +00:00
Yusuke Sato
43c4d998cf perfboot.py: check 2 more event logs by default
'sf_stop_bootanim' is useful for tracking the time wasted by
showing the 'outro' part of the boot animation.

'wm_boot_animation_done' is also useful for tracking user
perceived boot time.

(cherry-pick of cbcf2778c3)

Bug: 22207911
Change-Id: I3549338a2161fa29675993c239f57809270797f8
2015-08-04 12:06:36 -07:00
Yasuhiro Matsuda
59d32a7515 Fix perfboot.py to exit by Ctrl+C.
BUG: 22207911
Change-Id: I0cc41f834207efd2965483c8636bbc709e54358f
2015-08-04 17:48:41 +09:00
Daniel Rosenberg
764b7f561b am e20a4194: am 516d30d5: Merge "rootdir: Create symlinks in Android.mk"
* commit 'e20a4194b8faacc542aee519a62a01954376be60':
  rootdir: Create symlinks in Android.mk
2015-08-04 01:13:15 +00:00
Elliott Hughes
b5c4bc3833 am f7af90c9: am 3cf2a8e0: Merge "Fix a comment typo."
* commit 'f7af90c9df6e863c15b39da811f194435aa5da94':
  Fix a comment typo.
2015-08-04 01:07:09 +00:00
Elliott Hughes
7ace565f6b am 1da90f0c: am feacf20d: Merge "adb: win32: file descriptor reliability improvements"
* commit '1da90f0c14d315b10d8cc8cd2cfaacd794758ec3':
  adb: win32: file descriptor reliability improvements
2015-08-04 01:07:08 +00:00
Daniel Rosenberg
88f82b6650 am 39087653: am 13d62278: Merge "Skip mounting /, just mark block device as ro if needed."
* commit '390876539ec12115268710762d86d8c4c5738c25':
  Skip mounting /, just mark block device as ro if needed.
2015-08-04 01:07:07 +00:00
Daniel Rosenberg
e20a4194b8 am 516d30d5: Merge "rootdir: Create symlinks in Android.mk"
* commit '516d30d5029c101ef32b600d3143513d3ce16933':
  rootdir: Create symlinks in Android.mk
2015-08-04 01:06:03 +00:00
Daniel Rosenberg
516d30d502 Merge "rootdir: Create symlinks in Android.mk" 2015-08-04 01:00:48 +00:00
Elliott Hughes
f7af90c9df am 3cf2a8e0: Merge "Fix a comment typo."
* commit '3cf2a8e0ee7dbf504763cc446d5cf1ee451158fc':
  Fix a comment typo.
2015-08-04 00:58:39 +00:00
Elliott Hughes
1da90f0c14 am feacf20d: Merge "adb: win32: file descriptor reliability improvements"
* commit 'feacf20d1eb797c0edfc3c7a487fd93c63e8fd4a':
  adb: win32: file descriptor reliability improvements
2015-08-04 00:58:37 +00:00
Daniel Rosenberg
390876539e am 13d62278: Merge "Skip mounting /, just mark block device as ro if needed."
* commit '13d62278f4ecbd5ea29b7f3e0d43b9ced7aae439':
  Skip mounting /, just mark block device as ro if needed.
2015-08-04 00:58:36 +00:00
Elliott Hughes
3cf2a8e0ee Merge "Fix a comment typo." 2015-08-04 00:51:38 +00:00
Daniel Rosenberg
595003a3d0 rootdir: Create symlinks in Android.mk
system.img may contain the root directory as well. In that case, we
need to create some symlinks init.rc would during the build.

Change-Id: I4e7726f38c0f9cd9846c761fad1446738edb52c0
2015-08-04 00:51:19 +00:00
Elliott Hughes
feacf20d1e Merge "adb: win32: file descriptor reliability improvements" 2015-08-04 00:50:43 +00:00
Daniel Rosenberg
13d62278f4 Merge "Skip mounting /, just mark block device as ro if needed." 2015-08-04 00:50:40 +00:00
Daniel Rosenberg
31a4fafc15 Skip mounting /, just mark block device as ro if needed.
Change-Id: I7fbb636d296abc1caab6c7bf88017684c9df7759
2015-08-04 00:47:04 +00:00
Yusuke Sato
9358ae91c9 am 69386e33: am 81fd50c3: Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags"
* commit '69386e33b67eaee721b4e8d7bddbd4263302ff77':
  perfboot.py: ignore tags not listed in /system/etc/event-log-tags
2015-08-04 00:28:56 +00:00
Yusuke Sato
69386e33b6 am 81fd50c3: Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags"
* commit '81fd50c3974f3fca37d4119477e11dc3f40b7172':
  perfboot.py: ignore tags not listed in /system/etc/event-log-tags
2015-08-04 00:13:07 +00:00
Yusuke Sato
81fd50c397 Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags" 2015-08-04 00:08:24 +00:00
Elliott Hughes
bfa7c7d9e2 Fix a comment typo.
Change-Id: Ifacb19b9c31ac81fbf02c8382eb0324ea79075b9
2015-08-03 16:26:13 -07:00
Yusuke Sato
e801cc0b4e perfboot.py: ignore tags not listed in /system/etc/event-log-tags
This is a follow-up CL for http://ag/739815/.

Bug: 22207911
Change-Id: Ie5f529abc4b18454cea8a75a1438a5ea65dd90ab
2015-08-03 15:56:53 -07:00
Elliott Hughes
fb1dbac143 am eee501ec: am 6b940e13: Merge "adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc"
* commit 'eee501ece6d3d0add9f67ce2c71cef6620cf6bf5':
  adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc
2015-08-03 21:37:39 +00:00
Elliott Hughes
eee501ece6 am 6b940e13: Merge "adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc"
* commit '6b940e1349da720bdba4c5eeb9741e5fffe30913':
  adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc
2015-08-03 21:28:15 +00:00
Elliott Hughes
b7c0bfbc5e am 14c08745: am 6355f2c1: Merge "adb: win32: call SystemErrorCodeToString() from more places"
* commit '14c08745ac3ff46330b545354664ffd3c8f60844':
  adb: win32: call SystemErrorCodeToString() from more places
2015-08-03 21:17:27 +00:00
Elliott Hughes
e043761c7a am c783e1a3: am 0fac7fd1: Merge "Leave the evidence lying around if an adb test fails."
* commit 'c783e1a3f35675169b5ca85d3dc0f6a8c22ce901':
  Leave the evidence lying around if an adb test fails.
2015-08-03 21:17:26 +00:00
Elliott Hughes
6b940e1349 Merge "adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc" 2015-08-03 21:16:26 +00:00
Elliott Hughes
14c08745ac am 6355f2c1: Merge "adb: win32: call SystemErrorCodeToString() from more places"
* commit '6355f2c1400b531fb71a46351a0c26e666af2e88':
  adb: win32: call SystemErrorCodeToString() from more places
2015-08-03 21:09:43 +00:00
Elliott Hughes
c783e1a3f3 am 0fac7fd1: Merge "Leave the evidence lying around if an adb test fails."
* commit '0fac7fd15266f5d9ae0eddc76313d4383e31dfac':
  Leave the evidence lying around if an adb test fails.
2015-08-03 21:09:41 +00:00
Elliott Hughes
6355f2c140 Merge "adb: win32: call SystemErrorCodeToString() from more places" 2015-08-03 21:04:01 +00:00
Elliott Hughes
0fac7fd152 Merge "Leave the evidence lying around if an adb test fails." 2015-08-03 21:03:35 +00:00
Elliott Hughes
3841a9f7cb Leave the evidence lying around if an adb test fails.
Not seeing the full output from the failed adb command is probably
the biggest issue when debugging a test failure, but this doesn't
help either.

Change-Id: Ic42cbced8be252185a799b27c210a744188a4201
2015-08-03 13:58:49 -07:00
Yusuke Sato
48f2879729 am 5e34b3ab: am 72488aa0: Merge "perfboot.py: warn if dm-verity is disabled"
* commit '5e34b3abdb3cbc167fa86dab7a746c94f2bd4c6f':
  perfboot.py: warn if dm-verity is disabled
2015-08-03 20:42:04 +00:00
Elliott Hughes
8f13dc4226 am 6eb9aa62: am 6bf93400: Merge "adb: fix mkdirs / adb pull with relative paths, fix win32 issues"
* commit '6eb9aa62d3b112f004d39906d6994f37eabd95a3':
  adb: fix mkdirs / adb pull with relative paths, fix win32 issues
2015-08-03 20:42:03 +00:00
Yusuke Sato
5e34b3abdb am 72488aa0: Merge "perfboot.py: warn if dm-verity is disabled"
* commit '72488aa0fe060d9bb56c23e585e5aad55288c5ea':
  perfboot.py: warn if dm-verity is disabled
2015-08-03 20:35:02 +00:00
Elliott Hughes
6eb9aa62d3 am 6bf93400: Merge "adb: fix mkdirs / adb pull with relative paths, fix win32 issues"
* commit '6bf93400f344f4d438e3bc6f1bf3d6a7704ea2b5':
  adb: fix mkdirs / adb pull with relative paths, fix win32 issues
2015-08-03 20:35:00 +00:00
Yusuke Sato
72488aa0fe Merge "perfboot.py: warn if dm-verity is disabled" 2015-08-03 20:26:47 +00:00
Elliott Hughes
6bf93400f3 Merge "adb: fix mkdirs / adb pull with relative paths, fix win32 issues" 2015-08-03 20:25:41 +00:00
Spencer Low
22191c30a6 adb: fix mkdirs / adb pull with relative paths, fix win32 issues
Relative paths were being prefixed with OS_PATH_SEPARATOR on unix and
win32 causing adb to incorrectly try to make directories at the root.
Plus, absolute paths didn't work on win32 (C: got prefixed into \C:).

This fix is to use dirname (available on win32 via mingw's crt) to do
the messy parsing.

I added a test for the relative path case.

Change-Id: Ibb0a4a8ec7756351d252a4d267122ab18e182858
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-08-03 13:24:18 -07:00
Elliott Hughes
bc3c21b93f am c3766916: am 8c61e029: Merge "adb_test/libbase_test: win32: get some tests working"
* commit 'c376691617623c26fe7eb14184f874214e2d2173':
  adb_test/libbase_test: win32: get some tests working
2015-08-03 20:01:10 +00:00
Elliott Hughes
c376691617 am 8c61e029: Merge "adb_test/libbase_test: win32: get some tests working"
* commit '8c61e0297c95a61bd3891704e7530ca1436a6421':
  adb_test/libbase_test: win32: get some tests working
2015-08-03 19:53:14 +00:00
Elliott Hughes
8c61e0297c Merge "adb_test/libbase_test: win32: get some tests working" 2015-08-03 19:45:08 +00:00
Spencer Low
cf168a82e9 adb_test/libbase_test: win32: get some tests working
adb_test:

* Fix adb_utils directory_exists test for Windows. The test actually
fails because directory_exists() is not aware of junctions or symlinks,
but I'm not really sure if that is a bad thing (since these are rare on
Windows to begin with).

* Fix crash during transport tests due to mutex not being initialized.

* io tests fail for various reasons (see adb_io_test.cpp for more info).

libbase_test:

* Get it building on Win32 by implementing mkstemp() and mkdtemp().

* Run StringPrintf %z test on Windows because it passes because we build
with __USE_MINGW_ANSI_STDIO which implements %z.

* I didn't fixup the logging tests: some logging tests fail because when
abort() is called on Windows, by default it pops up UI asking whether a
crash dump should be sent to Microsoft. To some degree this makes sense,
as I think LOG(FATAL) does crash dumping in Chromium. This should be
revisited in the future.

Change-Id: Iaa2433e5294ff162e0b2aa9fe6e4ec09a6893f7a
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-08-03 12:44:43 -07:00
Yusuke Sato
b6c66dc0a3 perfboot.py: warn if dm-verity is disabled
Disabling the feature sometimes skews benchmark results.

Bug: 22207911
Change-Id: Idedc7eb14e3cc4e8687b0c0e2975f10a3c4154e5
2015-08-03 11:36:21 -07:00
Elliott Hughes
a121a81f5c am 07522aae: am bb3b45d2: Merge "libbase_test: win32: get some tests working"
* commit '07522aae91efb55a658c8514162e1343fd28499b':
  libbase_test: win32: get some tests working
2015-08-03 18:11:17 +00:00