/libcore/luni/src/test/java/libcore/java/io/ |
OldPipedOutputStreamTest.java | 161 out.write(testString.getBytes(), 0, 10); 172 out.write(testString.getBytes(), 0, 5); 181 out.write(testString.getBytes(), -1, 10); 188 out.write(testString.getBytes(), 0, -1); 195 out.write(testString.getBytes(), 5, testString.length()); 206 out.write(testString.getBytes(), 0, testString.length()); 216 out.write(testString.getBytes(), 0, 5);
|
OldBufferedOutputStreamTest.java | 42 os.write(fileString.getBytes(), 0, 500); 60 os.write(fileString.getBytes(), 0, 500); 69 os.write(fileString.getBytes(), 0, 500); 90 os.write(fileString.getBytes(), 0, 500); 98 os.write(fileString.getBytes(), 500, 513); 112 os.write(fileString.getBytes(), 0, 500);
|
OldAndroidInputStreamReaderTest.java | 33 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes("ISO8859_1")); 56 new ByteArrayInputStream(str.getBytes()); 92 byte[] ba = src.getBytes(enc[i]);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PropertyResourceBundleTest.java | 46 "p1=one\ncharset=iso-8859-1".getBytes("ISO-8859-1")); 53 .getBytes("UTF-8")); 76 .getBytes("ISO-8859-1"))); 86 cbuffer = charset.decode(ByteBuffer.wrap(content.getBytes("UTF-8"))); 151 "p1=one\np2=two".getBytes("ISO-8859-1")); 183 "p3=three\np4=four".getBytes());
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 172 sig.update(MESSAGE.getBytes()); 191 byte[] bytes = MESSAGE.getBytes(); 202 byte[] bytes = MESSAGE.getBytes(); 213 sig.update(MESSAGE.getBytes()[0]); 222 sig.update(MESSAGE.getBytes()); 227 sig.update(MESSAGE.getBytes());
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockResponse.java | 169 return setBody(body.getBytes("UTF-8")); 188 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); 189 bytesOut.write("\r\n".getBytes(ASCII)); 191 bytesOut.write("\r\n".getBytes(ASCII)); 194 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf 209 return setChunkedBody(body.getBytes("UTF-8"), maxChunkSize);
|
/external/icu4c/i18n/unicode/ |
sortkey.h | 255 uint8_t *getBytes() { 258 const uint8_t *getBytes() const { 330 return getBytes();
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepCustomClientTests.java | 77 new byte[0], "http://android.com".getBytes()); 87 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), 88 new byte[0], string.toString().getBytes());
|
SnepDefaultClientTests.java | 77 new byte[0], "http://android.com".getBytes()); 87 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), 88 new byte[0], string.toString().getBytes());
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSdCardWritePermissionTest.java | 41 strm.write("Oops!".getBytes());
|
/cts/tools/dex-tools/test/dex/reader/util/ |
JavaSource.java | 54 return new ByteArrayInputStream(src.getBytes());
|
MemoryByteCode.java | 57 public byte[] getBytes() {
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarExceptionTest.java | 33 "jlkasj dl: dsklf jlks dslka : fdsfsd\n\n\n\ndsfas".getBytes()));
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipOutputStreamTest.java | 70 zos.write("Hello World".getBytes("UTF-8")); 83 zos.write("Hello World".getBytes()); 106 zos.write("Hello World".getBytes()); 144 zos.write(data.getBytes()); 149 zos.write(data.getBytes()); 161 tempCrc.update(data.getBytes()); 165 zos.write(data.getBytes()); 170 zos.write(data.getBytes()); 181 zos.write(data.getBytes());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FilterOutputStreamTest.java | 55 os.write(fileString.getBytes(), 0, 500); 67 os.write(fileString.getBytes(), 0, 500); 79 os.write(fileString.getBytes()); 96 os.write(fileString.getBytes(), 0, fileString.length());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ProcessTest.java | 44 os.write("10 5 abcde".getBytes()); 84 os.write(str1.getBytes()); 90 os.write(str2.getBytes()); 91 os.write(str3.getBytes());
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
PacketGlobalCancelForwardRequest.java | 40 payload = tw.getBytes();
|
PacketGlobalForwardRequest.java | 40 payload = tw.getBytes();
|
PacketKexDhGexRequest.java | 39 payload = tw.getBytes();
|
PacketNewKeys.java | 46 payload = tw.getBytes();
|
PacketUserauthRequestInteractive.java | 41 payload = tw.getBytes();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
NdefMessageTest.java | 16 NdefRecord[] ndefRecords = {new NdefRecord("mumble".getBytes())};
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceRequest.java | 79 sb.append(WifiP2pServiceInfo.bin2HexStr(st.getBytes()));
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
UTF8CharsetTest.java | 59 byte utf8[] = s.getBytes("UTF-8");
|
/libcore/luni/src/main/java/java/sql/ |
Blob.java | 69 public byte[] getBytes(long pos, int length) throws SQLException;
|