summaryrefslogtreecommitdiffstats
path: root/libutils
Commit message (Collapse)AuthorAgeFilesLines
* libutils: Don't segfault ProcessCallStack when getting thread name failsIgor Murashkin2014-08-191-0/+5
| | | | | | | | | | | | | There's an inherent race in trying to read out the thread name from the system and the thread closing out on its own (and thus being removed from procfs). Try to handle this by formatting the thread name unconditionally with the tid when getting the thread name fails (instead of dereferencing NULL and crashing). Bug: 15406837 Change-Id: Ibf2208b8ce345589e7e9c57e6a307728d1121c5d
* Exclude bionic private headers from include pathDmitriy Ivanov2014-07-312-2/+2
| | | | | | (cherry picked from commit 9516139c03e7e48b2c23a5b53dc4309989e54c6b) Change-Id: I2883e2a13a523e6938c8a3aed93e66af948cdcd8
* BlobCache: fix uninitialized memoryAntoine Labour2014-07-281-1/+8
| | | | | | | | When flattening the BlobCache, we insert padding for alignment. Make sure to zero the padding bytes to have reproducible results. Bug: 16569863 Change-Id: Id39eac5e6a1687459eb6bc2074b1339393fce711
* Remove invalid 64-bit host objects.Stephen Hines2014-07-251-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. Cherry-pick from AOSP: 03cc1f747c4e92d572a88ec3eb9fde920e871a7e Change-Id: Icd09f795acd220de5b5e956a8d8e1b4ab4864fa9
* am 72299bf0: [Bug]NE when playing mp3 with incorrect UTF16 charCylen Yao2014-06-111-1/+2
|\ | | | | | | | | * commit '72299bf0d240072174f847d13f1c9498b3ef9fa6': [Bug]NE when playing mp3 with incorrect UTF16 char
| * [Bug]NE when playing mp3 with incorrect UTF16 charCylen Yao2014-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 15274351 Bug: 15539240 Many MP3 files have incorrect utf16 chars, but the Utf16_to_utf8_length() routine checks for errors in standard utf16 char. utf16_to_utf8() was not checking for errors in standard utf16 char. Change-Id: Iafd922ff92cabe6bba8971215fcfd1fd471c894b (cherry picked from commit 605b139cdf56364c6c9b37e59dd12efc61c24631)
| * Add a couple of useful string functions. (DO NOT MERGE)Jeff Brown2014-06-091-0/+24
| | | | | | | | | | Change-Id: I158f69917bab5f15482dd8f2b66b36a4cc0f11ad (cherry picked from commit 5ee915afe17b7190f992addc48cb53ed6371a68d)
* | Add a couple of useful string functions.Jeff Brown2014-06-091-0/+24
| | | | | | | | Change-Id: I158f69917bab5f15482dd8f2b66b36a4cc0f11ad
* | 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.
| * \ am 72d77449: am 4ca26ce8: Merge "Host multilib build of both 32-bit and ↵Ian Rogers2014-06-051-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 64-bit libraries." * commit '72d77449d99833140f7dd838db6556484031da29': 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-0413-60/+80
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'b2a9129e8f0666884dee660515c51d4dd5c17c7a': libutils: turn on -Werror
| * | | am bf0ed824: am 60ca7a22: Merge "libutils: turn on -Werror"Mark Salyzyn2014-06-0413-60/+80
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'bf0ed82485e0166dd5f5c9415026c2dc3fd2ae4b': libutils: turn on -Werror
| | * | libutils: turn on -WerrorMark Salyzyn2014-06-0213-60/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-302-4/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '4b126c4604965ea029d9c741d074ad7f820b5269': Revert "Move libutils to libc++"
| * | | am e8f90ca6: am 570cd46d: Merge "Revert "Move libutils to libc++""Dan Albert2014-05-302-4/+9
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'e8f90ca60d65f5a0542b77f8f517c4fb80da2e52': Revert "Move libutils to libc++"
| | * | Merge "Revert "Move libutils to libc++""Dan Albert2014-05-302-4/+9
| | |\ \
| | | * | Revert "Move libutils to libc++"Dan Albert2014-05-302-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-9/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '58f4a09bb4375c2f7b85ec14449a0588e85e126a': Move libutils to libc++
| * | | | am 36f536fc: am 9f69e028: Merge "Move libutils to libc++"Dan Albert2014-05-302-9/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '36f536fc7b88fe21a974bce6fed565bc622b5bc2': Move libutils to libc++
| | * | | Merge "Move libutils to libc++"Dan Albert2014-05-302-9/+4
| | |\ \ \ | | | |/ /
| | | * | Move libutils to libc++Dan Albert2014-05-292-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15193147 Change-Id: Ib4b1835e77279db905e098abc7c9bf8d27d66b57
* | | | | am 4547273b: am 265262a8: am 5f815da3: Merge "String16.cpp rm unused ↵Mark Salyzyn2014-05-291-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | utils/Debug.h" * commit '4547273b427422d69260a21dd19b1480aff7b890': String16.cpp rm unused utils/Debug.h
| * | | | am 265262a8: am 5f815da3: Merge "String16.cpp rm unused utils/Debug.h"Mark Salyzyn2014-05-291-1/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '265262a8b243faa16c268ac40801a226359437a6': String16.cpp rm unused utils/Debug.h
| | * | | String16.cpp rm unused utils/Debug.hMark Salyzyn2014-05-291-1/+0
| | |/ / | | | | | | | | | | | | Change-Id: Ie7e3695770f20be33738a0f0a868cc914248d91a
* | | | am 29415ce2: am 72f51179: am cd3897d0: Merge "Move libutils from fdprintf to ↵Calin Juravle2014-05-221-5/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | POSIX dprintf." * commit '29415ce2fbb3a96e513abd00589da169d3399aee': Move libutils from fdprintf to POSIX dprintf.
| * | am 72f51179: am cd3897d0: Merge "Move libutils from fdprintf to POSIX dprintf."Calin Juravle2014-05-221-5/+1
| |\ \ | | |/ | | | | | | | | | * commit '72f51179849c338747fd83d638c90b6be42a43cf': Move libutils from fdprintf to POSIX dprintf.
| | * Move libutils from fdprintf to POSIX dprintf.Elliott Hughes2014-05-221-5/+1
| | | | | | | | | | | | | | | Bug: 11156955 Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
* | | am b18da571: am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-8/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893': Remove unused LOCAL_LDLIBS.
| * | am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-071-8/+0
| |\ \ | | |/ | | | | | | | | | * commit '1e6cd741fd130e5916337eb75c9ceef2152035d2': Remove unused LOCAL_LDLIBS.
| | * Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-8/+0
| | | | | | | | | | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
* | | am 2898a4ad: am 7fb0ff53: am 25f07f77: Merge changes I487ebe67,Ie7a0aeb2Mark Salyzyn2014-04-171-44/+36
|\ \ \ | |/ / | | | | | | | | | | | | * commit '2898a4ad5ede1fa3d42b4b2bd54a4b91b61bcc2b': libutils: FileMap styling adjustments libutils: FileMap 64 bit compile issues
| * | am 7fb0ff53: am 25f07f77: Merge changes I487ebe67,Ie7a0aeb2Mark Salyzyn2014-04-171-44/+36
| |\ \ | | |/ | | | | | | | | | | | | * commit '7fb0ff53e87115d98af7272368348bbc270516ae': libutils: FileMap styling adjustments libutils: FileMap 64 bit compile issues
| | * libutils: FileMap styling adjustmentsMark Salyzyn2014-04-171-35/+26
| | | | | | | | | | | | Change-Id: I487ebe67a46a7b8f680e722141dd216bbd396f3e
| | * libutils: FileMap 64 bit compile issuesMark Salyzyn2014-04-171-9/+10
| | | | | | | | | | | | Change-Id: Ie7a0aeb2a7e2d2a90aa2b97c657ea7ec566bf793
* | | am 270abd69: am ca242b49: am 280b7d40: Merge "libutils: BlobCache 64 bit ↵Mark Salyzyn2014-04-171-13/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | compile issues" * commit '270abd69448a1cae78649127aa43750b4067192f': libutils: BlobCache 64 bit compile issues
| * | am ca242b49: am 280b7d40: Merge "libutils: BlobCache 64 bit compile issues"Mark Salyzyn2014-04-171-13/+14
| |\ \ | | |/ | | | | | | | | | * commit 'ca242b497daa152f517f2b74037d5e2765f3ad2d': libutils: BlobCache 64 bit compile issues
| | * libutils: BlobCache 64 bit compile issuesMark Salyzyn2014-04-171-13/+14
| | | | | | | | | | | | Change-Id: I60e9bddfff04f19834b83bdc26a83ca7173363c3
* | | am 48030e68: am e7ddcad8: am 0f4575db: Merge "HAVE_POSIX_CLOCKS doesn\'t ↵Narayan Kamath2014-04-151-2/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | imply CLOCK_BOOTTIME." * commit '48030e68e5d2d763ab9c1ca88036837e1e4f3c08': HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME.
| * | am e7ddcad8: am 0f4575db: Merge "HAVE_POSIX_CLOCKS doesn\'t imply ↵Narayan Kamath2014-04-151-2/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | CLOCK_BOOTTIME." * commit 'e7ddcad89f2950d58b4022b55f2cf693daac2e19': HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME.
| | * Merge "HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME."Narayan Kamath2014-04-151-2/+4
| | |\
| | | * HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME.Narayan Kamath2014-04-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_POSIX_CLOCKS imples clock_gettime,settime and CLOCK_REALTIME / CLOCK_MONOTONIC. CLOCK_BOOTTIME appears only on newer versions of glibc and might only be supported on newer kernels. Change-Id: I66e724a3593538c3b80de2c5f81a964d3fa96eaf
* | | | am 43cb7ae6: am 4f362e43: am 835526fd: Merge "Cleanup: warning fixit."Sasha Levitskiy2014-04-122-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '43cb7ae6c31ced8cd518eab59dfea31ab1ade812': Cleanup: warning fixit.
| * | | am 4f362e43: am 835526fd: Merge "Cleanup: warning fixit."Sasha Levitskiy2014-04-122-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '4f362e438c6ee5688c4f2f444203ed7acffa566b': Cleanup: warning fixit.
| | * | Cleanup: warning fixit.Sasha Levitskiy2014-04-112-2/+2
| | |/ | | | | | | | | | | | | | | | | | | bootable/recovery has a dependent commit: I9adb470b04e4301989d128c9c3097b21b4dea431 Change-Id: Icf23e659265d71d5226d527c2b40cfbc132320ee Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | Merge "Clarify ownership for NativeHandle::mHandle"Wonsik Kim2014-04-021-6/+9
|\ \ \
| * | | Clarify ownership for NativeHandle::mHandleWonsik Kim2014-03-241-6/+9
| | | | | | | | | | | | | | | | Change-Id: I0835278df1aa78f10d5493d7ef2c9e4a15c0fee9
* | | | am cb6daaaf: am 9d379a1e: am dfdbb64f: Merge "Fix stack trace logging in ↵Igor Murashkin2014-04-021-2/+2
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | RefBase." * commit 'cb6daaafa45c81c3c304eac947d2e2fca15f3171': Fix stack trace logging in RefBase.
| * | am 9d379a1e: am dfdbb64f: Merge "Fix stack trace logging in RefBase."Igor Murashkin2014-04-011-2/+2
| |\ \ | | |/ | | | | | | | | | * commit '9d379a1e02f25cbc06db55952d981b0dbba75b5c': Fix stack trace logging in RefBase.
| | * Fix stack trace logging in RefBase.Ian McKellar2014-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | This was broken about 5 months ago in change I78435ed49aa196a0efb45bf9b2d58b62c41737d3. See: https://goto.google.com/jhtss Change-Id: Icc32993552efed3015bc1b79a7bd872d7510e020