summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [libutils] Modernize codebase by replacing NULL with nullptrYi Kong2018-07-161-5/+5
| | | | | | | | Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I5e89ec8c42151875439d2656475a8739ab9cb7dc
* Merge "Va_end should be used with va_start" am: 5f4808382eMikhail Lappo2017-06-141-0/+2
|\ | | | | | | | | | | am: 34b7617cb7 Change-Id: Ibc9fed36270da3f960179086792ce1187be31e92
| * Va_end should be used with va_startMikhail Lappo2017-03-231-0/+2
| | | | | | | | | | | | | | va_start is used and va_end should be invoked accordingly Change-Id: Id7037aa8092438b27e445e5147972836602bfd55
* | Add missing includes.Steven Moreland2017-03-101-0/+2
| | | | | | | | | | | | | | | | Includes are transitively imported by <string> in String8.h + String16.h but that include is being removed. Test: pass Change-Id: Ide5c011b40b4a4f031dd26ead08b5c8d5d299693
* | clean-up libutils includesMathias Agopian2017-03-031-4/+0
|/ | | | | | | | | | | | moved Foo.h as first include of Foo.cpp, and removed redundant includes. Made NativeHandle non virtual. Test: run & compile Bug: n/a Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a
* Test for _WIN32 in instead of USE_MINGW.Elliott Hughes2016-10-051-2/+2
| | | | | | Bug: http://b/23392815 Test: builds Change-Id: I7fce8de1f0e2314170cce456cd49346dcee9d134
* Move libutils from fdprintf to POSIX dprintf.Elliott Hughes2014-05-221-5/+1
| | | | | Bug: 11156955 Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
* Move CallStack to libbacktrace.Christopher Ferris2014-01-091-0/+1
| | | | | | | | | Fix a small bug in the Printer for strings that didn't properly prepend the prefix. (cherry picked from commit 9b0e074c6d38143e01616404a08b0c7aa992f3c3) Change-Id: I78bfa3f76864c34f33fb439bf20dfc85616f1077
* utils: Fix broken sdk build on windowsandroid-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1Igor Murashkin2013-10-301-0/+8
| | | | | Bug: 11324229 Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
* utils: Add ProcessCallStack to collect stack traces for all threads in a processIgor Murashkin2013-10-251-0/+155
- Also add a Printer class (print lines to logcat, fd, or strings) Bug: 11324229 Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3