/external/smack/src/org/jivesoftware/smack/util/ |
Base32Encoder.java | 46 byte[] raw = str.getBytes(); 104 byte[] b = str.getBytes();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
MacAuthenticatedInputStreamTest.java | 32 private static final SecretKey HMAC_KEY_1 = new SecretKeySpec("test_key_1".getBytes(), "HMAC"); 34 private static final byte[] TEST_STRING_1 = "Hello, World!".getBytes();
|
/libcore/luni/src/main/java/java/net/ |
Socks4Message.java | 177 public byte[] getBytes() { 205 byte[] stringBytes = theString.getBytes(StandardCharsets.ISO_8859_1);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldLineNumberInputStreamTest.java | 174 new ByteArrayInputStream(text.getBytes()), 4); 177 .getBytes()));
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
InflaterTest.java | 31 assertRoundTrip("dictionary".getBytes("UTF-8")); 37 byte[] expectedBytes = expected.getBytes("UTF-8");
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
DocumentBuilderTest.java | 527 InputStream source = new ByteArrayInputStream("<a>&foo;</a>".getBytes()); 528 InputStream entity = new ByteArrayInputStream("bar".getBytes()); 548 source = new ByteArrayInputStream("</a>".getBytes()); 569 InputStream source = new ByteArrayInputStream("</a>".getBytes()); 588 source = new ByteArrayInputStream("</a>".getBytes()); 603 InputStream source = new ByteArrayInputStream("<a>&foo;</a>".getBytes()); 604 InputStream entity = new ByteArrayInputStream("bar".getBytes()); 623 source = new ByteArrayInputStream("<a>&foo;</a>".getBytes());
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterAsymmetricHelper.java | 75 bs = cipher.doFinal(plainData.getBytes()); 99 Assert.assertTrue(Arrays.equals(plainData.getBytes(), decrypted));
|
AlgorithmParameterSignatureHelper.java | 83 signature.update(plainData.getBytes()); 102 signature.update(plainData.getBytes());
|
AlgorithmParameterSymmetricHelper.java | 88 bs = cipher.doFinal(plainData.getBytes()); 112 Assert.assertTrue(Arrays.equals(plainData.getBytes(), decrypted));
|
/cts/tests/tests/ndef/src/android/ndef/cts/ |
NdefTest.java | 332 new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(ASCII), null, 333 "foo".getBytes()), 334 NdefRecord.createMime("text/plain", "foo".getBytes())); 379 new NdefRecord(NdefRecord.TNF_EXTERNAL_TYPE, "a.b:c".getBytes(ASCII), null, null), 384 new NdefRecord(NdefRecord.TNF_EXTERNAL_TYPE, "a.b:c!".getBytes(ASCII), null, null), 429 assertEquals("android.com:pkg".getBytes(), r.getType()); 431 assertEquals("com.foo.bar".getBytes(), r.getPayload()); 487 "http://www.android.com".getBytes(), null, null).toUri()); 495 "http://www.android.com".getBytes(), null, null)).toByteArray()).toUri()); 511 new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, "HTTP://www.android.com".getBytes(), [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
RandomAccessFileTest.java | 93 raf.write("Test".getBytes(), 0, 4); 97 raf.write("Test".getBytes(), 0, 4); 101 raf.write("Test".getBytes(), 0, 4); 156 raf.write("Test".getBytes(), 0, 4); 181 raf.write(fileString.getBytes(), 0, 1000); 193 raf.write(fileString.getBytes()); 205 fos.write(fileString.getBytes("UTF-8"), 0, fileString.length()); 220 fos.write(fileString.getBytes(), 0, fileString.length()); 239 fos.write(fileString.getBytes(), 0, fileString.length()); 364 raf.write(s.getBytes("UTF-8"), 0, s.length()) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringDataItem.java | 72 ByteArray bytes = value.getBytes();
|
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 59 byte[] bytes = getBytes();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 72 ByteArray bytes = value.getBytes();
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
DeflaterInputStreamTest.java | 135 is = new ByteArrayInputStream(testStr.getBytes("UTF-8")); 258 is = new ByteArrayInputStream(testStr.getBytes("UTF-8")); 287 is = new ByteArrayInputStream(testStr.getBytes("UTF-8")); 378 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStorePrivateKeyEntryTest.java | 56 certificateData.getBytes("UTF-8"));
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_AvailTest.java | 106 myout.write(output.getBytes());
|
/external/apache-http/src/org/apache/http/entity/ |
StringEntity.java | 64 this.content = s.getBytes(charset);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/ |
HashUtil.java | 46 byte[] digest = m.digest(digestText.getBytes());
|
/external/chromium_org/third_party/skia/src/utils/mac/ |
SkStream_mac.cpp | 52 rec.getBytes = get_bytes_proc;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 72 ByteArray bytes = value.getBytes();
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
PacketChannelOpenConfirmation.java | 66 payload = tw.getBytes();
|
PacketChannelOpenFailure.java | 66 payload = tw.getBytes();
|
PacketDisconnect.java | 56 payload = tw.getBytes();
|
PacketOpenSessionChannel.java | 62 payload = tw.getBytes();
|