summaryrefslogtreecommitdiffstats
path: root/libs/utils/String16.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove libutilsAlex Ray2013-07-311-422/+0
| | | | | | | libutils is being moved from frameworks/native/ to system/core/ in order to facilitate native C++ platform (non-frameworks) code. Change-Id: I44089fb960591a40b8a9c30faabb10459d107d71
* new String8, String16 ctors to initialize empty static strings with static ↵Mathias Agopian2013-05-081-0/+13
| | | | | | | | | | | | | | | | linkage when libutils is statically linked, the ordering of the static initializer is not guaranteed and therefore it's unsafe to use empty static strings: e.g.: static String8 sThisStaticStringIsNotSafe; instead, this new constructor can be used: static String8 sThisStaticStringIsSafe(kEmptyString); Change-Id: Ia3daf1cab1c97d021c0ee9c2b394b5e27e8d6c0d
* libutils clean-upMathias Agopian2013-05-071-9/+0
| | | | Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
* Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGESteve Block2012-01-091-2/+2
| | | | | | | See https://android-git.corp.google.com/g/157519 Bug: 5449033 Change-Id: I8ceb2dba1b031a0fd68d15d146960d9ced62bbf3
* Split UTF functions from String8/16Kenny Root2010-11-121-234/+19
| | | | | | | Split out all the UTF-8/16/32 handling code from String8/16 to its own file to allow better reuse of code. Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
* Optional use of UTF-8 strings in resource bundlesKenny Root2009-12-071-24/+34
| | | | | | | | | | | | | | | Allows the use of UTF-8 for packing resources instead of the default of UTF-16 for Java. When strings are extracted from the ResStringPool, they are converted to UTF-16 and the result is cached for subsequent calls. When using aapt to package, add in the "-8" switch to pack the resources using UTF-8. This will result in the value, key, and type strings as well as the compiled XML string values taking significantly less space in the final application package in most scenarios. Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-3/+17
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-1/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+609
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-609/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+609