Elliott Hughes
6a99ff0adf
am 3a4aedfc
: Merge "sdcard: Properly handle deleted nodes"
...
* commit '3a4aedfcd3354b903aa48a836cb55ee01db9f896':
sdcard: Properly handle deleted nodes
2015-04-04 00:34:42 +00:00
Elliott Hughes
3a4aedfcd3
Merge "sdcard: Properly handle deleted nodes"
2015-04-04 00:27:46 +00:00
Elliott Hughes
f8867101bb
am b21bd772
: am a62eac5c
: am 50f192fa
: Merge "Fix "adb devices -l"."
...
* commit 'b21bd7729137d5c2894b4425609d07f48f36d460':
Fix "adb devices -l".
2015-04-04 00:09:47 +00:00
Dan Albert
3d495b3e95
am 01630493
: am de0e80d2
: am f78ff16a
: Merge "Support arbitrary loggers."
...
* commit '0163049399f805dd73a6161c51f47be40709fce7':
Support arbitrary loggers.
2015-04-03 23:59:45 +00:00
Dan Albert
7a87d05974
Cleanup base/logging.
...
Some of this code was unused, most didn't need to be exposed, and we
can just use basename(3).
Also use a better default program name than "unknown".
Change-Id: I62d990f64e4fd0c16aa4b7e907dd06e4f26ddcdd
2015-04-03 16:49:55 -07:00
Elliott Hughes
b21bd77291
am a62eac5c
: am 50f192fa
: Merge "Fix "adb devices -l"."
...
* commit 'a62eac5ca034f8366eefabe9f3225e7f06280e3b':
Fix "adb devices -l".
2015-04-03 23:48:55 +00:00
Dan Albert
0163049399
am de0e80d2
: am f78ff16a
: Merge "Support arbitrary loggers."
...
* commit 'de0e80d20de68469f445d9c425f3e351048be7ea':
Support arbitrary loggers.
2015-04-03 23:38:54 +00:00
Elliott Hughes
a62eac5ca0
am 50f192fa
: Merge "Fix "adb devices -l"."
...
* commit '50f192fafa7af2929c663a37dc4dc56610c07b41':
Fix "adb devices -l".
2015-04-03 23:38:44 +00:00
Elliott Hughes
50f192fafa
Merge "Fix "adb devices -l"."
2015-04-03 23:30:37 +00:00
Dan Albert
de0e80d20d
am f78ff16a
: Merge "Support arbitrary loggers."
...
* commit 'f78ff16aeed0e997124dff594f1ddc193741a7b3':
Support arbitrary loggers.
2015-04-03 23:28:40 +00:00
Dan Albert
f78ff16aee
Merge "Support arbitrary loggers."
2015-04-03 23:23:07 +00:00
Dan Albert
b547c85b5b
Support arbitrary loggers.
...
While the defaults (logd or stderr) make sense for most use cases,
there are places that can only log to the kernel, or need to log to a
file, etc.
Allow the user to pass in an arbitrary logging object, and provide
LogdLogger and StderrLogger as defaults.
Change-Id: I62368acc795ff313242bb205d65017404bf64e88
2015-04-03 16:22:39 -07:00
Elliott Hughes
09a45a1927
Fix "adb devices -l".
...
Change 055f1aa4ff
switched to using isalnum(3)
but didn't take into account that isalnum has the opposite sense to the
function it replaced, so the tests should have been inverted.
Bug: http://b/20056546
Change-Id: I90630c0bea69ddbb4a95dc09f79f49d23fd497de
2015-04-03 16:12:15 -07:00
Rom Lemarchand
be7aca60f3
Move audio includes to system/media/audio
...
Change-Id: I21bed541dbd81127e6b8340f7f14b5523f7c5c0d
2015-04-03 15:12:01 -07:00
Elliott Hughes
3bb04bd804
am 6c7c6d04
: am 7c194525
: am ea975880
: Merge "Only Windows doesn\'t have %zd."
...
* commit '6c7c6d0420ca837b81927b2f7c08cd9d92533043':
Only Windows doesn't have %zd.
2015-04-03 20:58:29 +00:00
Elliott Hughes
6c7c6d0420
am 7c194525
: am ea975880
: Merge "Only Windows doesn\'t have %zd."
...
* commit '7c1945254ea3ae6ddb7fafb7d1a03b347ec76c91':
Only Windows doesn't have %zd.
2015-04-03 20:40:56 +00:00
Elliott Hughes
7c1945254e
am ea975880
: Merge "Only Windows doesn\'t have %zd."
...
* commit 'ea975880112c27293800ede36e0323ff2a7b9322':
Only Windows doesn't have %zd.
2015-04-03 20:30:46 +00:00
Elliott Hughes
ea97588011
Merge "Only Windows doesn't have %zd."
2015-04-03 20:16:27 +00:00
Elliott Hughes
146c244613
Only Windows doesn't have %zd.
...
Change-Id: Ie09619df212cf7c8aa18a6d46c3e6b6ca3f478cf
2015-04-03 12:53:36 -07:00
Dan Albert
a01e74d494
am 68a4dbda
: am f1c534b7
: am eb560133
: Merge "Share log writing code."
...
* commit '68a4dbdab7ffcc8b01f406e1bdbb5984115e1fae':
Share log writing code.
2015-04-03 18:31:35 +00:00
Dan Albert
68a4dbdab7
am f1c534b7
: am eb560133
: Merge "Share log writing code."
...
* commit 'f1c534b7d74e0b339c903732bf1b86506f20845a':
Share log writing code.
2015-04-03 18:11:02 +00:00
Dan Albert
5ed1dd6a0b
am 59193bc3
: am 199ef0a6
: am 87eca3cb
: Merge "Support logging to other log buffers."
...
* commit '59193bc3a70987f025e6056f7c6048980ead4da6':
Support logging to other log buffers.
2015-04-03 18:07:13 +00:00
Dan Albert
f1c534b7d7
am eb560133
: Merge "Share log writing code."
...
* commit 'eb56013348668a292fb7302e34752a2b9cbcb834':
Share log writing code.
2015-04-03 18:00:55 +00:00
Dan Albert
eb56013348
Merge "Share log writing code."
2015-04-03 17:51:13 +00:00
Dan Albert
59193bc3a7
am 199ef0a6
: am 87eca3cb
: Merge "Support logging to other log buffers."
...
* commit '199ef0a6983ac99fd2773b2efaeda0455a23a214':
Support logging to other log buffers.
2015-04-03 17:45:32 +00:00
Dan Albert
c7aadc49d3
Share log writing code.
...
__android_log_write() was just a special form of
__android_log_buf_write that used a default log ID and set the abort
message for fatal messages. Presumably the latter was intended to be
set for __android_log_buf_write as well.
Change-Id: I51cff7561a2754676b2088d95fa4f4505ac3c3c2
2015-04-03 10:41:59 -07:00
Dan Albert
4270d8e5a9
am 87044e66
: am 5a50b16e
: am 8ea5dd8c
: Merge "Remove LogMessage::LogLineLowStack."
...
* commit '87044e667e0a0f7fbbb893742c441209072096a0':
Remove LogMessage::LogLineLowStack.
2015-04-03 17:31:04 +00:00
Dan Albert
cb2286d9c3
am 419c4fbe
: am 90e737a4
: am cc71951a
: Merge "Don\'t show lint errors for rvalue references."
...
* commit '419c4fbe6ae971e9a99b2ee836dea8491593767e':
Don't show lint errors for rvalue references.
2015-04-03 17:31:03 +00:00
Dan Albert
199ef0a698
am 87eca3cb
: Merge "Support logging to other log buffers."
...
* commit '87eca3cb4b1593d36945aad90cb179c4c5c906be':
Support logging to other log buffers.
2015-04-03 17:30:42 +00:00
Dan Albert
87eca3cb4b
Merge "Support logging to other log buffers."
2015-04-03 17:21:45 +00:00
Dan Albert
0c055863eb
Support logging to other log buffers.
...
LOGTO(dest, severity) and PLOGTO(dest, severity) log to other log
buffers. For example, `LOGTO(SYSTEM, FATAL) << "Foobar";`.
Change-Id: Id1ca1c8fdae72d69b73945ae9b006525d0be1582
2015-04-03 10:14:48 -07:00
Dan Albert
87044e667e
am 5a50b16e
: am 8ea5dd8c
: Merge "Remove LogMessage::LogLineLowStack."
...
* commit '5a50b16e38800e973a1afc5812983d06e8b9b7ef':
Remove LogMessage::LogLineLowStack.
2015-04-03 17:09:53 +00:00
Dan Albert
419c4fbe6a
am 90e737a4
: am cc71951a
: Merge "Don\'t show lint errors for rvalue references."
...
* commit '90e737a48468cf1e87af8c4ef321937aa4940fea':
Don't show lint errors for rvalue references.
2015-04-03 17:09:52 +00:00
Elliott Hughes
ec47e6259b
am 63ef8e28
: am 741b89dd
: am 691b44f5
: Merge "Lose umount to toybox."
...
* commit '63ef8e28c702abd46f22709fe61c96afeda8c00a':
Lose umount to toybox.
2015-04-03 17:07:27 +00:00
Dan Albert
5a50b16e38
am 8ea5dd8c
: Merge "Remove LogMessage::LogLineLowStack."
...
* commit '8ea5dd8c6e14e889e917a7e51a1b62bd49ca1dab':
Remove LogMessage::LogLineLowStack.
2015-04-03 16:59:21 +00:00
Dan Albert
90e737a484
am cc71951a
: Merge "Don\'t show lint errors for rvalue references."
...
* commit 'cc71951a8a6ffac2bd70d99fe25860f7bb71c5ec':
Don't show lint errors for rvalue references.
2015-04-03 16:59:20 +00:00
Dan Albert
8ea5dd8c6e
Merge "Remove LogMessage::LogLineLowStack."
2015-04-03 16:52:02 +00:00
Dan Albert
cc71951a8a
Merge "Don't show lint errors for rvalue references."
2015-04-03 16:51:42 +00:00
Elliott Hughes
e2837a9107
Remove execonce.
...
Use 'exec' instead.
Change-Id: I1320d1971f7cd8b23753c27aa87089006e112a11
2015-04-03 09:06:52 -07:00
Elliott Hughes
63ef8e28c7
am 741b89dd
: am 691b44f5
: Merge "Lose umount to toybox."
...
* commit '741b89ddfd56c52c9a8ae1549dff686fe679500f':
Lose umount to toybox.
2015-04-03 15:20:45 +00:00
Elliott Hughes
741b89ddfd
am 691b44f5
: Merge "Lose umount to toybox."
...
* commit '691b44f55f8046c1464c31961182d8ff647697e2':
Lose umount to toybox.
2015-04-03 15:11:00 +00:00
Elliott Hughes
691b44f55f
Merge "Lose umount to toybox."
2015-04-03 15:03:02 +00:00
Elliott Hughes
16bcaac5fd
am cd868370
: am b2c3473d
: am 70df6f85
: Merge "Just use snprintf for android_get_control_socket."
...
* commit 'cd8683709c2d1bcac7e3b9de827a2dfc8f24bf09':
Just use snprintf for android_get_control_socket.
2015-04-03 14:53:01 +00:00
Christopher Ferris
84dbd37b99
am ddeb9eaa
: am cadf4284
: am 4d9281da
: Merge "Update the test for better output on error."
...
* commit 'ddeb9eaa1e6fc4b920b95cd6269d2a79c15647e5':
Update the test for better output on error.
2015-04-03 14:52:56 +00:00
Elliott Hughes
1a0c61cce4
am 45ae15f9
: am 49c381af
: am 8e192f62
: Merge "Fix Windows strlcpy.c build."
...
* commit '45ae15f9002cdd9117ac10079b112b987dc43717':
Fix Windows strlcpy.c build.
2015-04-03 14:52:47 +00:00
Elliott Hughes
bbc6e1bf86
am b4573331
: am adc10102
: am 4c1d4a0e
: Merge "Be more intention-revealing with libcutils\' strlcpy."
...
* commit 'b45733319dc269375d599da894eecd2ffa4211ff':
Be more intention-revealing with libcutils' strlcpy.
2015-04-03 14:52:33 +00:00
Elliott Hughes
17cb719e10
Lose umount to toybox.
...
Change-Id: Ide35731c37d70ccb38a5e84b7310434ce6c3aa6e
2015-04-02 21:24:34 -07:00
Elliott Hughes
cd8683709c
am b2c3473d
: am 70df6f85
: Merge "Just use snprintf for android_get_control_socket."
...
* commit 'b2c3473d35d2fb8ea7bec9de290f7add979e5474':
Just use snprintf for android_get_control_socket.
2015-04-03 03:55:49 +00:00
Elliott Hughes
b2c3473d35
am 70df6f85
: Merge "Just use snprintf for android_get_control_socket."
...
* commit '70df6f85fe8164010be3e4e1cf87e1dd31fb7614':
Just use snprintf for android_get_control_socket.
2015-04-03 03:45:30 +00:00
Elliott Hughes
70df6f85fe
Merge "Just use snprintf for android_get_control_socket."
2015-04-03 03:35:24 +00:00