HomeSort by relevance Sort by last modified time
    Searched full:getbytes (Results 176 - 200 of 919) sorted by null

1 2 3 4 5 6 78 91011>>

  /libcore/support/src/test/java/tests/support/
Support_Xml.java 35 ByteArrayInputStream stream = new ByteArrayInputStream(xml.getBytes());
  /packages/apps/Browser/src/com/android/browser/
DataUri.java 47 mData = uri.substring(commaIndex + 1).getBytes();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ByteArrayInputStreamTest.java 35 InputStream bis = new ByteArrayInputStream(fileString.getBytes());
45 byte[] zz = fileString.getBytes();
166 is = new ByteArrayInputStream(fileString.getBytes());
DataOutputStreamTest.java 61 os.write(fileString.getBytes(), 0, 150);
74 os.write(fileString.getBytes(), 0, 150);
124 os.write(fileString.getBytes());
OutputStreamTesterTest.java 89 public byte[] getBytes() throws IOException {
108 public byte[] getBytes() throws IOException {
138 public byte[] getBytes() throws Exception {
FileOutputStreamTest.java 87 fos.write("HI".getBytes(), 0, 2);
90 fos.write(fileString.getBytes());
134 fos.write(fileString.getBytes());
159 fos.write(fileString.getBytes());
173 fos.write(fileString.getBytes(), 0, fileString.length());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
NetscapeCertRequest.java 91 sigBits = ((DERBitString)spkac.getObjectAt(2)).getBytes();
117 pubkeyinfo).getBytes());
211 sig.update(content.getBytes());
  /external/nist-sip/java/gov/nist/javax/sip/
Utils.java 73 signature = toHexString(Integer.toString(Math.abs( rand.nextInt() % 1000 )).getBytes());
139 byte cid[] = digester.digest(date.getBytes());
175 byte bid[] = digester.digest(Long.toString(num).getBytes());
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
InternalNano.java 74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8");
93 return bytes.getBytes("ISO-8859-1");
108 return text.getBytes("UTF-8");
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
TestHttpResponse.java 39 this.responseBody = responseBody.getBytes();
43 this(statusCode, responseBody.getBytes(), headers);
53 this.responseBody = responseBody.getBytes();
  /external/smack/src/org/apache/qpid/management/common/sasl/
PlainSaslClient.java 69 authorizationID == null ? null : authorizationID.getBytes("UTF8");
70 byte authnid[] = authenticationID.getBytes("UTF8");
192 pwbytes = (new String(pwchars)).getBytes("UTF8");
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
FsUtils.java 92 bos.write(s.getBytes());
95 bos.write((" IGNORE_RESULT").getBytes());
108 bos.write(s.getBytes());
  /frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
WifiP2pDnsSdServiceInfo.java 128 byte[] data = instanceName.getBytes();
218 sb.append(WifiP2pServiceInfo.bin2HexStr(dnsName.getBytes()));
228 sb.append(WifiP2pServiceInfo.bin2HexStr(name.getBytes()));
  /libcore/luni/src/test/java/libcore/io/
OsTest.java 51 byte[] path = "/abstract_name_unix_socket".getBytes("UTF-8");
82 byte[] response = s.toUpperCase().getBytes("UTF-8");
100 byte[] request = string.getBytes("UTF-8");
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayInputStreamTest.java 33 .getBytes());
46 byte[] zz = fileString.getBytes();
210 is = new ByteArrayInputStream(fileString.getBytes());
OldDataInputStreamTest.java 63 os.write(fileString.getBytes());
94 os.write(fileString.getBytes());
124 os.write(fileString.getBytes());
153 os.write(fileString.getBytes());
182 os.write(fileString.getBytes());
OldRandomAccessFileTest.java 173 raf.write("Test".getBytes(), 0, 4);
190 raf.write(testString.getBytes());
218 raf.write(testString.getBytes(), 0, testLength);
236 raf.write(testString.getBytes());
253 byte[] testBuf = testString.getBytes();
293 fos.write(testString.getBytes(), 0, testLength);
326 fos.write(testString.getBytes(), 0, testLength);
920 raf.write(s.getBytes(), 0, s.length());
952 raf.write(testString.getBytes(), 0, testLength);
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java 42 .getBytes());
61 .getBytes());
85 .getBytes());
  /libcore/support/src/test/java/tests/security/
MessageDigestTest.java 171 digest.update(source1.getBytes(), 0, source1.length());
187 digest.update(source2.getBytes(), 0, source2.length());
203 digest.update(source3.getBytes(), 0, source3.length());
  /packages/apps/Mms/src/com/android/mms/transaction/
MmsMessageSender.java 88 sendReq.setMessageClass(DEFAULT_MESSAGE_CLASS.getBytes());
157 new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()),
158 messageId.getBytes(),
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepValidationClientTests.java 183 new byte[] { 'A' }, "http://android.com".getBytes());
193 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(),
194 new byte[] { 'B' }, string.toString().getBytes());
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 56 byte[] langBytes = locale.getLanguage().getBytes(Charsets.US_ASCII);
59 byte[] textBytes = text.getBytes(utfEncoding);
77 byte[] typeBytes = type.getBytes(Charsets.US_ASCII);
  /external/opencv/otherlibs/highgui/
grfmt_sunras.cpp 127 m_strm.GetBytes( buffer, m_maplength, &readed );
211 m_strm.GetBytes( src, src_pitch );
280 m_strm.GetBytes( src, src_pitch );
358 m_strm.GetBytes( color ? data : bgr, src_pitch );
379 m_strm.GetBytes( src + 3, src_pitch );
  /dalvik/dx/src/com/android/dx/cf/direct/
StdAttributeFactory.java 217 ByteArray bytes = cf.getBytes();
247 code.forEach(new CodeObserver(code.getBytes(), observer));
321 ByteArray bytes = cf.getBytes();
355 ByteArray bytes = cf.getBytes();
384 ByteArray bytes = cf.getBytes();
412 ByteArray bytes = cf.getBytes();
469 ByteArray bytes = cf.getBytes();
510 ByteArray bytes = cf.getBytes();
533 ByteArray bytes = cf.getBytes();
682 ByteArray bytes = cf.getBytes();
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
DropBoxTest.java 92 dropbox.addData("DropBoxTest", "TEST".getBytes(), 0);
124 gz1.write("FILE1".getBytes());
125 os2.write("DATA2".getBytes());
126 gz3.write("DATA3".getBytes());
193 gz2.write("FUTURE2".getBytes());
528 dropbox.addData("DropBoxTest", "should be ignored".getBytes(), 0);
550 new DropBoxManager.Entry("bytes", 3000000, "Bytes Value".getBytes(),
558 "Bad Bytes Value".getBytes(),
574 os.write("File Value".getBytes());
608 gzout.write("Gzip File Value".getBytes());
    [all...]

Completed in 1395 milliseconds

1 2 3 4 5 6 78 91011>>