Searched refs:getBytes (Results 1 - 25 of 71) sorted by path

123

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java109 AbstractionLayer.BT_PROPERTY_BDNAME, name.getBytes());
H A DRemoteDevices.java183 AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes());
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppLauncherActivity.java257 byte[] byteBuff = content.getBytes();
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapAuthenticator.java95 PasswordAuthentication pa = new PasswordAuthentication(null, mSessionKey.getBytes());
H A DBluetoothPbapObexServer.java674 outputStream.write(vcardString.getBytes());
H A DBluetoothPbapVcardManager.java618 outputStream.write(vCard.getBytes());
/packages/apps/Browser/src/com/android/browser/
H A DDataUri.java47 mData = uri.substring(commaIndex + 1).getBytes();
/packages/apps/Browser/src/com/android/browser/homepages/
H A DRequestHandler.java96 return TextUtils.htmlEncode(s).getBytes();
136 stream.write("data:image/png;base64,".getBytes());
172 stream.write(f.getName().getBytes());
175 stream.write(("file://" + f.getAbsolutePath()).getBytes());
178 stream.write((f.isDirectory() ? "dir" : "file").getBytes());
182 stream.write(readableFileSize(f.length()).getBytes());
189 stream.write(date.getBytes());
193 stream.write("alt".getBytes());
249 mOutput.write(str.getBytes());
253 mOutput.write(str.getBytes(), offse
[all...]
H A DTemplate.java70 mValue = value.getBytes();
219 mData.put(name, value.getBytes());
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
H A DDialogSmsDisplayTests.java95 encodedString = message.getBytes("UTF-16");
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java440 byte[] textBytes = text.getBytes("UTF-8");
451 byte[] htmlBytes = html.getBytes("UTF-8");
H A DTextBody.java38 byte[] bytes = mBody.getBytes("UTF-8");
55 byte[] b = mBody.getBytes("UTF-8");
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java164 return Base64.encodeToString(s.getBytes(), Base64.NO_WRAP);
250 byte[] bytes = s.getBytes("UTF-8");
/packages/apps/Email/src/com/android/email/activity/
H A DNfcHandler.java78 .getBytes("UTF-8");
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapFolder.java447 String octetLength = "{" + filter.getBytes().length + "}";
699 out.write(warning.getBytes());
H A DImapStore.java218 messageDigest.update(userName.getBytes());
219 messageDigest.update(devUID.getBytes());
/packages/apps/Email/src/com/android/email/mail/transport/
H A DMailTransport.java344 out.write(s.getBytes());
H A DSmtpSender.java306 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP),
309 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP),
322 byte[] data = ("\000" + username + "\000" + password).getBytes();
/packages/apps/Email/src/org/apache/commons/io/
H A DHexDump.java98 stream.write(buffer.toString().getBytes());
H A DIOUtils.java268 * This is the same as {@link String#getBytes()}.
274 * @deprecated Use {@link String#getBytes()}
277 return input.getBytes();
594 byte[] bytes = input.getBytes();
612 byte[] bytes = encoding != null ? input.getBytes(encoding) : input.getBytes();
706 * {@link String#getBytes()}.
718 output.write(new String(data).getBytes());
730 * {@link String#getBytes(String)}.
746 output.write(new String(data).getBytes(encodin
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/decoder/
H A DDecoderUtil.java52 byte[] bytes = s.getBytes("US-ASCII");
81 byte[] bytes = s.getBytes("US-ASCII");
/packages/apps/Email/src/org/apache/james/mime4j/util/
H A DCharsetUtil.java1031 "dummy".getBytes(JAVA_CHARSETS[i].canonical);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java385 mNextLine = (next + "\r\n").getBytes();
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DMimeMessageTest.java423 byte[] expected = expectedString.getBytes();
460 entireMessage.getBytes("us-ascii")));
485 entireMessage.getBytes("us-ascii")));
506 entireMessage.getBytes("us-ascii")));
524 mm = new MimeMessage(new ByteArrayInputStream(entireMessage.getBytes("us-ascii")));
542 mm = new MimeMessage(new ByteArrayInputStream(entireMessage.getBytes("us-ascii")));
H A DRfc822OutputTests.java249 att.mContentBytes = "__CONTENT__".getBytes("UTF-8");
294 att.mContentBytes = "<html>Hi</html>".getBytes("UTF-8");

Completed in 1577 milliseconds

123