Commit Graph

15244 Commits

Author SHA1 Message Date
Mark Salyzyn fb354cd6af am 69ecfdd5: Merge "logd: build breakage"
* commit '69ecfdd570c30ccdf541d16298e7a7e8a48de8b7':
  logd: build breakage
2015-06-08 22:03:21 +00:00
Mark Salyzyn 03196c9c75 logd: build breakage
(cherry pick from 3e21de2915)

OPEN_BRACKET_SPACE comparison always false

Change-Id: I1ff4288b4b79a49702727d3a8b8c8f179f500951
2015-06-08 14:57:07 -07:00
Mark Salyzyn 69ecfdd570 Merge "logd: build breakage" 2015-06-08 21:55:52 +00:00
Elliott Hughes 24d41e76e7 Switch to toybox mount(1).
Change-Id: Ieda6e2bfbf5ea3e9a96f5facfded4c2a467e4a02
2015-06-08 14:52:25 -07:00
Mark Salyzyn 3e21de2915 logd: build breakage
OPEN_BRACKET_SPACE comparison always false

Change-Id: I1ff4288b4b79a49702727d3a8b8c8f179f500951
2015-06-08 14:52:14 -07:00
Mark Salyzyn b14f1211f9 am 4d5f5417: Merge "logd: fix kernel logline stutter" into mnc-dev
* commit '4d5f54174a8f06c4c0ae87f555cdc4c3b0eed165':
  logd: fix kernel logline stutter
2015-06-08 21:18:56 +00:00
Mark Salyzyn ad26b8684f am 2c6a1b7e: am 42951a8b: Merge "logd: fix kernel logline stutter"
* commit '2c6a1b7ec0af13dad6e77d75e03dce8ac76de8b7':
  logd: fix kernel logline stutter
2015-06-08 20:59:08 +00:00
Mark Salyzyn 4d5f54174a Merge "logd: fix kernel logline stutter" into mnc-dev 2015-06-08 20:56:02 +00:00
Mark Salyzyn df5902c4f3 logd: fix kernel logline stutter
(cherry pick from commit 2c3b300fd8)

- look for cases where one log line contains two without a newline.
- rare condition, occurs when a printk does not have
  a terminating newline under certain race conditions.
- the newline may be performed broken up as a second call
- the timestamps can be reversed (showing the race effects).
- driver(s) should really have the newline in their log messages.

Change-Id: Ibfb56b32047da3d6513db059ca6edad0f0105168
2015-06-08 13:55:14 -07:00
Eino-Ville Talvala 2857eada5f am 414fb90e: Camera: Add new set video format/dataspace command
* commit '414fb90eae816e98d8b2d45a3dbce70f1dbc2064':
  Camera: Add new set video format/dataspace command
2015-06-08 20:51:54 +00:00
Mark Salyzyn 2c6a1b7ec0 am 42951a8b: Merge "logd: fix kernel logline stutter"
* commit '42951a8be7c8fbdfa95d431142194c52e81d1c63':
  logd: fix kernel logline stutter
2015-06-08 20:45:53 +00:00
Mark Salyzyn 42951a8be7 Merge "logd: fix kernel logline stutter" 2015-06-08 20:33:13 +00:00
Eino-Ville Talvala 414fb90eae Camera: Add new set video format/dataspace command
This allows the video encoding subsystem inform the camera what format
and dataspace should be used for metadata-mode buffers.

This is necessary to allow software encoders and other generic
consumers that cannot interpret
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED buffers.

Bug: 13222807
Change-Id: I01090dc4dce11f075f7d3cd86daca5ecf3d9e995
2015-06-08 13:21:27 -07:00
Mark Salyzyn 2c3b300fd8 logd: fix kernel logline stutter
- look for cases where one log line contains two without a newline.
- rare condition, occurs when a printk does not have
  a terminating newline under certain race conditions.
- the newline may be performed broken up as a second call
- the timestamps can be reversed (showing the race effects).
- driver(s) should really have the newline in there log messages.

Change-Id: Ibfb56b32047da3d6513db059ca6edad0f0105168
2015-06-08 13:10:31 -07:00
Elliott Hughes 01cf95ddd5 am b71c8a29: am e1061914: Merge "Make start/stop warn if you\'re not root."
* commit 'b71c8a293a22d116796174b571afbaacccc3bc10':
  Make start/stop warn if you're not root.
2015-06-06 00:35:21 +00:00
Elliott Hughes 71ae73c01d am b4d0722d: am a9456438: Merge "Fix test_adb.py against production builds."
* commit 'b4d0722d7dedece03e560dc13eb6b56bf18eeae6':
  Fix test_adb.py against production builds.
2015-06-06 00:35:20 +00:00
Paul Lawrence 0ec4b9363a am 439cdfd0: am af0baad7: Merge "adb shouldn\'t trace unless told to"
* commit '439cdfd0bfa8ee2cf0996f517e61ab9f7d90bdc6':
  adb shouldn't trace unless told to
