/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HostnameVerifierTest.java | 179 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); 207 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); 240 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); 277 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8"));
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipInputStreamTest.java | 42 byte[] data = "Hello World".getBytes("UTF-8");
|
ZipOutputStreamTest.java | 33 byte[] data = "Hello World".getBytes("UTF-8");
|
/libcore/luni/src/test/java/libcore/xml/ |
DeclarationTest.java | 64 out.write(contents.getBytes("UTF-8"));
|
NodeTest.java | 41 ByteArrayInputStream bis = new ByteArrayInputStream("<root/>".getBytes());
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
CertPathBuilderTestPKIX.java | 51 new ByteArrayInputStream(selfSignedCert.getBytes()));
|
/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 57 byte[] encrypted = crypt(cipher, plainData.getBytes());
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 297 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP), 300 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP), 313 byte[] data = ("\000" + username + "\000" + password).getBytes(); 342 byte[] data = Base64.encode(authPhrase.getBytes(), Base64.NO_WRAP);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
EncodedImageResource.java | 64 public byte[] getBytes() {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
HexDump.java | 98 stream.write(buffer.toString().getBytes());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleXmlTransfer.java | 125 byte[] buf = data.getBytes("UTF-8"); //$NON-NLS-1$
|
/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/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 153 ByteArrayInputStream in = new ByteArrayInputStream(certObject.getBytes()); 193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); 207 baseString.getBytes(OAuth.ENCODING));
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 35 RequestBody body = RequestBody.create(contentType, "abc".getBytes(Util.UTF_8)); 60 RequestBody body = RequestBody.create(contentType, "abc".getBytes(Util.UTF_8)); 69 RequestBody body = RequestBody.create(contentType, ".abcd".getBytes(Util.UTF_8), 1, 3);
|
/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();
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
PduPart.java | 96 static final byte[] DISPOSITION_FROM_DATA = "from-data".getBytes(); 97 static final byte[] DISPOSITION_ATTACHMENT = "attachment".getBytes(); 98 static final byte[] DISPOSITION_INLINE = "inline".getBytes();
|
PduParser.java | 468 value.setTextString(str.getBytes()); 550 from.setTextString(str.getBytes()); 560 PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()); 596 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes(), 600 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes(), 604 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes(), 608 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes(), [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
PduPart.java | 96 static final byte[] DISPOSITION_FROM_DATA = "from-data".getBytes(); 97 static final byte[] DISPOSITION_ATTACHMENT = "attachment".getBytes(); 98 static final byte[] DISPOSITION_INLINE = "inline".getBytes();
|
PduParser.java | 465 value.setTextString(str.getBytes()); 547 from.setTextString(str.getBytes()); 557 PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()); 593 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes(), 597 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes(), 601 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes(), 605 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes(), [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
EncodedStringValue.java | 90 mData = data.getBytes(CharacterSets.getMimeName(charset)); 93 mData = data.getBytes(); 233 temp[i].getBytes());
|
PduParser.java | 491 value.setTextString(str.getBytes()); 573 from.setTextString(str.getBytes()); 583 PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()); 621 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes(), 625 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes(), 629 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes(), 633 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes(), [all...] |
/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(StandardCharsets.US_ASCII); 59 byte[] textBytes = text.getBytes(utfEncoding); 77 byte[] typeBytes = type.getBytes(StandardCharsets.US_ASCII);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
DataInputStreamTest.java | 56 os.write(fileString.getBytes()); 69 os.write(fileString.getBytes()); 133 os.write(fileString.getBytes()); 146 os.write(fileString.getBytes()); 546 byte fileBytes[] = fileString.getBytes();
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
StdAttributeFactory.java | 216 ByteArray bytes = cf.getBytes(); 246 code.forEach(new CodeObserver(code.getBytes(), observer)); 320 ByteArray bytes = cf.getBytes(); 354 ByteArray bytes = cf.getBytes(); 383 ByteArray bytes = cf.getBytes(); 411 ByteArray bytes = cf.getBytes(); 468 ByteArray bytes = cf.getBytes(); 509 ByteArray bytes = cf.getBytes(); 532 ByteArray bytes = cf.getBytes(); 681 ByteArray bytes = cf.getBytes(); [all...] |