/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
Transport.java | 126 bos.write(xmlVersionTag.getBytes());
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
RetrCommandHandlerTest.java | 102 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
RetrCommandHandlerTest.java | 101 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
SampleGroupDescriptionBox.java | 73 byteBuffer.put(groupingType.getBytes());
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
WebSocketResponseHandler.java | 77 md.update(text.getBytes(), 0, text.length());
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
InplaceFileConverter.java | 106 os.write(replacement[i].getBytes()); 107 os.write(lineTerminator.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/ |
PduComposer.java | 312 appendTextString(str.getBytes()); 452 appendQuotedString(str.getBytes()); 463 temp.appendTextString(STRING_PHONE_NUMBER_ADDRESS_TYPE.getBytes()); 466 temp.appendTextString(STRING_IPV4_ADDRESS_TYPE.getBytes()); 469 temp.appendTextString(STRING_IPV6_ADDRESS_TYPE.getBytes()); 605 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes())) { 608 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes())) { 611 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes())) { 614 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes())) { [all...] |
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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FilterInputStreamTest.java | 102 fos.write(INPUT.getBytes(StandardCharsets.US_ASCII));
|
FilterOutputStreamTest.java | 55 os.write(fileString.getBytes(), 0, 500); 67 os.write(fileString.getBytes(), 0, 500); 79 os.write(fileString.getBytes()); 96 os.write(fileString.getBytes(), 0, fileString.length());
|
OutputStreamTesterTest.java | 90 public byte[] getBytes() throws IOException { 109 public byte[] getBytes() throws IOException { 140 public byte[] getBytes() throws Exception {
|
/libcore/luni/src/main/java/java/io/ |
PrintStream.java | 440 write(str.getBytes()); 442 write(str.getBytes(encoding));
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedOutputStreamTest.java | 42 os.write(fileString.getBytes(), 0, 500); 60 os.write(fileString.getBytes(), 0, 500); 69 os.write(fileString.getBytes(), 0, 500); 90 os.write(fileString.getBytes(), 0, 500); 98 os.write(fileString.getBytes(), 500, 513); 112 os.write(fileString.getBytes(), 0, 500);
|
OldFilterOutputStreamTest.java | 83 os.write(fileString.getBytes(), 0, 500); 101 os.write(fileString.getBytes()); 124 os.write(fileString.getBytes(), 10, testLength - 10); 137 os.write(fileString.getBytes());
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
SinkTester.java | 49 public abstract byte[] getBytes() throws Exception; 99 assertArrayEquals(expected, getBytes()); 112 assertArrayEquals(expected, getBytes()); 124 assertArrayEquals(expected, getBytes()); 146 assertArrayEquals(expected, getBytes()); 177 assertArrayEquals(expected, getBytes()); 188 assertArrayEquals(expected, getBytes()); 204 assertArrayEquals(expectedBytes, getBytes());
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 149 public byte[] getBytes() {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
EncodedImageResource.java | 64 public byte[] getBytes() {
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduComposer.java | 319 appendTextString(str.getBytes()); 459 appendQuotedString(str.getBytes()); 470 temp.appendTextString(STRING_PHONE_NUMBER_ADDRESS_TYPE.getBytes()); 473 temp.appendTextString(STRING_IPV4_ADDRESS_TYPE.getBytes()); 476 temp.appendTextString(STRING_IPV6_ADDRESS_TYPE.getBytes()); 613 PduHeaders.MESSAGE_CLASS_ADVERTISEMENT_STR.getBytes())) { 616 PduHeaders.MESSAGE_CLASS_AUTO_STR.getBytes())) { 619 PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes())) { 622 PduHeaders.MESSAGE_CLASS_INFORMATIONAL_STR.getBytes())) { [all...] |
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/Messaging/src/com/android/messaging/util/ |
BuglePrefsImpl.java | 75 public byte[] getBytes(String key) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 129 byte[] encoded = content.getBytes(); 140 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); 147 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT); 155 fw.write(content.getBytes(), 0, content.length()); 164 signer.update(content.trim().getBytes()); 165 signer.update(version.trim().getBytes()); 166 signer.update(requiredHash.getBytes()); 177 signer.update(content.trim().getBytes()); 178 signer.update(version.trim().getBytes()); 179 signer.update(requiredPrevious.trim().getBytes()); [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
MmsUtils.java | 421 part.setContentLocation(srcName.getBytes()); 426 part.setContentId(contentId.getBytes()); 437 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); 442 part.setData(text.getBytes()); 494 part.setContentType(contentType.getBytes()); 521 part.setContentType(contentType.getBytes()); 587 smilPart.setContentId("smil".getBytes()); 588 smilPart.setContentLocation("smil.xml".getBytes()); 589 smilPart.setContentType(ContentType.APP_SMIL.getBytes()); 591 smilPart.setData(smil.getBytes()); [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
PowerTestHostLink.java | 167 streamOut.write(response.getBytes(), 0, response.length()); 172 streamOut.write(RESPONSE_ERR.getBytes(), 0, RESPONSE_ERR.length());
|