summaryrefslogtreecommitdiffstats
path: root/libutils/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* libutils: Fix integer overflows in VectorImpl.Narayan Kamath2015-09-281-0/+3
| | | | | | | | | | | | | | | | | Use external/safe-iop to check for overflows on arithmetic operations. Also remove an unnecessary copy of Vector/SharedBuffer from codeflinger and use the copy from libutils instead. Note that some of the unit tests are somewhat useless due to test-runner limitations : gtest's ability to filter on abort message doesn't work when combined with messages formatted by android's logging system. bug: 22953624 Change-Id: I46b1ae8ca1f3a010be13aca36a091e76a97a7b70
* libutils: fix overflow in SharedBuffer [DO NOT MERGE]Sergio Giro2015-08-251-0/+16
| | | | | | | | | | See https://code.google.com/p/android/issues/detail?id=181910 Bug: 22952485 (cherry picked from commit 66b6eb9490beeeabc804d790c1c4060ce047afd4) Change-Id: I363f49b5b3c6b7b3ac08cba2c14d72c431588c5a
* Adding a build id check to blob cache.Michael Lentine2015-05-181-2/+3
| | | | | | | | | | | | | | Add a build id field to the header structure in blob cache. Add build id support with reading and writing the cache. When the cache gets written it writes the build id at the end of the header. When read it checks to see if there is a match between the current version and the version in the cache. If not, it invalidates the cache which would typically only occur during an ota update. Also remove blob cache from the host build. bug: 18262905 Change-Id: I753b1de1986703a4c1c8691b9d2bb533b2546143
* Move LinearAlloc to libhwuiJohn Reck2015-04-231-1/+0
| | | | Change-Id: I83a70959ed0dcab2237faaf1dddc02b5eb0363c9
* Revert "Revert "Create libbase.""Dan Albert2015-03-161-2/+0
| | | | | | This reverts commit a7870d88167f619e758b5bcd15b410d16da7c16b. (cherry picked from commit c007bc3856a4cf86b8f610eb045f26a9dedc2894)
* Revert "Create libbase."Nicolas Geoffray2015-03-161-0/+2
| | | | | | | | Breaks internal master. This reverts commit 98ff77204cef9bb8f0f27420833233622060a09e. Change-Id: I18dc6021cb43efff8aa88486c2d980dc2b8eedba
* Create libbase.Dan Albert2015-03-141-2/+0
| | | | | | | Move StringPrintf and the string based file I/O from libutils to libbase. Change-Id: I0297a6063874b9d92100e0dd5123fddfbda932fe
* Add Google-style StringPrintf.Elliott Hughes2015-02-031-0/+1
| | | | Change-Id: If333c28b8ed047346a2dd85e591c4bedbab874cc
* Add Google-style ReadFileToString and WriteStringToFile.Elliott Hughes2015-02-031-10/+3
| | | | | Bug: 19217569 Change-Id: I64789d3fa6777ee30a324cdf00fdc275c1230e1b
* Clean up libutils Android.mkTrevor Drake2014-12-061-10/+0
| | | | | | | | | | | | | | | | | Removed LOCAL_C_INCLUDES as the external/zlib headers are no longer referenced by anything in libutils. Removed unused host_commonLdlibs build variable. This was referenced by the lib64utils host target which was removed in commit 03cc1f747 Tested compiling some of the projects that make use of libcutils using a clean out dir with the folllowing targets aosp_arm-eng : make -j16 logd dexdump aosp-flouder-userdebug : make -j16 keystore vold libjavacore logd aosp-x86_64-eng : make -j16 keystore vold libjavacore logd dexdump Change-Id: I663e52bbf28dde27866dad9429bf95ada6b594a5
* Move libutils to libc++.Dan Albert2014-11-151-4/+0
| | | | | Bug: 15193147 Change-Id: I85aff3bcabb5ee3c8be9918b7bef0fd1bbfa98e3
* am e4bf208c: am 082a52b5: Merge "Move libutils over to pthread_gettid_np."Elliott Hughes2014-09-121-2/+1
|\ | | | | | | | | * commit 'e4bf208ce8d893634a0f6f63ce34ec6498934d05': Move libutils over to pthread_gettid_np.
| * Move libutils over to pthread_gettid_np.Elliott Hughes2014-09-121-2/+1
| | | | | | | | | | Bug: 17476168 Change-Id: I934d93a023eb00e036ed3cee8c52efaeb17b8915
* | am 52b59127: am e7ec28bb: Merge "Exclude bionic private headers from include ↵Dmitriy Ivanov2014-07-311-1/+1
|\ \ | |/ | | | | | | | | | | path" * commit '52b59127d847bef1fd16efe2df578b3079b37918': Exclude bionic private headers from include path
| * Exclude bionic private headers from include pathDmitriy Ivanov2014-07-311-1/+1
| | | | | | | | Change-Id: I8b1269a739a690af91c63fa0f7f8f01d2d43bb97
* | am f2879ef6: am 6698ebf9: Merge "Fix Darwin build caused by -Wunused-parameter."Tim Murray2014-07-251-0/+3
|\ \ | |/ | | | | | | * commit 'f2879ef61453c845e2f675011e0cbc41d1396040': Fix Darwin build caused by -Wunused-parameter.
| * Fix Darwin build caused by -Wunused-parameter.Tim Murray2014-07-241-0/+3
| | | | | | | | | | | | bug 16172793 Change-Id: I1d0514c00085cb5d18ebdd064e96885d6eaa1e59
* | am 31dc191b: am 73290cd1: Merge "Remove invalid 64-bit host objects."Stephen Hines2014-07-221-13/+0
|\ \ | |/ | | | | | | * commit '31dc191b2b39d4cbd68feba29c7692c91de57a53': Remove invalid 64-bit host objects.
| * Remove invalid 64-bit host objects.Stephen Hines2014-07-221-13/+0
| | | | | | | | | | | | | | | | | | Bug: 16408818 These targets are no longer in use, since we have a proper way to create both 32-bit and 64-bit host libraries in a single build now. Change-Id: Icd09f795acd220de5b5e956a8d8e1b4ab4864fa9
* | am 928821bd: am 72d77449: am 4ca26ce8: Merge "Host multilib build of both ↵Ian Rogers2014-06-051-0/+1
|\ \ | |/ | | | | | | | | | | 32-bit and 64-bit libraries." * commit '928821bd123aa38094289b9c62debb4d92b84069': Host multilib build of both 32-bit and 64-bit libraries.
| * Host multilib build of both 32-bit and 64-bit libraries.Ian Rogers2014-06-051-0/+1
| | | | | | | | Change-Id: I54f91f385b109fc664a1a1f9320affb2a846fef1
* | am b2a9129e: am bf0ed824: am 60ca7a22: Merge "libutils: turn on -Werror"Mark Salyzyn2014-06-041-2/+4
|\ \ | |/ | | | | | | * commit 'b2a9129e8f0666884dee660515c51d4dd5c17c7a': libutils: turn on -Werror
| * libutils: turn on -WerrorMark Salyzyn2014-06-021-2/+4
| | | | | | | | | | | | | | | | | | - Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
* | am 4b126c46: am e8f90ca6: am 570cd46d: Merge "Revert "Move libutils to libc++""Dan Albert2014-05-301-4/+4
|\ \ | |/ | | | | | | * commit '4b126c4604965ea029d9c741d074ad7f820b5269': Revert "Move libutils to libc++"
| * Revert "Move libutils to libc++"Dan Albert2014-05-301-4/+4
| | | | | | | | | | | | | | | | Causes issues in the unbundled branches. This reverts commit dc133729b0bc983c6ecfecdb06ac8b433ea31350. Change-Id: I9185ce9ea9e0ea631f0bfe016edf38c6830b288a
* | am 58f4a09b: am 36f536fc: am 9f69e028: Merge "Move libutils to libc++"Dan Albert2014-05-301-4/+4
|\ \ | |/ | | | | | | * commit '58f4a09bb4375c2f7b85ec14449a0588e85e126a': Move libutils to libc++
| * Move libutils to libc++Dan Albert2014-05-291-4/+4
| | | | | | | | | | Bug: 15193147 Change-Id: Ib4b1835e77279db905e098abc7c9bf8d27d66b57
* | am b18da571: am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-8/+0
|\ \ | |/ | | | | | | * commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893': Remove unused LOCAL_LDLIBS.
| * Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-8/+0
| | | | | | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
| * Move CallStack to libbacktrace.Christopher Ferris2014-01-091-3/+7
| | | | | | | | | | | | | | | | | | Fix a small bug in the Printer for strings that didn't properly prepend the prefix. (cherry picked from commit 9b0e074c6d38143e01616404a08b0c7aa992f3c3) Change-Id: I78bfa3f76864c34f33fb439bf20dfc85616f1077
* | Add NativeHandle, a refcounted C++ wrapper around a native_handle_t*Jesse Hall2014-03-051-0/+1
| | | | | | | | Change-Id: I232dfa2ad2e4a463a39e2e901e4097dffe278cc3
* | Move CallStack to libbacktrace.Christopher Ferris2013-11-061-3/+7
|/ | | | | | | Fix a small bug in the Printer for strings that didn't properly prepend the prefix. Change-Id: I33c63841ef6e07728ab3195886539d82b38ee19a
* utils: Add ProcessCallStack to collect stack traces for all threads in a processIgor Murashkin2013-10-251-0/+2
| | | | | | | - Also add a Printer class (print lines to logcat, fd, or strings) Bug: 11324229 Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
* move libs/utils to libutilsAlex Ray2013-08-021-0/+144
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d