Searched refs:UTF_8 (Results 1 – 8 of 8) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | CharacterSets.java | 43 public static final int UTF_8 = 0x6A; field in CharacterSets 51 public static final int DEFAULT_CHARSET = UTF_8; 69 UTF_8,
|
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/ |
D | RmTypeDefsTest.java | 19 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/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
D | BrokenKeyDerivationActivity.java | 72 byte[] passwordBytes = password.getBytes(StandardCharsets.UTF_8); in deriveKeyInsecurely() 107 + new String(decryptedData, StandardCharsets.UTF_8); in retrieveData() 112 + new String(decryptedData, StandardCharsets.UTF_8); in retrieveData()
|
/development/samples/Vault/tests/src/com/example/android/vault/ |
D | EncryptedDocumentTest.java | 93 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/ |
D | EncryptedDocument.java | 144 final String rawMeta = metaOut.toString(StandardCharsets.UTF_8.name()); in readMetadata() 243 meta.toString().getBytes(StandardCharsets.UTF_8)); in writeMetadataAndContent()
|
D | VaultProvider.java | 92 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/ |
D | DiskLruCache.java | 111 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/ |
D | MmsMessagingDemo.java | 380 part.setCharset(CharacterSets.UTF_8); in addTextPart()
|