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

123

/frameworks/base/tests/CoreTests/android/core/
H A DByteArrayInputStreamTest.java33 ByteArrayInputStream a = new ByteArrayInputStream(str.getBytes());
34 ByteArrayInputStream b = new ByteArrayInputStream(str.getBytes());
35 ByteArrayInputStream c = new ByteArrayInputStream(str.getBytes());
36 ByteArrayInputStream d = new ByteArrayInputStream(str.getBytes());
H A DPushbackInputStreamTest.java30 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes());
31 ByteArrayInputStream ba = new ByteArrayInputStream(str.getBytes());
32 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes());
36 a.unread("push".getBytes());
H A DBufferedInputStreamTest.java33 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes());
34 ByteArrayInputStream ba = new ByteArrayInputStream(str.getBytes());
35 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes());
36 ByteArrayInputStream da = new ByteArrayInputStream(str.getBytes());
37 ByteArrayInputStream ea = new ByteArrayInputStream(str.getBytes());
H A DInputStreamReaderTest.java36 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes("ISO8859_1"));
60 new ByteArrayInputStream(str.getBytes());
97 byte[] ba = src.getBytes(enc[i]);
H A DBufferedOutputStreamTest.java36 a.write(str.getBytes(), 0, 26);
H A DByteArrayOutputStreamTest.java35 a.write(str.getBytes(), 0, 26);
H A DDataInputStreamTest.java32 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes());
33 ByteArrayInputStream ba = new ByteArrayInputStream(str.getBytes());
34 ByteArrayInputStream ca = new ByteArrayInputStream(str.getBytes());
35 ByteArrayInputStream da = new ByteArrayInputStream(str.getBytes());
H A DDataOutputStreamTest.java37 a.write(str.getBytes(), 0, 26);
H A DSha1Test.java49 digest.update(mTestData[i].input.getBytes());
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DSendReq.java35 setContentType("application/vnd.wap.multipart.related".getBytes());
36 setFrom(new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()));
47 return transactionId.getBytes();
H A DPduPart.java96 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();
H A DPduComposer.java310 appendTextString(str.getBytes());
450 appendQuotedString(str.getBytes());
498 STRING_PHONE_NUMBER_ADDRESS_TYPE.getBytes());
501 temp.appendTextString(STRING_IPV4_ADDRESS_TYPE.getBytes());
504 temp.appendTextString(STRING_IPV6_ADDRESS_TYPE.getBytes());
586 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes())) {
589 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes())) {
592 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes())) {
595 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes())) {
H A DPduParser.java389 value.setTextString(str.getBytes());
467 from.setTextString(str.getBytes());
477 PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes());
505 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes(),
509 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes(),
513 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes(),
517 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes(),
739 part.setContentType((PduContentTypes.contentTypes[0]).getBytes()); //"*/*"
775 System.currentTimeMillis()).getBytes());
1264 byte[] type = (PduContentTypes.contentTypes[index]).getBytes();
[all...]
H A DEncodedStringValue.java76 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME);
219 temp[i].getBytes());
/frameworks/base/core/java/android/webkit/
H A DDataLoader.java52 mDataStream = new ByteArrayInputStream(content.getBytes());
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsRawData.java50 public byte[] getBytes() { method in class:SmsRawData
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DSSLTest.java44 out.write(get.getBytes());
H A DCharSequencesTest.java29 byte[] bytes = s.getBytes();
/frameworks/base/tests/CoreTests/com/android/internal/telephony/
H A DSimSmsTest.java47 pdu = data.getBytes();
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DSmsManagerPermissionTest.java60 MSG_CONTENTS.getBytes(), null, null);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFsUtils.java37 bos.write(s.getBytes());
56 bos.write(s.getBytes());
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DStringPart.java114 content = EncodingUtils.getBytes(value, getCharSet());
/frameworks/base/include/utils/
H A DBuffer.h99 getBytes() function in class:android::Buffer
/frameworks/base/tests/framework-tests/src/android/util/
H A DEventLogTest.java62 byte[] expectedBytes = expected.getBytes();
/frameworks/base/awt/javax/imageio/stream/
H A DImageOutputStreamImpl.java106 write(s.getBytes());

Completed in 345 milliseconds

123