2015-06-06 00:35:18 +00:00
Elliott Hughes b71c8a293a am e1061914: Merge "Make start/stop warn if you\'re not root."
* commit 'e1061914363d85679afb29458c85c3bdf3311aac':
  Make start/stop warn if you're not root.
2015-06-06 00:23:08 +00:00
Elliott Hughes b4d0722d7d am a9456438: Merge "Fix test_adb.py against production builds."
* commit 'a945643831db4ec58988a0773a89f3858d282b07':
  Fix test_adb.py against production builds.
2015-06-06 00:23:07 +00:00
Paul Lawrence 439cdfd0bf am af0baad7: Merge "adb shouldn\'t trace unless told to"
* commit 'af0baad7a6407cf098aa64272e1321f7a495874a':
  adb shouldn't trace unless told to
2015-06-06 00:23:06 +00:00
Elliott Hughes e106191436 Merge "Make start/stop warn if you're not root." 2015-06-06 00:18:33 +00:00
Elliott Hughes a945643831 Merge "Fix test_adb.py against production builds." 2015-06-06 00:16:23 +00:00
Paul Lawrence af0baad7a6 Merge "adb shouldn't trace unless told to" 2015-06-06 00:08:57 +00:00
Elliott Hughes 6e83c3d76d Make start/stop warn if you're not root.
Bug: https://code.google.com/p/android/issues/detail?id=165602
Change-Id: Ia1e2de1697d971381b0c949fdaaeff424ab8bf32
2015-06-05 17:01:01 -07:00
Paul Lawrence 6f009d9496 adb shouldn't trace unless told to
Prevents clean unmount of /data in crypto bounce

Bug: 21516860
Change-Id: I1f761dfdf216dcb35b4609cd46cc4d0644cc4a81
2015-06-05 16:01:48 -07:00
Mark Salyzyn 7c7b0c83d6 am dca1bb5e: Merge "logd: filters remove leading expire messages and rate" into mnc-dev
* commit 'dca1bb5e79e197676356f374939b7ca5dfd1a195':
  logd: filters remove leading expire messages and rate
2015-06-05 22:24:19 +00:00
Mark Salyzyn dca1bb5e79 Merge "logd: filters remove leading expire messages and rate" into mnc-dev 2015-06-05 21:58:07 +00:00
Elliott Hughes 044405069a am 8bdd4bbc: Add a working Windows tmpfile(3) to fastboot.
* commit '8bdd4bbc1cca8b61eb3f2c8dd0335735fc84f4b0':
  Add a working Windows tmpfile(3) to fastboot.
2015-06-05 20:53:11 +00:00
Elliott Hughes 8bdd4bbc1c Add a working Windows tmpfile(3) to fastboot.
Windows' tmpfile(3) implementation requires administrator rights because
it creates temporary files in the root directory. Write an alternative
that uses the user's temporary directory instead.

Bug: http://b/21558406
Change-Id: Ic9aece5c69429797a332a97681a76b76ac3551bf
(cherry picked from commit a26fbeeaa4)
2015-06-05 13:28:44 -07:00
Jim Miller a3e3b196bd am 72ffc3c0: Fix error on systems where ssize_t isn\'t 64-bits
* commit '72ffc3c02a5546ab93ffcbb2a94193be651c3629':
  Fix error on systems where ssize_t isn't 64-bits
