HomeSort by relevance Sort by last modified time
    Searched refs:UTF_8 (Results 151 - 175 of 372) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/protobuf/java/core/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 264 String s = new String(bytes, Internal.UTF_8);
265 byte[] bytesReencoded = s.getBytes(Internal.UTF_8);
346 Internal.UTF_8.newDecoder()
350 Internal.UTF_8.newEncoder()
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/
PropertiesDependencyResolverTest.java 81 Files.asCharSink(file, Charsets.UTF_8).write(contents);
  /external/vogar/src/vogar/
Md5Cache.java 83 digester.update(string.getBytes(Charsets.UTF_8));
  /development/samples/Vault/tests/src/com/example/android/vault/
EncryptedDocumentTest.java 93 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8);
224 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8);
  /external/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/ct/
CTLogStoreImplTest.java 20 import static java.nio.charset.StandardCharsets.UTF_8;
185 new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), UTF_8)),
  /external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
ReadableBuffers.java 19 import static com.google.common.base.Charsets.UTF_8;
93 return readAsString(buffer, UTF_8);
  /external/guava/guava-tests/test/com/google/common/base/
Utf8Test.java 312 String s = new String(bytes, Charsets.UTF_8);
313 byte[] bytesReencoded = s.getBytes(Charsets.UTF_8);
  /external/guava/guava-tests/test/com/google/common/io/
ByteSourceTester.java 59 factory, entry.getValue().getBytes(Charsets.UTF_8), name, entry.getKey(), true));
67 TestSuite suite = suiteForBytes(factory, string.getBytes(Charsets.UTF_8), name, desc, true);
FilesSimplifyPathTest.java 19 import static com.google.common.base.Charsets.UTF_8;
299 for (String line : Resources.readLines(url, UTF_8)) {
  /external/okhttp/okio/okio/src/test/java/okio/
RealBufferedSourceTest.java 24 import static okio.Util.UTF_8;
51 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8));
  /external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/
RobolectricProcessorTest.java 8 import static java.nio.charset.StandardCharsets.UTF_8;
131 BufferedReader reader = new BufferedReader(new InputStreamReader(in, UTF_8));
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBitmapDrawableTest.java 4 import static java.nio.charset.StandardCharsets.UTF_8;
69 InputStream emptyInputStream = new ByteArrayInputStream("".getBytes(UTF_8));
SQLiteCursorTest.java 4 import static java.nio.charset.StandardCharsets.UTF_8;
205 byte[] byteData = sql.getBytes(UTF_8);
275 byte[] byteData = sql.getBytes(UTF_8);
287 byte[] byteData = sql.getBytes(UTF_8);
431 byte[] byteData = sql.getBytes(UTF_8);
ShadowBitmapFactoryTest.java 4 import static java.nio.charset.StandardCharsets.UTF_8;
197 byte[] bytes = data.getBytes(UTF_8);
209 byte[] bytes = data.getBytes(UTF_8);
  /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
Tensors.java 18 import static java.nio.charset.StandardCharsets.UTF_8;
30 return Tensor.create(data.getBytes(UTF_8), String.class);
  /external/turbine/java/com/google/turbine/options/
TurbineOptionsParser.java 20 import static java.nio.charset.StandardCharsets.UTF_8;
163 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8)));
  /external/turbine/javatests/com/google/turbine/binder/
ClassPathBinderTest.java 24 import static java.nio.charset.StandardCharsets.UTF_8;
155 MoreFiles.asCharSink(lib, UTF_8).write("hello");
  /external/turbine/javatests/com/google/turbine/deps/
AbstractTransitiveTest.java 23 import static java.nio.charset.StandardCharsets.UTF_8;
68 Files.write(path, Arrays.asList(lines), UTF_8);
  /external/volley/src/test/java/com/android/volley/
NetworkDispatcherTest.java 54 "Ceci n'est pas une vraie reponse".getBytes(StandardCharsets.UTF_8);
72 assertEquals(response.getValue().result, new String(CANNED_DATA, StandardCharsets.UTF_8));
  /cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
MediaBitstreamsDeviceSideTest.java 67 private static final String UTF_8 = "utf-8";
103 formats.setOutput(out, UTF_8);
104 formats.startDocument(UTF_8, true);
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
TarArchiveOutputStream.java 491 int actualLength = line.getBytes(CharsetNames.UTF_8).length;
500 actualLength = line.getBytes(CharsetNames.UTF_8).length;
504 return w.toString().getBytes(CharsetNames.UTF_8);
  /external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
ThrowableExtensionTest.java 21 import static java.nio.charset.StandardCharsets.UTF_8;
277 new PrintWriter(new BufferedWriter(new OutputStreamWriter(stream, UTF_8)));
400 this, new PrintWriter(new BufferedWriter(new OutputStreamWriter(s, UTF_8))));
  /external/grpc-grpc-java/core/src/test/java/io/grpc/
MetadataTest.java 20 import static com.google.common.base.Charsets.UTF_8;
53 return fish.name.getBytes(UTF_8);
58 return new Fish(new String(serialized, UTF_8));
  /external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
InternalNano.java 70 protected static final Charset UTF_8 = Charset.forName("UTF-8");
116 return new String(bytes.getBytes(ISO_8859_1), InternalNano.UTF_8);
136 return text.getBytes(InternalNano.UTF_8);
  /bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
PayloadSpecsTest.java 117 Files.asCharSink(propertiesFile, Charsets.UTF_8).write(PROPERTIES_CONTENTS);

Completed in 773 milliseconds

1 2 3 4 5 67 8 91011>>