Commit graph

13097 commits

Author SHA1 Message Date
Mark Salyzyn
9277b01138 am 9d4b3010: am 2ce1d81f: Merge "liblog: __android_log_is_loggable support Developer Options"
* commit '9d4b3010b5b8c9e6c155df2ec1da4a33992a1ebd':
  liblog: __android_log_is_loggable support Developer Options
2015-04-23 21:27:59 +00:00
Mark Salyzyn
9d4b3010b5 am 2ce1d81f: Merge "liblog: __android_log_is_loggable support Developer Options"
* commit '2ce1d81fd412657c14a14dd43ec570ac65cc1874':
  liblog: __android_log_is_loggable support Developer Options
2015-04-23 21:16:40 +00:00
Mark Salyzyn
2ce1d81fd4 Merge "liblog: __android_log_is_loggable support Developer Options" 2015-04-23 21:06:31 +00:00
Mark Salyzyn
ef9a093fdd am 27660999: am 653f9581: Merge "logd: per UID less aggressive 12.5% threshold"
* commit '2766099959799434b114f6272107df04f55493d8':
  logd: per UID less aggressive 12.5% threshold
2015-04-23 15:01:07 +00:00
Mark Salyzyn
92391131c4 am f94727b4: am 40502e1a: Merge "logd: ratelimit drop messages to 1/sec"
* commit 'f94727b4c6b10be576e145415bd6493a5e81c4a1':
  logd: ratelimit drop messages to 1/sec
2015-04-23 14:51:26 +00:00
Mark Salyzyn
2766099959 am 653f9581: Merge "logd: per UID less aggressive 12.5% threshold"
* commit '653f9581bf32cc2532c2b1d442d7bb2bbf0c173e':
  logd: per UID less aggressive 12.5% threshold
2015-04-23 14:50:42 +00:00
Mark Salyzyn
653f9581bf Merge "logd: per UID less aggressive 12.5% threshold" 2015-04-23 14:41:48 +00:00
Mark Salyzyn
f94727b4c6 am 40502e1a: Merge "logd: ratelimit drop messages to 1/sec"
* commit '40502e1a70a0705ee9fbc50951bfae3c6b662632':
  logd: ratelimit drop messages to 1/sec
2015-04-23 14:38:52 +00:00
Mark Salyzyn
40502e1a70 Merge "logd: ratelimit drop messages to 1/sec" 2015-04-23 14:30:44 +00:00
Elliott Hughes
8a457c7927 am d1eec0de: am 876881b2: Merge "Add missing null checks after allocations."
* commit 'd1eec0de6a4af9565673809eb3cf29a1eefdcdb8':
  Add missing null checks after allocations.
2015-04-22 20:28:56 +00:00
Elliott Hughes
d1eec0de6a am 876881b2: Merge "Add missing null checks after allocations."
* commit '876881b22ad5d735cdb3ae2ac1afa6c336378808':
  Add missing null checks after allocations.
2015-04-22 20:17:35 +00:00
Elliott Hughes
876881b22a Merge "Add missing null checks after allocations." 2015-04-22 20:05:46 +00:00
Mark Salyzyn
e06a6e0f26 logd: ratelimit drop messages to 1/sec
Bug: 20334069
Bug: 20370119
Change-Id: I6f850aec46c4df1c99a5b1f28db75d071e134ad5
2015-04-22 11:58:37 -07:00
Mark Salyzyn
d717d805d4 logd: per UID less aggressive 12.5% threshold
Per-UID quota has a threshold of 12.5% of the total log size.
If less than that space is taken by the UID, then we
will not engage the pruning based on worst UID.

Change-Id: I9f15c9a26938f1115eb75e9c28ddb073e7680e06
2015-04-22 11:53:29 -07:00
Mark Salyzyn
1f028b2fdf liblog: __android_log_is_loggable support Developer Options
- If logd.tag.<tag> is not found, check if persist.logd.tag.<tag> is available
- Do not turn off the isLoggable functionality on "user" builds

Bug: 19544788
Bug: 17760225
Change-Id: I3fec67b547aa431438965519507033798398e1e1
2015-04-22 10:39:39 -07:00
Richard Uhler
b1e5d2e386 am 68f3a5a0: am f75f16a1: Merge "Fix typos in comments"
* commit '68f3a5a09f26831b85bfdc664fa4172a5135579e':
  Fix typos in comments
