/external/okhttp/okio/okio/src/test/java/okio/ |
BufferTest.java | 29 import static okio.Util.UTF_8; 250 String outString = new String(out.toByteArray(), UTF_8); 273 String outString = new String(out.toByteArray(), UTF_8); 279 InputStream in = new ByteArrayInputStream("hello, world!".getBytes(UTF_8)); 287 InputStream in = new ByteArrayInputStream("hello, world!".getBytes(UTF_8)); 295 InputStream in = new ByteArrayInputStream("hello, world!".getBytes(UTF_8));
|
Utf8Test.java | 75 Buffer expected = new Buffer().write(a.getBytes(Util.UTF_8));
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 111 private static final Charset UTF_8 = Charset.forName("UTF-8"); 724 return readFully(new InputStreamReader(in, UTF_8)); 829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 111 private static final Charset UTF_8 = Charset.forName("UTF-8"); 724 return readFully(new InputStreamReader(in, UTF_8)); 829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
DiskLruCache.java | 111 private static final Charset UTF_8 = Charset.forName("UTF-8"); 724 return readFully(new InputStreamReader(in, UTF_8)); 829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteStreamsTest.java | 184 "This is a line\r\nThis too\rand this\nand also this".getBytes(Charsets.UTF_8)); 207 System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8), 0, data, 2, 15); 358 byte[] expected ="r\u00C9sum\u00C9".getBytes(Charsets.UTF_8);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
Owners.java | 396 parser.setInput(input, StandardCharsets.UTF_8.name()); 505 out.setOutput(outputStream, StandardCharsets.UTF_8.name()); 546 parser.setInput(input, StandardCharsets.UTF_8.name());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
SupplicantBridge.java | 224 byte[] octets = s.getBytes(utf8 ? StandardCharsets.UTF_8 : StandardCharsets.ISO_8859_1); 420 return new String(octets, 0, bo, StandardCharsets.UTF_8); 424 CharBuffer cb = StandardCharsets.UTF_8.newDecoder().decode(
|
/external/guava/guava-tests/test/com/google/common/hash/ |
BloomFilterTest.java | 19 import static com.google.common.base.Charsets.UTF_8; 142 Funnels.stringFunnel(UTF_8), numInsertions, 0.03,
|
FunnelsTest.java | 167 .addEqualityGroup(Funnels.stringFunnel(Charsets.UTF_8))
|
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 298 parser.setInput(stream, StandardCharsets.UTF_8.name()); 361 out.setOutput(stream, StandardCharsets.UTF_8.name());
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
WallpaperBackupAgent.java | 278 parser.setInput(stream, StandardCharsets.UTF_8.name()); 306 parser.setInput(stream, StandardCharsets.UTF_8.name());
|
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 93 parser.setInput(fis, StandardCharsets.UTF_8.name()); 405 out.setOutput(fos, StandardCharsets.UTF_8.name());
|
/frameworks/base/services/core/java/com/android/server/display/ |
PersistentDataStore.java | 246 parser.setInput(new BufferedInputStream(is), StandardCharsets.UTF_8.name()); 266 serializer.setOutput(new BufferedOutputStream(os), StandardCharsets.UTF_8.name());
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
AppIdleHistory.java | 299 parser.setInput(fis, StandardCharsets.UTF_8.name()); 343 xml.setOutput(bos, StandardCharsets.UTF_8.name());
|
/libcore/ojluni/src/main/resources/sun/nio/cs/ |
standard-charsets | 62 charset UTF-8 UTF_8
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/ |
CaptionWindowLayout.java | 88 new String("\uAC00".getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RefactoringTestBase.java | 171 String before = new String(bytes, Charsets.UTF_8); 275 Files.write(contents, to, Charsets.UTF_8);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
DeviceInfoStore.java | 47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8));
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
HostInfoStore.java | 47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Util.java | 48 public static final Charset UTF_8 = Charset.forName("UTF-8");
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
HostnameVerifierTest.java | 547 new ByteArrayInputStream(certificate.getBytes(Util.UTF_8)));
|
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
EbayPolicyExample.java | 216 new InputStreamReader(System.in, Charsets.UTF_8));
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
HttpFacade.java | 68 BufferedReader r = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8));
|
/frameworks/base/core/java/android/net/nsd/ |
NsdServiceInfo.java | 318 sb.append(", txtRecord: ").append(new String(txtRecord, StandardCharsets.UTF_8));
|