Commit Graph

21217 Commits

Author SHA1 Message Date
Mark Salyzyn 749e9f63f2 Merge "liblog: fix android_log_printLogLine empty event string" am: 6197e5e611
am: d275bf80d7

* commit 'd275bf80d7628b7e6de3ff5f8b931e14cb26c776':
  liblog: fix android_log_printLogLine empty event string
2016-01-21 00:13:19 +00:00
Mark Salyzyn d275bf80d7 Merge "liblog: fix android_log_printLogLine empty event string"
am: 6197e5e611

* commit '6197e5e6111f784dc3c4be7cf9bf39a1d5ecc9c7':
  liblog: fix android_log_printLogLine empty event string
2016-01-21 00:11:01 +00:00
Josh Gao 870c10cd4f Merge "adbd: use pty to determine whether a session is interactive." am: 7e923fb3c5
am: 43568a558d

* commit '43568a558d8ce9a27d47e7be1d840440ba8e7649':
  adbd: use pty to determine whether a session is interactive.
2016-01-21 00:04:34 +00:00
Mark Salyzyn 6197e5e611 Merge "liblog: fix android_log_printLogLine empty event string" 2016-01-20 23:59:12 +00:00
Josh Gao 43568a558d Merge "adbd: use pty to determine whether a session is interactive."
am: 7e923fb3c5

* commit '7e923fb3c5ad5c32978e7bd4dc509501b0d05d72':
  adbd: use pty to determine whether a session is interactive.
2016-01-20 23:53:42 +00:00
James Hawkins 8eef28f2f1 Merge "bootstat: Followup cleanups from the initial bootstat checkin." am: 17bcba1631
am: aae8b5536e

* commit 'aae8b5536ec7db764e965e0976e3c93c29b8e8f5':
  bootstat: Followup cleanups from the initial bootstat checkin.
2016-01-20 23:50:03 +00:00
Alex Vakulenko 45a3341099 Merge "crash_reporter/metricsd: Update libchrome APIs to r369476" am: 4ef51c348e
am: 9e3bb0b833

* commit '9e3bb0b83311ff0de1fe84569578090e50dcc890':
  crash_reporter/metricsd: Update libchrome APIs to r369476
2016-01-20 23:49:52 +00:00
Alex Vakulenko 371b822e7a libmetrics: Update BASE_VERS to 369476
This is needed to uprev everything on ChromeOS side

Change-Id: I070e374dd4abe92884b88231ba60c82b69c72806
2016-01-20 15:49:35 -08:00
Josh Gao 7e923fb3c5 Merge "adbd: use pty to determine whether a session is interactive." 2016-01-20 23:37:02 +00:00
James Hawkins aae8b5536e Merge "bootstat: Followup cleanups from the initial bootstat checkin."
am: 17bcba1631

* commit '17bcba163188ae6f7c07b8c56770567740620046':
  bootstat: Followup cleanups from the initial bootstat checkin.
2016-01-20 23:35:59 +00:00
Alex Vakulenko 9e3bb0b833 Merge "crash_reporter/metricsd: Update libchrome APIs to r369476"
am: 4ef51c348e

* commit '4ef51c348eca043845bcf491f26a30f8ac2d8267':
  crash_reporter/metricsd: Update libchrome APIs to r369476
2016-01-20 23:35:52 +00:00
Josh Gao b5028e46b0 adbd: use pty to determine whether a session is interactive.
Bug: http://b/26236990
Change-Id: I8baa4009a2fbe9a4c93f6ef5350ce61161b7237d
2016-01-20 15:32:56 -08:00
James Hawkins 17bcba1631 Merge "bootstat: Followup cleanups from the initial bootstat checkin." 2016-01-20 22:59:44 +00:00
Alex Vakulenko 4ef51c348e Merge "crash_reporter/metricsd: Update libchrome APIs to r369476" 2016-01-20 22:43:45 +00:00
Steve Fung 78fcf66c17 crash_reporter: Fix unit tests to use ScopedTempDir
Some of the unit tests manually create their own temp
directories from a relative path.  This creates a temp folder
in the folder that the test is run from.  This is a problem
when using test_droid or a non-interactive ADB shell command,
since the root directory is not writable.  Instead use a
ScopedTempDir to handle temporary folders.

Bug: 26671657
Change-Id: Iaf71d345565dcb4393e80426784a864f7f8b5929
Test: Unit tests pass when running brillo_WhitelistedGtests
2016-01-20 14:23:13 -08:00
Mark Salyzyn 7cc8013e37 liblog: fix android_log_printLogLine empty event string
Allow _one_ empty line to get through before evaluating
further. Add __android_log_bswrite testing for content
and contentless cases; checking for propagation and for
expected printing. As for printing which is fixed here,
security variants cover the same code paths as the events.