2015-04-22 16:29:42 +00:00
Richard Uhler
68f3a5a09f am f75f16a1: Merge "Fix typos in comments"
* commit 'f75f16a1ddbe6cde5e44036d48dc7a6c62d38cc0':
  Fix typos in comments
2015-04-22 16:17:31 +00:00
Richard Uhler
f75f16a1dd Merge "Fix typos in comments" 2015-04-22 16:07:22 +00:00
Elliott Hughes
f91c06646e am 421d01c8: am d4196ef8: Merge "Add a command to call libnetutils\' do_dhcp."
* commit '421d01c89500ddb71c976b20aa023b5d2fd9ccf0':
  Add a command to call libnetutils' do_dhcp.
2015-04-22 03:09:21 +00:00
Elliott Hughes
421d01c895 am d4196ef8: Merge "Add a command to call libnetutils\' do_dhcp."
* commit 'd4196ef88757a87af41c0f7ee6ed7bfc3802c9c7':
  Add a command to call libnetutils' do_dhcp.
2015-04-22 02:57:58 +00:00
Elliott Hughes
d4196ef887 Merge "Add a command to call libnetutils' do_dhcp." 2015-04-22 02:50:13 +00:00
Elliott Hughes
dc3b459ff9 Add missing null checks after allocations.
Bug: http://b/20317729
Change-Id: I62bb761d48ee59a1f4ddd0cdd0632432305ca2ca
2015-04-21 19:43:22 -07:00
Elliott Hughes
9ab372eb22 Add a command to call libnetutils' do_dhcp.
Useful for wifi bringup.

Change-Id: Ib1d1b1d15cb9ce57119457a780e169b8f98987c2
2015-04-21 19:31:43 -07:00
Elliott Hughes
c8ecbc8aa8 am 99355ffb: am 0fb33b3c: Merge "Plumb more of the error reporting through."
* commit '99355ffbdf1bdd097ee1e484d61b1dbb8596276e':
  Plumb more of the error reporting through.
2015-04-22 01:39:56 +00:00
Elliott Hughes
99355ffbdf am 0fb33b3c: Merge "Plumb more of the error reporting through."
* commit '0fb33b3c05a0c935e17ae93dbe474f816cec666b':
  Plumb more of the error reporting through.
2015-04-22 01:27:36 +00:00
Elliott Hughes
0fb33b3c05 Merge "Plumb more of the error reporting through." 2015-04-22 01:20:36 +00:00
Elliott Hughes
1555147bc4 Plumb more of the error reporting through.
This doesn't fix the bug, but it does flatten the bug to the well-known
and long-standing "adb shell" doesn't return exit statuses, so when we
fix that, this one will fix itself.

Bug: http://b/20423886
Change-Id: I48351e46f05dd3f2f6e57f0df1d851333458d0ef
2015-04-21 17:58:55 -07:00
Elliott Hughes
59f0112898 am 14000a3a: am 9a0cea92: Merge "Add a couple more adb shell regression tests."
* commit '14000a3a35d42815a95dce63b40f71e5a6cb9128':
  Add a couple more adb shell regression tests.
2015-04-21 23:52:48 +00:00
Elliott Hughes
14000a3a35 am 9a0cea92: Merge "Add a couple more adb shell regression tests."
* commit '9a0cea92c8b74114b70ac3339b2b611633f6a31a':
  Add a couple more adb shell regression tests.
2015-04-21 23:45:59 +00:00
Elliott Hughes
9a0cea92c8 Merge "Add a couple more adb shell regression tests." 2015-04-21 23:35:06 +00:00
Elliott Hughes
8e6edc0d89 Add a couple more adb shell regression tests.
Bug: http://b/15479704
Change-Id: Id3e7f0df101ad61db509df313c13210a8bd8b124
2015-04-21 16:25:54 -07:00
Michael Wright
97147ef2cd am a7d47092: am a75b3de2: Merge "Mark time conversion functions as constexpr"
* commit 'a7d470920f7d92b58e6072c6e5555204655d0467':
  Mark time conversion functions as constexpr
2015-04-21 23:03:26 +00:00
Mark Salyzyn
d2ad66ff01 am f2cd84d3: am 088c4f3b: Merge "logd: Statistics headers"
* commit 'f2cd84d37c1837f6dabf5ca24b57d58be75c28f0':
  logd: Statistics headers
