Home
last modified time | relevance | path

Searched refs:UTF_8 (Results 1 – 6 of 6) sorted by relevance

/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java19 import static com.google.common.base.Charsets.UTF_8;
108 Files.write(testClass, srcFile1, Charsets.UTF_8); in test()
114 Files.write(intdef, srcFile2, Charsets.UTF_8); in test()
193 String symbol = new String(contents, i, length, UTF_8); in assertDoesNotContainBytes()
/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java93 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testNormalMetadataAndContents()
224 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testErrorAbortsWrite()
/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java144 final String rawMeta = metaOut.toString(StandardCharsets.UTF_8.name()); in readMetadata()
243 meta.toString().getBytes(StandardCharsets.UTF_8)); in writeMetadataAndContent()
DVaultProvider.java92 private static final byte[] BLOB_DATA = "DATA".getBytes(StandardCharsets.UTF_8);
94 private static final byte[] BLOB_MAC = "MAC".getBytes(StandardCharsets.UTF_8);
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java111 private static final Charset UTF_8 = Charset.forName("UTF-8"); field in DiskLruCache
724 return readFully(new InputStreamReader(in, UTF_8)); in inputStreamToString()
829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); in set()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java380 part.setCharset(CharacterSets.UTF_8); in addTextPart()