Commit graph

24562 commits

Author SHA1 Message Date
Felipe Leme
fb2df9be53 Removed extra \\'pulling file\\' message. am: f7c38b4c03
am: c25802879d

Change-Id: I4f6fd72916a55ce13fdd042cd59a52510a14d9ce
2016-07-28 20:56:46 +00:00
Felipe Leme
c25802879d Removed extra \'pulling file\' message.
am: f7c38b4c03

Change-Id: Ibd39af1d984e43cca033c62a6e18ad31eca4efa4
2016-07-28 20:54:26 +00:00
James Hawkins
01da3bb250 Merge \\\"bootstat: Fix a potential unhandled exception for malformed input.\\\" am: eafeb75c49 am: c45ec807ff
am: c019082c26

Change-Id: I64c86a32ce28af460d875b96730b6705c6d603e3
2016-07-28 20:39:42 +00:00
James Hawkins
c019082c26 Merge \\"bootstat: Fix a potential unhandled exception for malformed input.\\" am: eafeb75c49
am: c45ec807ff

Change-Id: Ia6a7ff7a57f0c6e6a012f704198b9b0128e67144
2016-07-28 20:36:12 +00:00
James Hawkins
c45ec807ff Merge \"bootstat: Fix a potential unhandled exception for malformed input.\"
am: eafeb75c49

Change-Id: I1c31ad7d10813e6b833d002e6595394827db3db6
2016-07-28 20:33:15 +00:00
Treehugger Robot
eafeb75c49 Merge "bootstat: Fix a potential unhandled exception for malformed input." 2016-07-28 20:22:22 +00:00
Felipe Leme
f7c38b4c03 Removed extra 'pulling file' message.
Taking a zip bugreport has 2 phases: generating the bugreport and
pulling the file.

Initially adb was printing 2 messages, but since the latter is almost
instantaneously, it could be confusing to have 2 lines...

Fixes: 30451250
Change-Id: I1c6cc6163492c1fb6064667dfdb7aaf6ed4c4c6f
2016-07-28 12:13:57 -07:00
James Hawkins
4dded613b3 bootstat: Fix a potential unhandled exception for malformed input.
In rare cases the hardware storage on the device may be hosed and return
garbage.  Use ParseInt which handles bad input instead of stoi.

BUG: 29334139
Change-Id: I91aedc169df110bea8097775f73dda11def22311
2016-07-28 11:59:22 -07:00
Chih-Hung Hsieh
3afa5a9afa Merge \\\"Fix clang-tidy performance warnings in fs_mgr.\\\" am: 44c909d467 am: be25035ddb
am: aa0628ec50

Change-Id: I28c0f3cf75c1e225b3d24b77934d055dd9edf854
2016-07-28 17:24:29 +00:00
Chih-Hung Hsieh
68334cc9ec Merge \\\"Fix clang-tidy performance warnings in metricsd/uploader.\\\" am: 5670005058 am: a5a6ab727f
am: 86aeb5ffc1

Change-Id: Idb9754a4b30b613fd02bc37adf2d9973b419b5e9
2016-07-28 17:24:29 +00:00
Chih-hung Hsieh
aa0628ec50 Merge \\"Fix clang-tidy performance warnings in fs_mgr.\\" am: 44c909d467
am: be25035ddb

Change-Id: I28d4715c53f0320ebe6052f7ee269082b04a8da2
2016-07-28 17:21:00 +00:00
Chih-Hung Hsieh
86aeb5ffc1 Merge \\"Fix clang-tidy performance warnings in metricsd/uploader.\\" am: 5670005058
am: a5a6ab727f

Change-Id: I0cae77b1a560ff1b8ea14c76a39e2baf02c9f2f3
2016-07-28 17:20:59 +00:00
Chih-Hung Hsieh
be25035ddb Merge \"Fix clang-tidy performance warnings in fs_mgr.\"
am: 44c909d467

Change-Id: Iff90e929bfb2cf1335e5764b99454601eb6316ef
2016-07-28 17:18:36 +00:00
Chih-Hung Hsieh
a5a6ab727f Merge \"Fix clang-tidy performance warnings in metricsd/uploader.\"
am: 5670005058

Change-Id: Ie1436d7ac4c4699fc1b7703785f82021f2b0123a
2016-07-28 17:18:34 +00:00
Chih-hung Hsieh
44c909d467 Merge "Fix clang-tidy performance warnings in fs_mgr." 2016-07-28 17:13:54 +00:00
Treehugger Robot
5670005058 Merge "Fix clang-tidy performance warnings in metricsd/uploader." 2016-07-28 17:12:46 +00:00
Colin Cross
bd97153b65 Merge \\\"libnativeloader: convert Android.mk to Android.bp\\\" am: 5783dea065 am: 627112a87e
am: 3032c5ccbe