Bug: 26646213
Change-Id: I484718aa604e0a00afde4c34a00e87468ea93aa5
2016-01-20 14:15:19 -08:00
Alex Vakulenko ea05ff9229 crash_reporter/metricsd: Update libchrome APIs to r369476
The new libchrome has been ported from Chromium and some APIs have
changed. Make necessary changes at call sites.

Change-Id: I9e45975cdef43913270b82e3fca2c027e614a464
2016-01-20 13:43:30 -08:00
James Hawkins 6d0d12a9d8 bootstat: Followup cleanups from the initial bootstat checkin.
* Clarify the README.md that the logs data may be utilized by anyone.
* Fix a whitespace issue.

Bug: 21724738
Change-Id: Id472485f505afb14588ccd645844a3f4a728abc2
2016-01-20 13:17:02 -08:00
Josh Gao 6176298929 Merge "adbd: don\'t leave zombies when subprocess creation fails." am: fb494eb40d
am: da0678946c

* commit 'da0678946c771f0cae418f866cbb9d2f0b2a4276':
  adbd: don't leave zombies when subprocess creation fails.
2016-01-20 20:54:13 +00:00
Josh Gao da0678946c Merge "adbd: don\'t leave zombies when subprocess creation fails."
am: fb494eb40d

* commit 'fb494eb40da4361b27c838480c7d7dcb86871331':
  adbd: don't leave zombies when subprocess creation fails.
2016-01-20 20:50:50 +00:00
Josh Gao fb494eb40d Merge "adbd: don't leave zombies when subprocess creation fails." 2016-01-20 20:44:40 +00:00
Josh Gao c65fae9ef5 adbd: don't leave zombies when subprocess creation fails.
Bug: http://b/26660675
Change-Id: I8e65d51af73f409c30be47575f76bc6b0f227c54
2016-01-20 11:40:31 -08:00
Paul Crowley 558d8f4364 Remove no-longer-needed crypto init builtins
Changes to the way FBE works to support lifecycles mean that these
commands aren't needed any more.

Bug: 22358539
Change-Id: Id73339e0aa8070dd688f35b5d59de75236961395
2016-01-20 11:20:23 +00:00
Steve Fung 333fc5c19d crash_reporter: Add unit tests to debug builds
Add crash_reporter_tests to debug builds, so that they can be
run by test_droid.

Bug: 26663796
Change-Id: Iddaa14ab55474875a45b0e8482bac310fbe8cff2
Test: /data/nativetest/crash_reporter_tests exists on eng build
2016-01-20 01:15:20 -08:00
Calin Juravle 7043542495 Merge "nativebrige: log code_cache access errors to stderr as well" am: 312532252a
am: 5828fe2f95

* commit '5828fe2f956aba75be6bb670385478497b4476fa':
  nativebrige: log code_cache access errors to stderr as well
2016-01-20 02:38:29 +00:00
Calin Juravle 5828fe2f95 Merge "nativebrige: log code_cache access errors to stderr as well"
am: 312532252a

* commit '312532252afeb7a488b9de98259e1fd038aa42b2':
  nativebrige: log code_cache access errors to stderr as well
2016-01-20 02:36:08 +00:00
Calin Juravle 312532252a Merge "nativebrige: log code_cache access errors to stderr as well" 2016-01-20 02:31:47 +00:00
Bertrand Simonnet edc273af0f Merge "metricsd: Add tests to the default debug build." am: 7fbe8b9285
am: 3a6ccb35dc

* commit '3a6ccb35dc7d2bcadd9c5f7ed88c4e07e6a42242':
  metricsd: Add tests to the default debug build.
2016-01-20 02:31:33 +00:00
Bertrand Simonnet 3a6ccb35dc Merge "metricsd: Add tests to the default debug build."
am: 7fbe8b9285

* commit '7fbe8b9285904513650af83711fd9c3562642de5':
  metricsd: Add tests to the default debug build.
2016-01-20 02:29:35 +00:00
Bertrand Simonnet 7fbe8b9285 Merge "metricsd: Add tests to the default debug build." 2016-01-20 02:18:33 +00:00
Bertrand SIMONNET 30c174b7f9 metricsd: Add tests to the default debug build.
This will allow the tests to be run by the continuous builder.

Bug: 26571398
Change-Id: I7eae2761603e83e3d1f003cb3b06582abc4ed24f
Test: Build an eng build. The tests are installed.
2016-01-19 17:58:40 -08:00
Elliott Hughes 19cd398e28 Merge "bootstat: Fix the base includes to be AOSP-friendly." am: d320cbf5ba
am: fe37b0da22

* commit 'fe37b0da22097f52ac50067a146786cb381da0ba':
  bootstat: Fix the base includes to be AOSP-friendly.
