/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | CharsetUtilsTest.java | 44 assertEquals(0, CharsetUtils.toModifiedUtf8Bytes("", destPtr, 0, dest.length)); in testModifiedUtf8_Empty() 46 assertEquals("", CharsetUtils.fromModifiedUtf8Bytes(destPtr, 0, 0)); in testModifiedUtf8_Empty() 53 assertEquals("!\0!", CharsetUtils.fromModifiedUtf8Bytes(destPtr, 0, 4)); in testModifiedUtf8_Null() 60 assertEquals("example", CharsetUtils.fromModifiedUtf8Bytes(destPtr, 0, 7)); in testModifiedUtf8_Simple() 65 assertEquals(3, CharsetUtils.toModifiedUtf8Bytes("☃", destPtr, 4, dest.length)); in testModifiedUtf8_Complex() 67 assertEquals("☃", CharsetUtils.fromModifiedUtf8Bytes(destPtr, 4, 3)); in testModifiedUtf8_Complex() 72 assertEquals(-3, CharsetUtils.toModifiedUtf8Bytes("foo", destPtr, 0, 0)); in testModifiedUtf8_Bounds() 73 assertEquals(-3, CharsetUtils.toModifiedUtf8Bytes("foo", destPtr, 0, 2)); in testModifiedUtf8_Bounds() 74 assertEquals(-3, CharsetUtils.toModifiedUtf8Bytes("foo", destPtr, -2, 8)); in testModifiedUtf8_Bounds() 75 assertEquals(-3, CharsetUtils.toModifiedUtf8Bytes("foo", destPtr, 6, 8)); in testModifiedUtf8_Bounds() [all …]
|
/aosp12/art/runtime/native/ |
H A D | libcore_util_CharsetUtils.cc | 187 FAST_NATIVE_METHOD(CharsetUtils, asciiBytesToChars, "([BII[C)V"), 188 FAST_NATIVE_METHOD(CharsetUtils, isoLatin1BytesToChars, "([BII[C)V"), 189 FAST_NATIVE_METHOD(CharsetUtils, toAsciiBytes, "(Ljava/lang/String;II)[B"), 190 FAST_NATIVE_METHOD(CharsetUtils, toIsoLatin1Bytes, "(Ljava/lang/String;II)[B"), 191 FAST_NATIVE_METHOD(CharsetUtils, toUtf8Bytes, "(Ljava/lang/String;II)[B"),
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastDataOutput.java | 20 import android.util.CharsetUtils; 118 int len = CharsetUtils.toModifiedUtf8Bytes(s, mBufferPtr, mBufferPos + 2, mBufferCap); in writeUTF() 133 CharsetUtils.toModifiedUtf8Bytes(s, mRuntime.addressOf(tmp), 0, tmp.length); in writeUTF()
|
H A D | FastDataInput.java | 20 import android.util.CharsetUtils; 134 final String res = CharsetUtils.fromModifiedUtf8Bytes(mBufferPtr, mBufferPos, len); in readUTF() 140 return CharsetUtils.fromModifiedUtf8Bytes(mRuntime.addressOf(tmp), 0, len); in readUTF()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/util/ |
H A D | CharsetUtilsPerfTest.java | 73 CharsetUtils.toModifiedUtf8Bytes(mValue, destPtr, 0, dest.length); in timeLocal_SmallBuffer() 88 CharsetUtils.toModifiedUtf8Bytes(mValue, destPtr, 0, dest.length); in timeLocal_LargeBuffer()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | CharsetUtils.java | 32 public class CharsetUtils { class
|
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/ |
H A D | httpcore-4.4.13.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/apache/
org/ ... |
/aosp12/art/build/boot/ |
H A D | preloaded-classes | 2082 libcore.util.CharsetUtils
|
H A D | boot-image-profile.txt | 11828 Llibcore/util/CharsetUtils;
|
/aosp12/frameworks/base/config/ |
H A D | preloaded-classes | 13518 libcore.util.CharsetUtils
|
H A D | boot-image-profile.txt | 40466 Landroid/util/CharsetUtils; 48098 Llibcore/util/CharsetUtils;
|
/aosp12/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 30802 Landroid/util/CharsetUtils;
|