Change-Id: I6e0a190a24be3d7923607b9769dd1938b887f6a5
2016-07-28 10:59:37 +00:00
Colin Cross
3032c5ccbe Merge \\"libnativeloader: convert Android.mk to Android.bp\\" am: 5783dea065
am: 627112a87e

Change-Id: Iae7595fa0e62e57926bf841bef872e381f26894f
2016-07-28 10:56:37 +00:00
Colin Cross
627112a87e Merge \"libnativeloader: convert Android.mk to Android.bp\"
am: 5783dea065

Change-Id: I347c0822bbfcc351a36154391c4cd1bcaa3fc7c2
2016-07-28 10:53:40 +00:00
Treehugger Robot
5783dea065 Merge "libnativeloader: convert Android.mk to Android.bp" 2016-07-28 10:46:42 +00:00
Chih-Hung Hsieh
eab4bde50e Merge \\\"Fix clang-tidy performance warnings in healthd.\\\" am: b66b16b39a am: 119d41c18e
am: c15b1f9ca0

Change-Id: Iba64d6947e047324c306f5a9f03a8cbb701bf384
2016-07-28 06:30:18 +00:00
Chih-Hung Hsieh
b3e6bca57b Merge \\\"Suppress clang-tidy performance warnings in libmemunreachable.\\\" am: 95b0495534 am: b29e58eccf
am: 79a1e851fd

Change-Id: I3fc968cd755fc4d65918913d4a639fce0c10251a
2016-07-28 06:30:18 +00:00
Chih-Hung Hsieh
02daf7749b Merge \\\"Fix clang-tidy performance warnings in crash_reporter.\\\" am: 5dd9dc5859 am: 320f634361
am: e984462750

Change-Id: Ic073444a03e614deea3cb5831dd66f1c248fe3b2
2016-07-28 06:30:17 +00:00
Chih-Hung Hsieh
c15b1f9ca0 Merge \\"Fix clang-tidy performance warnings in healthd.\\" am: b66b16b39a
am: 119d41c18e

Change-Id: I1da885d1b942c7680dc5131768f7b7bcff31c9f1
2016-07-28 06:27:29 +00:00
Chih-Hung Hsieh
79a1e851fd Merge \\"Suppress clang-tidy performance warnings in libmemunreachable.\\" am: 95b0495534
am: b29e58eccf

Change-Id: I0ca8bbceac7c524c61982904fd306a63e60ad477
2016-07-28 06:27:29 +00:00
Chih-Hung Hsieh
e984462750 Merge \\"Fix clang-tidy performance warnings in crash_reporter.\\" am: 5dd9dc5859
am: 320f634361

Change-Id: I1e9a8403b096852effbed6f6cafab0a61e0311fb
2016-07-28 06:27:28 +00:00
Chih-Hung Hsieh
119d41c18e Merge \"Fix clang-tidy performance warnings in healthd.\"
am: b66b16b39a

Change-Id: I1263c6557128d71dd4208d6a4d6974572d8362a3
2016-07-28 06:24:24 +00:00
Chih-Hung Hsieh
b29e58eccf Merge \"Suppress clang-tidy performance warnings in libmemunreachable.\"
am: 95b0495534

Change-Id: I551f7b656b9f92332137509c0dda548a9722f68d
2016-07-28 06:24:23 +00:00
Chih-Hung Hsieh
320f634361 Merge \"Fix clang-tidy performance warnings in crash_reporter.\"
am: 5dd9dc5859

Change-Id: Ibc5b64b14e021925187c33ad048f332438309414
2016-07-28 06:24:21 +00:00
Treehugger Robot
b66b16b39a Merge "Fix clang-tidy performance warnings in healthd." 2016-07-28 01:04:51 +00:00
Treehugger Robot
95b0495534 Merge "Suppress clang-tidy performance warnings in libmemunreachable." 2016-07-28 01:04:21 +00:00
Treehugger Robot
5dd9dc5859 Merge "Fix clang-tidy performance warnings in crash_reporter." 2016-07-28 00:53:11 +00:00
Chih-Hung Hsieh
f10383c1be Fix clang-tidy performance warnings in crash_reporter.
* Use faster overloaded string find function.

Bug: 30411878
Change-Id: I1bbb382428424140b61062ba729fcc229126c164
Test: build with WITH_TIDY=1
2016-07-27 16:18:05 -07:00
Chih-Hung Hsieh
73da05d354 Fix clang-tidy performance warnings in fs_mgr.
* Use const reference type for for-loop index variables
  to avoid unnecessary copy.

