Searched
refs:getBytes (Results
251 -
275 of
848) sorted by null
<<11121314151617181920>>
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PipedOutputStreamTest.java | 142 out.write("HelloWorld".getBytes("UTF-8"), 0, 10); 155 out.write("HelloWorld".getBytes("UTF-8"), 0, 10);
|
FileDescriptorTest.java | 59 fos.write("Test String".getBytes());
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertificateTest.java | 265 is = new ByteArrayInputStream(Base64.decode(base64cert.getBytes("UTF-8"))); 270 is = new ByteArrayInputStream(Base64.decode(base64crl.getBytes("UTF-8")));
|
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 279 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); 385 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII);
|
URLCodec.java | 226 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII); 270 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset);
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 142 write(s.getBytes(this.charset)); 169 byte[] tmp = s.toString().getBytes(this.charset);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 434 byte[] bArray = s.getBytes(encoding); 474 byte[] bArray = s.getBytes(encoding); 486 * s.getBytes(encoding) has specified behavior only if the 489 * @param ch the char that was converted using getBytes, or 491 * @param data the bytes written out by the call to s.getBytes(encoding); 498 // on the String.getBytes(encoding) method,
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509CertificateHolder.java | 241 return x509Certificate.getSignature().getBytes(); 290 return verifier.verify(x509Certificate.getSignature().getBytes());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 116 byte[] bytes = spki.getPublicKeyData().getBytes(); 136 byte[] bytes = spki.getPublicKeyData().getBytes();
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
malloc-tree | 78 def getBytes(self): 135 return node.getBytes();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
QuicktimeTextTrackImpl.java | 77 dos.writeShort(sub.text.getBytes("UTF-8").length); 78 dos.write(sub.text.getBytes("UTF-8"));
|
TextTrackImpl.java | 80 dos.writeShort(sub.text.getBytes("UTF-8").length); 81 dos.write(sub.text.getBytes("UTF-8"));
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 126 return new ByteString(text.getBytes(charsetName)); 135 return new ByteString(text.getBytes("UTF-8"));
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 172 return new String(encode(src.getBytes())); 249 return new String(decode(src.getBytes()));
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
EncodedStringValue.java | 75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); 218 temp[i].getBytes());
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileInputStreamTest.java | 120 stringBytes = fileString.getBytes(); 199 fos.write(fileString.getBytes());
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 103 .getBytes(); 122 + "z5nRUP8pJcA2NhUzUnC+MY+f6H/nEQyNv4SgQhqAibAxWEEHXw==").getBytes(); 125 .getBytes(); 183 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(); 189 byte[] valid = VALID_CERTIFICATE_PEM_CRLF.getBytes(); 195 byte[] invalid = INVALID_CERTIFICATE_PEM.getBytes(); 263 "-----BEGIN CERTIFICATE-----".getBytes())); 277 byte[] valid = VALID_CERTIFICATE_PEM.getBytes();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 227 "This is a test string for digesting".getBytes()); 229 "This is a test string for digesting".getBytes());
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
EasSyncServiceTests.java | 113 assertEquals("Basic " + Base64.encodeToString((USER+":"+PASSWORD).getBytes(), 123 assertEquals("Basic " + Base64.encodeToString((user+":"+PASSWORD).getBytes(),
|
/packages/apps/Mms/src/com/android/mms/model/ |
SlideshowModel.java | 262 part.setContentType(media.getContentType().getBytes()); 274 part.setContentLocation(location.getBytes()); 279 part.setContentId(location.getBytes()); 285 part.setContentId(contentId.getBytes()); 289 part.setData(((TextModel) media).getText().getBytes()); 304 smilPart.setContentId("smil".getBytes()); 305 smilPart.setContentLocation("smil.xml".getBytes()); 306 smilPart.setContentType(ContentType.APP_SMIL.getBytes());
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
TextRecord.java | 137 byte[] langBytes = locale.getLanguage().getBytes(Charset.forName("US-ASCII")); 140 byte[] textBytes = text.getBytes(utfEncoding);
|
/external/smack/asmack-master/lib/ |
jstun.jar | |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarExecTest.java | 201 joutBoo.write(booBody.getBytes("iso-8859-1")); 205 joutBoo.write(farBody.getBytes("iso-8859-1")); 226 joutZoo.write(zooBody.getBytes("iso-8859-1")); 230 joutZoo.write(zarBody.getBytes("iso-8859-1"));
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateRequestTest.java | 60 .getBytes("UTF-8"));
|
SSLSocketFactoriesTest.java | 311 os.write(server_message.getBytes()); 320 Arrays.equals(client_message.getBytes(), buff)); 391 Arrays.equals(server_message.getBytes(), buff)); 393 buff = (" "+client_message+" ").getBytes();
|
Completed in 3645 milliseconds
<<11121314151617181920>>