Searched defs:body (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/sax/java/android/sax/
H A DEndTextElementListener.java25 * Invoked at the end of a text element with the body of the element.
27 * @param body of the element
29 void end(String body); argument
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java142 * Allows the <code>OperationImpl</code> thread to add body data to the
144 * @param body the data to add to the stream
145 * @param start the start of the body to array to copy
147 public synchronized void writeBytes(byte[] body, int start) { argument
149 int length = (body.length - start) + (mData.length - mIndex);
153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithMailMessages.java77 public MailMessage(String subject, String body) { argument
78 this(subject, body, false);
82 public MailMessage(String subject, String body, boolean focusable) { argument
84 mBody = body;
100 public void setBody(String body) { argument
101 this.mBody = body;
138 WebView body = (WebView) messageUi.findViewById(R.id.body);
139 body.loadData(message.getBody(), mimeType, null);
140 // body
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DMultimediaMessagePdu.java27 * The body.
42 * @param body the body of this PDU
44 public MultimediaMessagePdu(PduHeaders header, PduBody body) { argument
46 mMessageBody = body;
59 * Get body of the PDU.
61 * @return the body
68 * Set body of the PDU.
70 * @param body the body
72 setBody(PduBody body) argument
[all...]
H A DRetrieveConf.java49 * Constructor with given headers and body
52 * @param body Body of this PDu.
54 RetrieveConf(PduHeaders headers, PduBody body) { argument
55 super(headers, body);
H A DSendReq.java82 * Constructor with given headers and body
85 * @param body Body of this PDu.
87 SendReq(PduHeaders headers, PduBody body) { argument
88 super(headers, body);
H A DPduPersister.java603 PduBody body = new PduBody();
606 // load multiparts and put them into the body of the PDU.
613 body.addPart(parts[i]);
629 pdu = new RetrieveConf(headers, body);
632 pdu = new SendReq(headers, body);
1143 * @param body New message body of the PDU.
1147 public void updateParts(Uri uri, PduBody body, HashMap<Uri, InputStream> preOpenedFiles) argument
1163 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body);
1174 int partsNum = body
[all...]
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java75 public void end(String body) { argument
76 this.bodies += body;
133 public void end(String body) {
219 public void end(String body) {
220 video.videoId = body;
226 public void end(String body) {
229 video.dateAdded.parse3339(body);
236 public void end(String body) {
237 video.authorName = body;
275 public void end(String body) {
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbMessage.java129 /** Message body, as a String. */
145 SmsCbLocation location, int serviceCategory, String language, String body,
153 mBody = body;
287 * Get the body of this message, or null if no body available
368 + mServiceCategory + ", language=" + mLanguage + ", body=" + mBody
144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
/frameworks/base/include/androidfw/
H A DInputTransport.h52 uint32_t padding; // 8 byte alignment for the body that follows
115 } body; member in struct:android::InputMessage
361 eventTime = msg->body.motion.eventTime;
363 for (size_t i = 0; i < msg->body.motion.pointerCount; i++) {
364 uint32_t id = msg->body.motion.pointers[i].properties.id;
367 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java134 * @param body message body
143 int language, int encoding, String body, int cmasCategory, int responseType,
148 if (body != null) {
150 encodeBody(encoding, body, true, cmasBos);
187 * @param body the message body
191 int priority, int language, int encoding, String body) throws Exception {
196 encodeBody(encoding, body, false, bos);
202 * Append the message length, encoding, and body t
142 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
190 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
211 encodeBody(int encoding, String body, boolean isCmasRecord, BitwiseOutputStream bos) argument
395 doTestCmasBroadcast(int serviceCategory, int messageClass, String body) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp579 AString body = local
589 request.append(StringPrintf("Content-Length: %d\r\n", body.size()));
591 request.append(body);
611 AString body; local
614 body.append("wfd_video_formats: ");
621 body.append(chosenVideoFormat.getFormatSpec(true /* forM4Message */));
622 body.append("\r\n");
626 body.append(
633 body.append(
638 body
667 AString body = "wfd_trigger_method: "; local
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java249 * Helper to build a response from the MockWebServer with no body.
264 * @param body The body to return in this response
267 protected MockResponse buildResponse(int status, byte[] body) { argument
268 return buildResponse(status).setBody(body);
275 * @param bodyFile The body to return in this response
280 final byte[] body = Streams.readFully(new FileInputStream(bodyFile));
281 return buildResponse(status).setBody(body);
918 * @param body The body t
920 doStandardEnqueue(byte[] body) argument
924 enqueueDownloadRequest(byte[] body, int location) argument
935 doStandardEnqueue(File body) argument
939 enqueueDownloadRequest(File body, int location) argument
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java130 * The body of the message
133 public static final String BODY = "body";
209 * @param body the body of the message
217 Uri uri, String address, String body, String subject,
219 return addMessageToUri(resolver, uri, address, body, subject,
229 * @param body the body of the message
238 Uri uri, String address, String body, String subject,
248 values.put(BODY, body);
216 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
237 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
341 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
374 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
406 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
420 saveMessage(ContentResolver resolver, Uri uri, String body) argument
455 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]

Completed in 584 milliseconds