Commit Graph

14255 Commits

Author SHA1 Message Date
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 81bb3cb0f5 am 8a457c79: am d1eec0de: am 876881b2: Merge "Add missing null checks after allocations."
* commit '8a457c79276c65d1cc30fea929916986756a00b7':
  Add missing null checks after allocations.
2015-04-23 00:56:33 +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 e7eba774d8 am b1e5d2e3: am 68f3a5a0: am f75f16a1: Merge "Fix typos in comments"
* commit 'b1e5d2e386d2738ce9415d349f2a71945830d0a6':
  Fix typos in comments
2015-04-22 16:54:35 +00: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 9e2d8b47c8 am f91c0664: am 421d01c8: am d4196ef8: Merge "Add a command to call libnetutils\' do_dhcp."
* commit 'f91c06646ed836c25aeacc4332851c53cd1e0861':
  Add a command to call libnetutils' do_dhcp.
2015-04-22 03:32:13 +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 93e7998be3 am c8ecbc8a: am 99355ffb: am 0fb33b3c: Merge "Plumb more of the error reporting through."
* commit 'c8ecbc8aa80117bf9eb884fc70b19ab7abc55146':
  Plumb more of the error reporting through.
2015-04-22 02:13:48 +00: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 987f7ade92 am 59f01128: am 14000a3a: am 9a0cea92: Merge "Add a couple more adb shell regression tests."
* commit '59f01128982356ccbe4d1d302bb568a08d3e4795':
  Add a couple more adb shell regression tests.
2015-04-22 00:17:44 +00: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
Mark Salyzyn 7757806271 Merge "STOPSHIP: Additional Wifi logging temporarily disabled" 2015-04-21 23:42:50 +00:00
Elliott Hughes 9a0cea92c8 Merge "Add a couple more adb shell regression tests." 2015-04-21 23:35:06 +00:00
Michael Wright 835d9ca034 am 97147ef2: am a7d47092: am a75b3de2: Merge "Mark time conversion functions as constexpr"
* commit '97147ef2cd09bef1f348375611905864fa0fd068':
  Mark time conversion functions as constexpr
2015-04-21 23:27:12 +00:00
Mark Salyzyn 5e88b87bf7 am d2ad66ff: am f2cd84d3: am 088c4f3b: Merge "logd: Statistics headers"
* commit 'd2ad66ff01a06d350e068d3408e2c44920008c42':
  logd: Statistics headers
2015-04-21 23:27:10 +00:00
Badhri Jagan Sridharan 15d2bdfe35 am 9805733d: am fade90ac: am 82b0f7ba: Merge "adb: set sys.usb.ffs.ready to signal usb pullup"
* commit '9805733d10d177548ced3439d81aed359dbc4bcb':
  adb: set sys.usb.ffs.ready to signal usb pullup
2015-04-21 23:27:09 +00:00
Elliott Hughes fa7e76f1b5 am 17441d87: am 5f509c78: am da60a30b: Merge "Add a test for shell escaping."
* commit '17441d879dc70346eb378e58101600ec3f480165':
  Add a test for shell escaping.
2015-04-21 23:27:08 +00:00
Elliott Hughes 65aae74b3a am 9ab15f2f: am 39ce837d: am 9f2944aa: Merge "Remove dead code."
* commit '9ab15f2fd98b052be50045d5f88b4ee5dfbda413':
  Remove dead code.
2015-04-21 23:27:06 +00:00
Elliott Hughes a00bd9ecb2 am dd075996: am fc28ac17: am 6a2d5a34: Merge "Fix "adb sync" for devices without vendor and oem."
* commit 'dd075996dd6ad15356a9a1fa77c958fb5c1049d7':
  Fix "adb sync" for devices without vendor and oem.
2015-04-21 23:27:05 +00:00
Elliott Hughes e449346837 am 0500c6af: am c1557acb: am e434ad1d: Merge "Always explain why bind(2) failed."
* commit '0500c6af0dc98b2236c1874abb49f0b36bac2b59':
  Always explain why bind(2) failed.
2015-04-21 23:27:04 +00:00
Elliott Hughes a13c3c04bf am 4184a72c: am a9caadf8: am 14b65736: Merge "Use \' quoting to escape arguments."
* commit '4184a72c4e849931066fa60a2336af1de6dbcd05':
  Use ' quoting to escape arguments.
2015-04-21 23:27:02 +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
Mark Salyzyn 18b1da2033 STOPSHIP: Additional Wifi logging temporarily disabled
Bug: 20416721
Change-Id: I1be1c742f47f0e673eef6a8d391246f47c35c336
2015-04-21 23:09:58 +00: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