2016-01-20 01:41:27 +00:00
Elliott Hughes fe37b0da22 Merge "bootstat: Fix the base includes to be AOSP-friendly."
am: d320cbf5ba

* commit 'd320cbf5ba1b4490700f2ff89af29f28a2e326e3':
  bootstat: Fix the base includes to be AOSP-friendly.
2016-01-20 01:38:44 +00:00
Bertrand Simonnet 26078f3a5f Merge "metricsd: Persist metrics on shutdown." am: 195bbc718b
am: 4101ba7bbc

* commit '4101ba7bbc2989d95d0361c341a268b54e6eac23':
  metricsd: Persist metrics on shutdown.
2016-01-20 01:37:07 +00:00
Mark Salyzyn dcaa0ed94b Merge "logd: prune maintain per-id watermark (part deux)" am: 390100305b
am: 0252f43322

* commit '0252f43322b2997f609fc698e281dbbb2a43404f':
  logd: prune maintain per-id watermark (part deux)
2016-01-20 01:37:01 +00:00
Elliott Hughes d320cbf5ba Merge "bootstat: Fix the base includes to be AOSP-friendly." 2016-01-20 01:29:12 +00:00
James Hawkins eabe08b55e bootstat: Fix the base includes to be AOSP-friendly.
Change-Id: I625cc55b41f5258addf3bb74bcef42063c565465
Bug: 21724738
2016-01-20 01:28:48 +00:00
Bertrand Simonnet 4101ba7bbc Merge "metricsd: Persist metrics on shutdown."
am: 195bbc718b

* commit '195bbc718be30c025a512ad6e1f7eae866ae67cd':
  metricsd: Persist metrics on shutdown.
2016-01-20 01:26:09 +00:00
Mark Salyzyn 0252f43322 Merge "logd: prune maintain per-id watermark (part deux)"
am: 390100305b

* commit '390100305b032d0d6bd42a1797c01b35c714d13f':
  logd: prune maintain per-id watermark (part deux)
2016-01-20 01:26:03 +00:00
Bertrand Simonnet 195bbc718b Merge "metricsd: Persist metrics on shutdown." 2016-01-20 00:58:37 +00:00
Mark Salyzyn 390100305b Merge "logd: prune maintain per-id watermark (part deux)" 2016-01-20 00:50:10 +00:00
Mark Salyzyn 7fd6c5c6f5 logd: prune maintain per-id watermark (part deux)
iterator corruption as we allow mLast to slip through the FIFO

Bug: 23685592
Bug: 26646087
Change-Id: Ifcbaecf390ee47b195c3d823d080c66c15db4530
2016-01-19 16:14:39 -08:00
James Hawkins 0f9caa1ea2 Merge "system/core: Add initial implementation of the bootstat command." am: d0009911de
am: 0e16bdf276

* commit '0e16bdf276cd1ff1363a8a8217f56993c1aacef1':
  system/core: Add initial implementation of the bootstat command.
2016-01-19 23:30:40 +00:00
James Hawkins 0e16bdf276 Merge "system/core: Add initial implementation of the bootstat command."
am: d0009911de

* commit 'd0009911de67f0625df8175bd298fa3863c1879d':
  system/core: Add initial implementation of the bootstat command.
2016-01-19 23:28:51 +00:00
James Hawkins d0009911de Merge "system/core: Add initial implementation of the bootstat command." 2016-01-19 23:23:48 +00:00
James Hawkins abd73e6179 system/core: Add initial implementation of the bootstat command.
The bootstat command enables the measurement and logging of boot time
metrics
for GMS devices.

BUG:21724738
Change-Id: I331456dd38a60fb4ef24a4d5320909dbad30db66
2016-01-19 15:10:38 -08:00
Josh Gao 08550d5cc9 Merge "fastboot: show progress when sending sparse images." am: 6a27196516
am: 69c9274c3e

* commit '69c9274c3ea023a7d3505592fab99f87144a61dd':
  fastboot: show progress when sending sparse images.
2016-01-19 23:08:28 +00:00
Josh Gao 69c9274c3e Merge "fastboot: show progress when sending sparse images."
am: 6a27196516

* commit '6a27196516da6b900f39dc2c601f60452b917e21':
  fastboot: show progress when sending sparse images.
2016-01-19 23:06:32 +00:00
Josh Gao 163b83d01c Merge "fastboot: add .clang-format." am: d8ecde09c7
am: 5210031f9c

* commit '5210031f9c9873bbeca5f63af1ec22620590d2c1':
  fastboot: add .clang-format.
2016-01-19 23:06:32 +00:00
Josh Gao 5210031f9c Merge "fastboot: add .clang-format."
am: d8ecde09c7

* commit 'd8ecde09c717ded786fde49855ba7347bc2b3910':
  fastboot: add .clang-format.
2016-01-19 23:04:07 +00:00