Bug: 30413223
Change-Id: I5514384ef3af77c00aa3e8417acd8d70981e0afb
Test: build with WITH_TIDY=1
2016-07-27 16:12:54 -07:00
Chih-Hung Hsieh
4df105635b Fix clang-tidy performance warnings in healthd.
* Use const reference type for parameters to avoid unnecessary copy.

Bug: 30407689
Change-Id: I926ea7b6e9e020a228c812b7e23087a2b7ed9809
Test: build with WITH_TIDY=1
2016-07-27 16:05:50 -07:00
Chih-Hung Hsieh
223bb4e21d Suppress clang-tidy performance warnings in libmemunreachable.
Bug: 30413862
Change-Id: If3ed64d2e1ca1f46599de9fe97c769f468ee1a68
Test: build with WITH_TIDY=1
2016-07-27 16:01:41 -07:00
Chih-Hung Hsieh
d506e782b8 Fix clang-tidy performance warnings in metricsd/uploader.
* Use const reference type for parameters to avoid unnecessary copy.

Bug: 30407689
Change-Id: I5e6bfd1cd3bcf54666316573281b79573cd8a780
Test: build with WITH_TIDY=1
2016-07-27 15:57:24 -07:00
Felipe Leme
c3519d1d99 Show bugreport progress.
am: cd42d658b2

Change-Id: Ia413cfcb9cf2cfb55c606ce92492027cc5191988
2016-07-27 21:33:14 +00:00
Felipe Leme
8123240126 Refactored functions that copy sdout and stderr to strings to use a callback.
am: 07ac8554b4

Change-Id: Ia98cd1f03e6d5fdf88297211f263835243790068
2016-07-27 21:33:09 +00:00
Felipe Leme
5c01124f37 Split bugreport() into its own file and added unit tests.
am: 78e0963e4b

Change-Id: I0ae6ba38b62f714895e8d9abb5b36c5d8a82c6f2
2016-07-27 21:33:08 +00:00
Colin Cross
d4ce20aa84 libnativeloader: convert Android.mk to Android.bp
Change-Id: I94d7cde3138f28bbd158d62b657af8448b4175fd
2016-07-27 10:36:36 -07:00
Elliott Hughes
a9f814239b Merge \\\"Fix early init logging.\\\" am: 6d232ab4de am: 1cbd1f5016
am: 7e336c8fe5

Change-Id: Id22974510c241cc8b62c3737de36c1e5941420e3
2016-07-27 15:36:13 +00:00
Elliott Hughes
7e336c8fe5 Merge \\"Fix early init logging.\\" am: 6d232ab4de
am: 1cbd1f5016

Change-Id: I33854b5ac99f09f215504a1d94dfdb42fa405512
2016-07-27 15:33:42 +00:00
Elliott Hughes
1cbd1f5016 Merge \"Fix early init logging.\"
am: 6d232ab4de

Change-Id: I437dd3b5243ca7854439c438093e94733579279e
2016-07-27 15:30:45 +00:00
Treehugger Robot
6d232ab4de Merge "Fix early init logging." 2016-07-27 15:28:18 +00:00
Jorge Lucangeli Obes
0ed2a0871e Fix one last use of TRACE().
am: 80f170a3c6

Change-Id: If35e8f48c41d4cbb467c8b34559d6ebde6199845
2016-07-27 03:11:33 +00:00
Jorge Lucangeli Obes
80f170a3c6 Fix one last use of TRACE().
Bug: 30222003
Change-Id: I3d0a29cb92e83416eb6851b54cb72886da4f7cf2
(cherry picked from commit a65f3e1a1f)
2016-07-27 02:16:16 +00:00
Jorge Lucangeli Obes
265124296c Merge \\\"Fix sdcard logging.\\\" am: 47b077a44f am: 60b896c438
am: 70ac9062c4

Change-Id: I9338e3fc03df0524870006acc9dbabe8684aeda7
2016-07-27 01:38:20 +00:00
Jorge Lucangeli Obes
70ac9062c4 Merge \\"Fix sdcard logging.\\" am: 47b077a44f
am: 60b896c438

Change-Id: Ib22a4d84395378196ca191b36e3a17897360708d
2016-07-27 01:35:09 +00:00
Jorge Lucangeli Obes
60b896c438 Merge \"Fix sdcard logging.\"
am: 47b077a44f

Change-Id: Ib0a0b5083d09d60bd0ee42bebcecced05b3645e5
2016-07-27 01:31:20 +00:00