Searched refs:body (Results 1 - 25 of 41) sorted by relevance

12

/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
H A DRootElement.java50 * public void end(String body) {
51 * System.out.println("Entry ID: " + body);
193 String body = bodyBuilder.toString();
197 current.endTextElementListener.end(body);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDrmReceiver.java37 byte[] body;
40 body = intent.getByteArrayExtra("data");
45 Log.d(LOG_TAG, "body:");
46 Log.d(LOG_TAG, HexDump.dumpHexString(body));
48 DataVerify.SetLastReceivedPdu(body);
H A DReceiverActivity.java38 byte[] body;
41 body = in.getByteArrayExtra("data");
46 Log.d(LOG_TAG, "body:");
47 Log.d(LOG_TAG, HexDump.dumpHexString(body));
49 DataVerify.SetLastReceivedPdu(body);
H A DReceiverService.java48 byte[] body;
50 body = intent.getByteArrayExtra("data");
55 Log.d(LOG_TAG, "body:");
56 Log.d(LOG_TAG, HexDump.dumpHexString(body));
58 DataVerify.SetLastReceivedPdu(body);
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp73 return body.motion.pointerCount > 0
74 && body.motion.pointerCount <= MAX_POINTERS;
85 return sizeof(Header) + body.key.size();
87 return sizeof(Header) + body.motion.size();
89 return sizeof(Header) + body.finished.size();
260 msg.body.key.seq = seq;
261 msg.body.key.deviceId = deviceId;
262 msg.body.key.source = source;
263 msg.body.key.action = action;
264 msg.body
[all...]
/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...]
H A DListOfEditTexts.java113 String body = getItem(position);
116 ((EditText) convertView).setText(body);
121 editText.setText(body);
/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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java102 * Parse and unpack the body text according to the encoding in the DCS.
103 * After completing successfully this method will have assigned the body
108 * @return a Pair of Strings containing the language and body of the message
223 * Unpack body text from the pdu using the given encoding, position and
230 * @param hasLanguageIndicator true if the body text is preceded by a
234 * @return a Pair of Strings containing the language and body of the message
238 String body = null;
242 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7);
244 if (hasLanguageIndicator && body != null && body
[all...]
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp78 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN;
87 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
94 clientReply.body.finished.seq = 0x11223344;
95 clientReply.body.finished.handled = true;
104 EXPECT_EQ(clientReply.body.finished.seq, serverReply.body.finished.seq)
106 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled)
/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);
H A DServerOperation.java175 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data);
177 if (body != null) {
208 if (body != null) {
209 mPrivateInput.writeBytes(body, 1);
351 * Determine if I can send the whole body or just part of
352 * the body. Remember that there is the 3 bytes for the
359 byte[] body = mPrivateOutput.readBytes(bodyLength);
375 out.write(body);
452 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data);
453 if (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/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java138 byte[] body = null;
142 body = new byte[(int) entity.getContentLength()];
145 dis.readFully(body);
160 return body;
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java133 * The body of the message
136 public static final String BODY = "body";
212 * @param body the body of the message
220 Uri uri, String address, String body, String subject,
222 return addMessageToUri(resolver, uri, address, body, subject,
232 * @param body the body of the message
241 Uri uri, String address, String body, String subject,
251 values.put(BODY, body);
219 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
240 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
344 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
377 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
409 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
423 saveMessage(ContentResolver resolver, Uri uri, String body) argument
458 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
/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
358 eventTime = msg->body.motion.eventTime;
360 for (size_t i = 0; i < msg->body.motion.pointerCount; i++) {
361 uint32_t id = msg->body.motion.pointers[i].properties.id;
364 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/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/base/docs/html/guide/google/gcm/client-javadoc/
H A Dstylesheet.css6 body { background-color: #FFFFFF; color:#000000 }
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Dstylesheet.css6 body { background-color: #FFFFFF; color:#000000 }
/frameworks/rs/scriptc/
H A Drs_cl.rsh750 #define XN_FUNC_XN_XN_BODY(type, fnc, body) \
760 #define IN_FUNC_IN_IN_BODY(fnc, body) \
761 XN_FUNC_XN_XN_BODY(uchar, fnc, body) \
762 XN_FUNC_XN_XN_BODY(char, fnc, body) \
763 XN_FUNC_XN_XN_BODY(ushort, fnc, body) \
764 XN_FUNC_XN_XN_BODY(short, fnc, body) \
765 XN_FUNC_XN_XN_BODY(uint, fnc, body) \
766 XN_FUNC_XN_XN_BODY(int, fnc, body) \
767 XN_FUNC_XN_XN_BODY(float, fnc, body)
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_cl.rsh750 #define XN_FUNC_XN_XN_BODY(type, fnc, body) \
760 #define IN_FUNC_IN_IN_BODY(fnc, body) \
761 XN_FUNC_XN_XN_BODY(uchar, fnc, body) \
762 XN_FUNC_XN_XN_BODY(char, fnc, body) \
763 XN_FUNC_XN_XN_BODY(ushort, fnc, body) \
764 XN_FUNC_XN_XN_BODY(short, fnc, body) \
765 XN_FUNC_XN_XN_BODY(uint, fnc, body) \
766 XN_FUNC_XN_XN_BODY(int, fnc, body) \
767 XN_FUNC_XN_XN_BODY(float, fnc, body)

Completed in 343 milliseconds

12