2015-06-05 20:23:06 +00:00
Elliott Hughes 3595328564 Fix test_adb.py against production builds.
Also use assertEqual for better errors. (I accidentally tested against
a non-AOSP build that doesn't have the \r fix.)

Change-Id: Ib032c01efa4e1efb14467ca776a14160fff4ad39
2015-06-05 13:11:43 -07:00
Jim Miller 72ffc3c02a Fix error on systems where ssize_t isn't 64-bits
Fixes bug 21491366

Change-Id: If34ab89fdb410350fa5773b5495a27493a6d1211
2015-06-05 12:25:17 -07:00
Mark Salyzyn 5d634ecd90 am 57a3407d: am 515d581d: Merge "logd: filters remove leading expire messages and rate"
* commit '57a3407d7ef703f5d17f1a59d2d95a8d62d9a6ed':
  logd: filters remove leading expire messages and rate
2015-06-05 17:39:17 +00:00
Mark Salyzyn 57a3407d7e am 515d581d: Merge "logd: filters remove leading expire messages and rate"
* commit '515d581d2d99e484c5989f1ee06f42ba1cb6942d':
  logd: filters remove leading expire messages and rate
2015-06-05 17:27:09 +00:00
Mark Salyzyn c1e9d6dada logd: filters remove leading expire messages and rate
(cherry pick from commit 047cc0729f)

- Cleanup resulting from experience and feedback
- When filtering inside logd, drop any leading expire messages, they
  are cluttering up leading edge of tombstones (which filter by pid)
- Increase and introduce EXPIRE_RATELIMIT from 1 to 10 seconds
- Increase EXPIRE_THRESHOLD from 4 to 10 count
- Improve the expire messages from:
   logd : uid=1000(system) too chatty comm=com.google.android.phone,
                                                   expire 2800 lines
  change tag to be more descriptive, and reduce accusatory tone to:
   chatty : uid=1000(system) com.google.android.phone expire 2800
                                                               lines
- if the UID name forms a prefix for comm name, then drop UID name

Change-Id: Ied7cc04c0ab3ae02167649a0b97378e44ef7b588
2015-06-05 10:20:55 -07:00
Mark Salyzyn 515d581d2d Merge "logd: filters remove leading expire messages and rate" 2015-06-05 17:18:26 +00:00
Mark Salyzyn 047cc0729f logd: filters remove leading expire messages and rate
- Cleanup resulting from experience and feedback
- When filtering inside logd, drop any leading expire messages, they
  are cluttering up leading edge of tombstones (which filter by pid)
- Increase and introduce EXPIRE_RATELIMIT from 1 to 10 seconds
- Increase EXPIRE_THRESHOLD from 4 to 10 count
- Improve the expire messages from:
   logd : uid=1000(system) too chatty comm=com.google.android.phone,
                                                   expire 2800 lines
  change tag to be more descriptive, and reduce accusatory tone to:
   chatty : uid=1000(system) com.google.android.phone expire 2800
                                                               lines
- if the UID name forms a prefix for comm name, then drop UID name

Change-Id: Ied7cc04c0ab3ae02167649a0b97378e44ef7b588
2015-06-05 08:05:05 -07:00
Christopher Ferris 3d376871cd am 5a923344: Merge "Change the 64 bit map address format." into mnc-dev
* commit '5a9233444b519cb866cc657a4dce27c45f089a97':
  Change the 64 bit map address format.
2015-06-05 01:27:35 +00:00
Elliott Hughes 3fa276aab5 am 473629d5: am f9ae390f: Merge "adb: win32: get test_adb.py running and passing 100%"
* commit '473629d564fbb90e5c08bc7006685fe47b8cadd0':
  adb: win32: get test_adb.py running and passing 100%
2015-06-05 01:08:36 +00:00
Christopher Ferris 5a9233444b Merge "Change the 64 bit map address format." into mnc-dev 2015-06-05 01:02:42 +00:00
Elliott Hughes 473629d564 am f9ae390f: Merge "adb: win32: get test_adb.py running and passing 100%"
* commit 'f9ae390f63aa7bfc4e93ba1e18240aa1e05d122b':
  adb: win32: get test_adb.py running and passing 100%
2015-06-05 01:01:15 +00:00
Elliott Hughes f9ae390f63 Merge "adb: win32: get test_adb.py running and passing 100%" 2015-06-05 00:50:08 +00:00
Paul Lawrence a7dcec1da3 am 3678a5fb: Merge "Move crypt commands to a different listener in vold" into mnc-dev
* commit '3678a5fb8d1094c4796c1316f3b571cb63cf7246':
  Move crypt commands to a different listener in vold
2015-06-04 23:07:32 +00:00
Elliott Hughes d41dee7fc8 am 641fd2e4: am ebce1470: Merge "adb: fix adb_close() vs. unix_close() usage"
* commit '641fd2e443607aadd2cb98177308241cb633dcbd':
  adb: fix adb_close() vs. unix_close() usage
2015-06-04 22:44:55 +00:00
Elliott Hughes 53a8ccc574 am 0895894c: am e1a06a55: Merge "Fix whitespace in debug logging."
* commit '0895894c4b2dbee3c9b572ecc4b96879971f6185':
  Fix whitespace in debug logging.
2015-06-04 22:44:52 +00:00
Elliott Hughes 641fd2e443 am ebce1470: Merge "adb: fix adb_close() vs. unix_close() usage"
* commit 'ebce1470779ad424bc220ada590ee274dbdfaaa4':
  adb: fix adb_close() vs. unix_close() usage
2015-06-04 22:32:41 +00:00
Elliott Hughes 0895894c4b am e1a06a55: Merge "Fix whitespace in debug logging."
* commit 'e1a06a550275a1b0c385059c1f19061f4b0f8ffa':
  Fix whitespace in debug logging.
2015-06-04 22:32:40 +00:00
Elliott Hughes ebce147077 Merge "adb: fix adb_close() vs. unix_close() usage" 2015-06-04 22:28:50 +00:00
Elliott Hughes e1a06a5502 Merge "Fix whitespace in debug logging." 2015-06-04 22:23:45 +00:00
Elliott Hughes e49236b3da Fix whitespace in debug logging.
Change-Id: I949317deaf782fea18b5c38b22dfd41811608276
2015-06-04 15:21:59 -07:00