HomeSort by relevance Sort by last modified time
    Searched refs:Charsets (Results 26 - 50 of 151) sorted by null

12 3 4 5 6 7

  /external/guava/guava-tests/test/com/google/common/io/
LittleEndianDataOutputStreamTest.java 19 import com.google.common.base.Charsets;
97 assertEquals("r\u00C9sum\u00C9".getBytes(Charsets.ISO_8859_1), b);
ByteSourceTester.java 23 import com.google.common.base.Charsets;
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);
ByteStreamsTest.java 19 import com.google.common.base.Charsets;
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);
213 byte[] data = "qed".getBytes(Charsets.UTF_16BE);
351 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(Charsets.UTF_16), 2, 14);
358 byte[] expected ="r\u00C9sum\u00C9".getBytes(Charsets.UTF_8);
  /external/owasp/sanitizer/src/tests/org/owasp/html/
Benchmark.java 39 import com.google.common.base.Charsets;
47 String html = Files.toString(new File(args[0]), Charsets.UTF_8);
HtmlSanitizerFuzzerTest.java 36 import com.google.common.base.Charsets;
63 Resources.getResource("Yahoo!.html"), Charsets.UTF_8);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
CreateNewConfigJob.java 25 import com.google.common.base.Charsets;
78 ByteArrayInputStream input = new ByteArrayInputStream(text.getBytes(Charsets.UTF_8));
RenderPreviewList.java 26 import com.google.common.base.Charsets;
112 Files.write(xml, file, Charsets.UTF_8);
119 String xml = Files.toString(file, Charsets.UTF_8);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
ExportGradleTest.java 31 import com.google.common.base.Charsets;
79 String contents = Files.toString(buildfile, Charsets.UTF_8);
156 String contents = Files.toString(buildfile, Charsets.UTF_8);
223 String contents = Files.toString(buildfile, Charsets.UTF_8);
  /external/guava/guava-tests/test/com/google/common/hash/
HashTestUtils.java 21 import com.google.common.base.Charsets;
513 private static final ImmutableSet<Charset> CHARSETS = ImmutableSet.of(
514 Charsets.ISO_8859_1,
515 Charsets.US_ASCII,
516 Charsets.UTF_16,
517 Charsets.UTF_16BE,
518 Charsets.UTF_16LE,
519 Charsets.UTF_8);
542 for (Charset charset : CHARSETS) {
AbstractByteHasherTest.java 17 import static com.google.common.base.Charsets.UTF_16LE;
Crc32cHashFunctionTest.java 17 import static com.google.common.base.Charsets.UTF_8;
HashCodeTest.java 21 import com.google.common.base.Charsets;
173 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII);
206 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII);
231 String string = Hashing.sha1().hashString("foo", Charsets.US_ASCII).toString().toUpperCase();
SipHashFunctionTest.java 17 import static com.google.common.base.Charsets.UTF_8;
  /external/caliper/caliper/src/test/java/com/google/caliper/config/
LoggingConfigLoaderTest.java 17 import static com.google.common.base.Charsets.UTF_8;
  /external/guava/guava/src/com/google/common/io/
Resources.java 23 import com.google.common.base.Charsets;
108 * Charsets} for helpful predefined constants
122 * Charsets} for helpful predefined constants
143 * Charsets} for helpful predefined constants
  /external/guava/guava-tests/benchmark/com/google/common/base/
Utf8Benchmark.java 115 byteArrays[i] = strings[i].getBytes(Charsets.UTF_8);
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
CreateInfo.java 21 import com.android.tools.layoutlib.java.Charsets;
339 "java.nio.charset.Charsets", "java.nio.charset.StandardCharsets",
  /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/owasp/sanitizer/src/main/org/owasp/html/examples/
EbayPolicyExample.java 41 import com.google.common.base.Charsets;
216 new InputStreamReader(System.in, Charsets.UTF_8));
  /packages/apps/Tag/src/com/android/apps/tag/record/
SmartPoster.java 21 import com.google.common.base.Charsets;
254 return new String(type.getPayload(), Charsets.UTF_8);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
ImportedProject.java 33 import com.google.common.base.Charsets;
166 xml = Files.toString(projectFile, Charsets.UTF_8);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateManager.java 29 import com.google.common.base.Charsets;
243 String xml = Files.toString(templateFile, Charsets.UTF_8);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
RefactoringTestBase.java 22 import com.google.common.base.Charsets;
171 String before = new String(bytes, Charsets.UTF_8);
275 Files.write(contents, to, Charsets.UTF_8);
  /external/caliper/caliper/src/test/java/com/google/caliper/bridge/
LogMessageParserTest.java 21 import static com.google.common.base.Charsets.UTF_8;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
HtmlTooltipHelper.java 13 import com.google.common.base.Charsets;
97 Charsets.US_ASCII);

Completed in 1721 milliseconds

12 3 4 5 6 7