Searched
refs:getBytes (Results
276 -
300 of
1069) sorted by null
<<11121314151617181920>>
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 125 offset = bytes.underlyingOffset(offset, getBytes()); 180 protected final byte[] 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/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertificateTest.java | 267 is = new ByteArrayInputStream(Base64.decode(base64cert.getBytes("UTF-8"))); 272 is = new ByteArrayInputStream(Base64.decode(base64crl.getBytes("UTF-8")));
|
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 284 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); 390 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII);
|
URLCodec.java | 231 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII); 275 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset);
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 147 write(s.getBytes(this.charset)); 174 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 | 243 return x509Certificate.getSignature().getBytes(); 292 return verifier.verify(x509Certificate.getSignature().getBytes());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 116 byte[] bytes = spki.getPublicKeyData().getBytes(); 137 byte[] bytes = spki.getPublicKeyData().getBytes();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
NFS4StringPrep.java | 68 return out.toString().getBytes("UTF-8"); 147 return out.toString().getBytes("UTF-8");
|
/external/jetty/src/java/org/eclipse/jetty/util/security/ |
Credential.java | 159 __md.update(credentials.toString().getBytes(StringUtil.__ISO_8859_1)); 216 __md.update(password.getBytes(StringUtil.__ISO_8859_1));
|
/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/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/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAConstructed.java | 108 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8)); 116 out.write(".\n".getBytes(StandardCharsets.UTF_8));
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
EncodedStringValue.java | 75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); 218 temp[i].getBytes());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PipedOutputStreamTest.java | 142 out.write("HelloWorld".getBytes("UTF-8"), 0, 10); 155 out.write("HelloWorld".getBytes("UTF-8"), 0, 10);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
ManifestTest.java | 89 MANIFEST_CONTENTS.getBytes("ISO-8859-1"))); 137 MANIFEST_CONTENTS.getBytes("ISO-8859-1"))); 145 .getBytes("ISO-8859-1")); 161 MANIFEST_CONTENTS_2.getBytes("ISO-8859-1"))); 188 MANIFEST_CONTENTS.getBytes("ISO-8859-1"))); 190 MANIFEST_CONTENTS.getBytes("ISO-8859-1"))); 195 MANIFEST_CONTENTS_1.getBytes("ISO-8859-1"))); 270 byte[] bytes = manifestContent.getBytes("ISO-8859-1");
|
/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/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/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMime.java | 46 * jpeg data or the text.getBytes("utf-8") */ 100 if(text.getBytes().length == text.getBytes("UTF-8").length){ 124 if(text.getBytes().length != text.getBytes("UTF-8").length){ 336 lineLength += headerName.getBytes().length; 339 partLength = address.toString().getBytes().length+1; 375 sb.append(Base64.encodeToString(subject.getBytes("utf-8"), Base64.DEFAULT)); 475 bodyFragments.add(tmpBody.getBytes("UTF-8")); 665 return body.getBytes("UTF-8") [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
EncodedStringValue.java | 75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); 218 temp[i].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);
|
/cts/common/host-side/xml-plan-generator/tests/src/com/android/compatibility/common/xmlgenerator/ |
XmlPlanGeneratorTest.java | 123 final ByteArrayInputStream in = new ByteArrayInputStream(input.getBytes());
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
MyDocumentsProvider.java | 113 file1.contents = "fileone".getBytes(); 121 file2.contents = "filetwo".getBytes(); 132 file3.contents = "filethree".getBytes(); 142 file4.contents = "filefour".getBytes();
|
Completed in 2010 milliseconds
<<11121314151617181920>>