Commit graph

12720 commits

Author SHA1 Message Date
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
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
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
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
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
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
Dan Albert
0cc351b1a7 Remove LogMessage::LogLineLowStack.
This was ported over from ART, but even they only use it in a single
place.

Change-Id: Ia34dc54b56c764ede79b2957bf3dc8df0f1323ee
2015-04-02 18:43:32 -07:00
Dan Albert
da926f0350 Don't show lint errors for rvalue references.
Change-Id: Ic936c9e3778303d1d26813b844ccd3bb26701550
2015-04-02 18:38:01 -07:00
Christopher Ferris
ddeb9eaa1e am cadf4284: am 4d9281da: Merge "Update the test for better output on error."
* commit 'cadf428403314769f22d3b54b81d082294992ddc':
  Update the test for better output on error.
2015-04-03 01:15:19 +00:00
Christopher Ferris
cadf428403 am 4d9281da: Merge "Update the test for better output on error."
* commit '4d9281dae8be449991d19e7408bc2aec10232dac':
  Update the test for better output on error.
2015-04-03 01:01:43 +00:00
Christopher Ferris
4d9281dae8 Merge "Update the test for better output on error." 2015-04-03 00:53:40 +00:00
Elliott Hughes
edc49d7b98 Just use snprintf for android_get_control_socket.
Change-Id: I3d0da03847f79c9f9b2cfd7189a07f63b17fc4a2
2015-04-02 17:42:56 -07:00
Elliott Hughes
45ae15f900 am 49c381af: am 8e192f62: Merge "Fix Windows strlcpy.c build."
* commit '49c381af1af3ceb52615416a4a7faede669f0d70':
  Fix Windows strlcpy.c build.
2015-04-03 00:41:02 +00:00
Elliott Hughes
49c381af1a am 8e192f62: Merge "Fix Windows strlcpy.c build."
* commit '8e192f626edb59d106d73f8f7894823c47457f82':
  Fix Windows strlcpy.c build.
2015-04-03 00:31:40 +00:00
Elliott Hughes
8e192f626e Merge "Fix Windows strlcpy.c build." 2015-04-03 00:22:40 +00:00
Elliott Hughes
8193d41ea6 Fix Windows strlcpy.c build.
Change-Id: I572c553227a5a2cd57ec304de7e898d7c801fe93
2015-04-02 17:21:47 -07:00
Elliott Hughes
b45733319d am adc10102: am 4c1d4a0e: Merge "Be more intention-revealing with libcutils\' strlcpy."
* commit 'adc10102492a3d46478d6687a3cfcc4d6488c1fb':
  Be more intention-revealing with libcutils' strlcpy.
2015-04-03 00:08:54 +00:00
Elliott Hughes
adc1010249 am 4c1d4a0e: Merge "Be more intention-revealing with libcutils\' strlcpy."
* commit '4c1d4a0e8ec344799813ce5e6642946839e0036a':
  Be more intention-revealing with libcutils' strlcpy.
2015-04-02 23:54:37 +00:00
Elliott Hughes
4c1d4a0e8e Merge "Be more intention-revealing with libcutils' strlcpy." 2015-04-02 23:43:11 +00:00
Elliott Hughes
2040031f7b Be more intention-revealing with libcutils' strlcpy.
Several people have been independently confused about when this gets
built and why over the past couple of days.

Change-Id: I2d4a02f66e24c0734327585b7d27e50a344b1e94
2015-04-02 15:39:33 -07:00
Christopher Ferris
97e00bb25a Update the test for better output on error.
Change-Id: Id3b0b96a33441ce5d908aac38e639ac3598a7a89
2015-04-02 15:36:09 -07:00
Mark Salyzyn
dba7973f30 am f7f8f15b: am 34efe4cf: Merge "mkbootfs: move fs_config to libcutils"
* commit 'f7f8f15bfbbc49342fe4258833ae56bf8cf5cb5b':
  mkbootfs: move fs_config to libcutils
2015-04-02 22:06:00 +00:00
Mark Salyzyn
f7f8f15bfb am 34efe4cf: Merge "mkbootfs: move fs_config to libcutils"
* commit '34efe4cf1ad8d080b37fc02bf55e42eb2ea643b6':
  mkbootfs: move fs_config to libcutils
2015-04-02 21:55:03 +00:00
Elliott Hughes
8d2cd03547 am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed."
* commit '2ddb9cb106d13451cfd3d95fc8b4bc3619959900':
  Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
2015-04-02 21:50:14 +00:00
Mark Salyzyn
34efe4cf1a Merge "mkbootfs: move fs_config to libcutils" 2015-04-02 21:46:41 +00:00
Elliott Hughes
797b246ff3 am a1f69f18: am 21593186: Merge "Move all libcutils tests into the gtests."
* commit 'a1f69f180876b0d9a74dd967c1dfdabb3722a318':
  Move all libcutils tests into the gtests.
2015-04-02 21:45:02 +00:00
Elliott Hughes
2ddb9cb106 am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed."
* commit 'ed43be3948b143af03ab52f0c9457fc35a44176c':
  Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
2015-04-02 21:44:47 +00:00
Elliott Hughes
a1f69f1808 am 21593186: Merge "Move all libcutils tests into the gtests."
* commit '2159318647b6032a9d752012b923c579dc1f80da':
  Move all libcutils tests into the gtests.
2015-04-02 21:35:18 +00:00
Elliott Hughes
ed43be3948 Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed." 2015-04-02 21:34:40 +00:00
Elliott Hughes
bcc2b5f44a Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
2015-04-02 14:31:07 -07:00
Elliott Hughes
2159318647 Merge "Move all libcutils tests into the gtests." 2015-04-02 21:26:32 +00:00
Elliott Hughes
af98efbd15 Move all libcutils tests into the gtests.
This also fixes the bug where we were always testing against the fake
strlcpy we provide for glibc/Windows rather than the Android one.

This also removes some unnecessary library dependencies.

This also builds all the cutils tests for the host (static and dynamic).

Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
2015-04-02 14:25:55 -07:00
Elliott Hughes
aaf25409b0 am 84ab5563: am d8fb29b0: Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils."
* commit '84ab55632a76d95a769ef3c62f401bb35276c47c':
  Move mips/mips64 android_memset16/android_memset32 into libcutils.
2015-04-02 20:53:54 +00:00
Elliott Hughes
84ab55632a am d8fb29b0: Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils."
* commit 'd8fb29b0c09de25c416141a4bb150cc7db9f28ca':
  Move mips/mips64 android_memset16/android_memset32 into libcutils.
2015-04-02 20:43:22 +00:00
Elliott Hughes
d8fb29b0c0 Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils." 2015-04-02 20:35:20 +00:00