2015-04-21 23:03:25 +00:00
Badhri Jagan Sridharan
9805733d10 am fade90ac: am 82b0f7ba: Merge "adb: set sys.usb.ffs.ready to signal usb pullup"
* commit 'fade90ac206c02623208bc8341f5164554593bf3':
  adb: set sys.usb.ffs.ready to signal usb pullup
2015-04-21 23:03:23 +00:00
Elliott Hughes
17441d879d am 5f509c78: am da60a30b: Merge "Add a test for shell escaping."
* commit '5f509c78cb9786980084f31b1629663d464656e4':
  Add a test for shell escaping.
2015-04-21 23:03:22 +00:00
Elliott Hughes
9ab15f2fd9 am 39ce837d: am 9f2944aa: Merge "Remove dead code."
* commit '39ce837d1e84cd1ebf0610759ad5b76009c7461e':
  Remove dead code.
2015-04-21 23:03:21 +00:00
Elliott Hughes
dd075996dd am fc28ac17: am 6a2d5a34: Merge "Fix "adb sync" for devices without vendor and oem."
* commit 'fc28ac17a32da390c01a754039c73f4fbcf43f29':
  Fix "adb sync" for devices without vendor and oem.
2015-04-21 23:03:20 +00:00
Elliott Hughes
0500c6af0d am c1557acb: am e434ad1d: Merge "Always explain why bind(2) failed."
* commit 'c1557acbd92dc67ef6c64b27d04a50b5aacb2f74':
  Always explain why bind(2) failed.
2015-04-21 23:03:18 +00:00
Elliott Hughes
4184a72c4e am a9caadf8: am 14b65736: Merge "Use \' quoting to escape arguments."
* commit 'a9caadf8bd291d3e2479d46960bfe225f9914a8b':
  Use ' quoting to escape arguments.
2015-04-21 23:03:16 +00:00
Michael Wright
a7d470920f am a75b3de2: Merge "Mark time conversion functions as constexpr"
* commit 'a75b3de2c235d6adcee0aadcc9ecc718fd784c05':
  Mark time conversion functions as constexpr
2015-04-21 22:44:02 +00:00
Mark Salyzyn
f2cd84d37c am 088c4f3b: Merge "logd: Statistics headers"
* commit '088c4f3b8a0933fd6b3262764b54f4751155c7d1':
  logd: Statistics headers
2015-04-21 22:44:01 +00:00
Badhri Jagan Sridharan
fade90ac20 am 82b0f7ba: Merge "adb: set sys.usb.ffs.ready to signal usb pullup"
* commit '82b0f7ba9258c74e4019b2b6478d2e1623a287d9':
  adb: set sys.usb.ffs.ready to signal usb pullup
2015-04-21 22:44:00 +00:00
Elliott Hughes
5f509c78cb am da60a30b: Merge "Add a test for shell escaping."
* commit 'da60a30b86d33b4e4e49d790dc3607c415fff91e':
  Add a test for shell escaping.
2015-04-21 22:43:59 +00:00
Elliott Hughes
39ce837d1e am 9f2944aa: Merge "Remove dead code."
* commit '9f2944aab0420343dd6e2cbeb3a6e3639e374613':
  Remove dead code.
2015-04-21 22:43:58 +00:00
Elliott Hughes
fc28ac17a3 am 6a2d5a34: Merge "Fix "adb sync" for devices without vendor and oem."
* commit '6a2d5a34e81b75ac61337d401aab16bf917b47b1':
  Fix "adb sync" for devices without vendor and oem.
2015-04-21 22:43:56 +00:00
Elliott Hughes
c1557acbd9 am e434ad1d: Merge "Always explain why bind(2) failed."
* commit 'e434ad1dd799551830019a7bd2871dec226bdcd2':
  Always explain why bind(2) failed.
2015-04-21 22:43:55 +00:00
Elliott Hughes
a9caadf8bd am 14b65736: Merge "Use \' quoting to escape arguments."
* commit '14b65736c5ed487ebba93d3ccc3e261ece71f833':
  Use ' quoting to escape arguments.
2015-04-21 22:43:54 +00:00
Michael Wright
a75b3de2c2 Merge "Mark time conversion functions as constexpr" 2015-04-21 21:50:28 +00:00
Mark Salyzyn
088c4f3b8a Merge "logd: Statistics headers" 2015-04-21 20:13:15 +00:00
Badhri Jagan Sridharan
82b0f7ba92 Merge "adb: set sys.usb.ffs.ready to signal usb pullup" 2015-04-21 19:58:46 +00:00