OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getbytes
(Results
51 - 75
of
919
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
PacketNewKeys.java
46
payload = tw.
getBytes
();
PacketSessionX11Request.java
52
payload = tw.
getBytes
();
PacketUserauthRequestInteractive.java
41
payload = tw.
getBytes
();
/external/smack/src/org/jivesoftware/smack/util/
Base64Encoder.java
35
return Base64.encodeBytes(s.
getBytes
());
/libcore/luni/src/test/java/libcore/java/io/
OldAndroidDataInputStreamTest.java
32
ByteArrayInputStream aa = new ByteArrayInputStream(str.
getBytes
());
33
ByteArrayInputStream ba = new ByteArrayInputStream(str.
getBytes
());
34
ByteArrayInputStream ca = new ByteArrayInputStream(str.
getBytes
());
35
ByteArrayInputStream da = new ByteArrayInputStream(str.
getBytes
());
OldPushbackInputStreamTest.java
37
.
getBytes
()));
38
pis.unread("He".
getBytes
());
49
ByteArrayInputStream bas = new ByteArrayInputStream("Hello".
getBytes
());
65
pis.unread("Hello world".
getBytes
());
121
fileString.
getBytes
()[0], pis.read());
126
byte[] buf = ("01234567890123456789").
getBytes
();
168
byte[] buf = ("01234567890123456789").
getBytes
();
204
byte[] buf2 = str2.
getBytes
();
244
byte[] buf2 = (str2 + str2 + str2).
getBytes
();
327
.
getBytes
()[0])
[
all
...]
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);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
PushbackInputStreamTest.java
66
.
getBytes
()));
67
pis.unread("He".
getBytes
());
82
.
getBytes
()), 5);
83
pis.unread("Hellos".
getBytes
());
113
.available() == fileString.
getBytes
().length);
134
.
getBytes
("UTF-8")[0]);
227
.
getBytes
("UTF-8")[0]);
242
.
getBytes
("UTF-8")), 65535);
StreamCorruptedExceptionTest.java
36
.
getBytes
()));
55
.
getBytes
()));
FileWriterTest.java
50
fos.write("Test String".
getBytes
());
106
fos.write("Test String".
getBytes
());
123
fos.write("Test String".
getBytes
());
141
fos.write("Test String".
getBytes
());
154
fos.write("Test String".
getBytes
());
SequenceInputStreamTest.java
58
InputStream is = new ByteArrayInputStream(s1.
getBytes
("UTF-8"));
74
streams[0] = new ByteArrayInputStream(s1.
getBytes
("UTF-8"));
75
streams[1] = new ByteArrayInputStream(s2.
getBytes
("UTF-8"));
183
si = new SequenceInputStream(new ByteArrayInputStream(s1.
getBytes
("UTF-8")),
184
new ByteArrayInputStream(s2.
getBytes
("UTF-8")));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
ReasonFlags.java
77
super(
getBytes
(reasons), getPadBits(reasons));
83
super(reasons.
getBytes
(), reasons.getPadBits());
/libcore/luni/src/test/java/libcore/java/nio/channels/
ChannelsTest.java
30
Pipe.SourceChannel sourceChannel = createNonBlockingChannel("abc".
getBytes
("UTF-8"));
43
Pipe.SourceChannel sourceChannel = createNonBlockingChannel("abc".
getBytes
("UTF-8"));
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherPBEThread.java
38
byte[] input = getData().
getBytes
();
58
checkEncodedData(getData().
getBytes
(), decrypted);
/libcore/support/src/test/java/tests/security/
SignatureHelper.java
58
signature.update(plainData.
getBytes
());
77
signature.update(plainData.
getBytes
());
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
TextBody.java
38
byte[] bytes = mBody.
getBytes
("UTF-8");
55
byte[] b = mBody.
getBytes
("UTF-8");
/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/javassist/src/main/javassist/tools/web/
Webserver.java
360
out.write("HTTP/1.0 200 OK".
getBytes
());
362
out.write("Content-Length: ".
getBytes
());
363
out.write(Long.toString(dataLength).
getBytes
());
366
out.write("Content-Type: application/octet-stream".
getBytes
());
368
out.write("Content-Type: text/html".
getBytes
());
370
out.write("Content-Type: image/gif".
getBytes
());
372
out.write("Content-Type: image/jpg".
getBytes
());
374
out.write("Content-Type: text/plain".
getBytes
());
384
out.write("HTTP/1.0 400 Bad Request".
getBytes
());
387
out.write("<H1>Bad Request</H1>".
getBytes
());
[
all
...]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
PsdFile.java
143
final byte[] mSignature = "8BPS".
getBytes
();
186
final byte[] mSignature = "8BIM".
getBytes
();
294
final byte[] mBlendSignature = "8BIM".
getBytes
();
295
final byte[] mBlendMode = "norm".
getBytes
();
309
final byte[] mLayerExtraSignature = "8BIM".
getBytes
();
310
final byte[] mLayerExtraKey = "luni".
getBytes
();
332
byte[] data = name.
getBytes
();
335
mLayerExtraLength = 4 + mOriginalName.
getBytes
("UTF-16").length;
409
out.write(mOriginalName.
getBytes
("UTF-16"));
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ExcludedProxyTest.java
76
out2.write(posted2.
getBytes
());
99
out.write(posted4.
getBytes
());
127
os.write("GET / HTTP/1.0\r\n\r\n".
getBytes
());
144
os.write("GET / HTTP/1.0\r\n\r\n".
getBytes
());
178
out.write(posted.
getBytes
());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERBitString.java
72
static protected byte[]
getBytes
(int bitString)
164
this.data =
getBytes
(value);
176
public byte[]
getBytes
()
216
byte[] bytes = new byte[
getBytes
().length + 1];
219
System.arraycopy(
getBytes
(), 0, bytes, 1, bytes.length - 1);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
LoggingPrintStreamTest.java
136
out.write(expected.
getBytes
("UTF-8"));
143
for (byte b : expected.
getBytes
()) {
152
out.write(expected.
getBytes
());
159
byte[] bytes = expected.
getBytes
();
175
out.write(toWrite.
getBytes
());
/development/apps/Development/src/com/android/development/
LogViewer.java
96
logger.write("Reading message.\n".
getBytes
());
117
logger.write("Updating UI.\n".
getBytes
());
163
// logger.write(builder.toString().
getBytes
());
/external/mockwebserver/src/main/java/com/google/mockwebserver/
BaseMockResponse.java
133
out.write((getStatus() + "\r\n").
getBytes
(ASCII));
135
out.write((header + "\r\n").
getBytes
(ASCII));
137
out.write(("\r\n").
getBytes
(ASCII));
Completed in 1032 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>