22dbf3947fedf988e714a4703ddf85fc41413f90 |
|
01-Mar-2017 |
Mathias Agopian <mathias@google.com> |
clean-up libutils includes 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
/system/core/libutils/Unicode.cpp
|
30f991f251940be3ed11566fb71139852286f68a |
|
10-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: use log/log.h when utilizing ALOG macros Test: compile Bug: 30465923 Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
/system/core/libutils/Unicode.cpp
|
cfd5b080af8de527d768f0ff7902c26af8d49307 |
|
17-Oct-2016 |
Mark Salyzyn <salyzyn@google.com> |
system/core: preparation to pull back interfaces from android/log.h Point to log/log.h where necessary, define LOG_TAG where necessary. Accept that private/android_logger.h is suitable replacement for log/logger.h and android/log.h. Correct liblog/README Effectively a cleanup and controlled select revert of 'system/core: drop or replace log/logger.h' and 'system/core: Replace log/log.h with android/log.h'. Test: compile Bug: 30465923 Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
/system/core/libutils/Unicode.cpp
|
ff2dcd9af994a23ed483939a416b48bdc10eefd5 |
|
29-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
system/core Replace log/log.h with android/log.h Should use android/log.h instead of log/log.h as a good example to all others. Adjust header order to comply with Android Coding standards. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I33a8fb4e754d2dc4754d335660c450e0a67190fc
/system/core/libutils/Unicode.cpp
|
1cfa56d46c7c31300c25dafd722ff60a5294c3b3 |
|
28-Jun-2016 |
Sergio Giro <sgiro@google.com> |
libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length is causing a heap overflow. Correcting the length computation and adding bound checks to the conversion functions. Test: ran libutils_tests Bug: 29250543 Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb (cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1)
/system/core/libutils/Unicode.cpp
|
9de6776321b80d387e6108683547bc043f868925 |
|
20-Jul-2016 |
Sergio Giro <sgiro@google.com> |
Unicode: specify destination length in utf8_to_utf16 methods String16(const char *utf8) now returns the empty string in case a string ends halfway throw a utf8 character. Bug: 29267949 Clean cherry-pick from 1dcc0c82394ec9cd6887c7ca39f9b5024db01ac9 Change-Id: I5223caa7d42f4582a982609a898a02043265c6d3
/system/core/libutils/Unicode.cpp
|
0fd60eb9b4026bcbc3a075e6aa9264346bcc25d1 |
|
16-May-2016 |
Michael Wright <michaelwr@google.com> |
Fix strstr16. strcmp needs a limit, otherwise it will compare the null terminator with the next character in the haystack, which results in the compare failing for all searches except where the needle is found at the very end. Bug: 28663748 Change-Id: I1939dc4037c2f2a75d617943b063d2d38a8c5e3a
/system/core/libutils/Unicode.cpp
|
5bacef33c91e9625dfd09ecf638c2de7faecd34e |
|
09-May-2016 |
Michael Wright <michaelwr@google.com> |
Add String16#contains and strstr16 methods. These are needed for aapt to find javadoc comments that contain "@removed" in order to skip them when printing styleable docs. Bug: 28663748 Change-Id: I8866d2167c41e11d6c2586da369560d5815fd13e
/system/core/libutils/Unicode.cpp
|
adbf442a515c51cb2acb34e20c1d2ea0e843c660 |
|
30-Jul-2015 |
Elliott Hughes <enh@google.com> |
Use _WIN32 rather than HAVE_WINSOCK. Change-Id: I9855b6fe72e2f2f3a8360c0993a67cb988024ee4
/system/core/libutils/Unicode.cpp
|
a53c815323f828a71f739e31ca248c7b9cfc4771 |
|
24-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Libutils: Comment out unused constants For build-system CFLAGS clean-up, "remove" unused variables. Change-Id: Ic96f066981cd96ca16af81ee3fdbc972507e8c81
/system/core/libutils/Unicode.cpp
|
97ac0e1bb42ddd17c75691ecbe1df8a6520d4c81 |
|
22-Nov-2014 |
Elliott Hughes <enh@google.com> |
Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN. Change-Id: I9e25ac9d27e95b04fb8bf7a66c619af0139d8b8f
/system/core/libutils/Unicode.cpp
|
3b1380385004e535c6214b8199181a055f1e21d0 |
|
11-Jun-2014 |
Cylen Yao <cylen.yao@mediatek.com> |
am 72299bf0: [Bug]NE when playing mp3 with incorrect UTF16 char * commit '72299bf0d240072174f847d13f1c9498b3ef9fa6': [Bug]NE when playing mp3 with incorrect UTF16 char
|
72299bf0d240072174f847d13f1c9498b3ef9fa6 |
|
04-Jun-2014 |
Cylen Yao <cylen.yao@mediatek.com> |
[Bug]NE when playing mp3 with incorrect UTF16 char 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)
/system/core/libutils/Unicode.cpp
|
5bed8036644f552210a7cfcbed2d6d20cf2981b0 |
|
30-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
libutils: turn on -Werror - 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
/system/core/libutils/Unicode.cpp
|
d98e07fdf9c338589f263c47ce5c844ed43efad5 |
|
02-Aug-2013 |
Alex Ray <aray@google.com> |
move libs/utils to libutils Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d
/system/core/libutils/Unicode.cpp
|