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

123

/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/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/native/libs/input/
H A DInputTransport.cpp79 return body.motion.pointerCount > 0
80 && body.motion.pointerCount <= MAX_POINTERS;
91 return sizeof(Header) + body.key.size();
93 return sizeof(Header) + body.motion.size();
95 return sizeof(Header) + body.finished.size();
271 msg.body.key.seq = seq;
272 msg.body.key.deviceId = deviceId;
273 msg.body.key.source = source;
274 msg.body.key.action = action;
275 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/telephony/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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java69 // text body so the user won't see an empty dialog without any text.
107 * Parse and unpack the body text according to the encoding in the DCS.
108 * After completing successfully this method will have assigned the body
113 * @return a Pair of Strings containing the language and body of the message
228 * Unpack body text from the pdu using the given encoding, position and
235 * @param hasLanguageIndicator true if the body text is preceded by a
239 * @return a Pair of Strings containing the language and body of the message
243 String body = null;
247 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7);
249 if (hasLanguageIndicator && body !
[all...]
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp79 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN;
88 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
95 clientReply.body.finished.seq = 0x11223344;
96 clientReply.body.finished.handled = true;
105 EXPECT_EQ(clientReply.body.finished.seq, serverReply.body.finished.seq)
107 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.java229 byte[] body = updateRequestHeaders(packet);
231 if (body != null) {
262 if (body != null) {
263 mPrivateInput.writeBytes(body, 1);
271 * @return any bytes in a body/end-of-body header returned by {@link ObexHelper.updateHeaderSet}
275 byte[] body = null;
277 body = ObexHelper.updateHeaderSet(requestHeader, packet.mPayload);
290 return body;
469 * Determine if I can send the whole body o
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DSOAPParser.java18 private static final String BodyTag = "body";
70 XMLNode body = null;
74 body = child;
79 if (body == null || body.getChildren().isEmpty()) {
80 throw new OMAException("Missing SOAP body");
83 mResponseNode = body.getSoleChild();
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java31 int body = -1;
47 if (body < 0) {
51 body = n + 1;
52 statusCode = parseHeader(input, body, mHeaders);
53 expected = calculateLength(body, mHeaders);
67 mBody = ByteBuffer.wrap(input, body, expected - body);
70 private static int parseHeader(byte[] input, int body, Map<String, String> headers) argument
72 String headerText = new String(input, 0, body - BODY_SEPARATOR_LENGTH,
105 private static int calculateLength(int body, Ma argument
[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/av/media/libnbaio/
H A DNBLog.cpp343 String8 timestamp, body; local
346 body.appendFormat("warning: lost %zu bytes worth of events", lost);
348 // log to push it out. Consider keeping the timestamp/body between calls to readAt().
349 dumpLine(timestamp, body);
367 body.appendFormat("%.*s", (int) length, (const char *) data);
402 dumpLine(timestamp, body);
421 body.appendFormat("warning: unknown event %d", event);
426 if (!body.isEmpty()) {
427 dumpLine(timestamp, body);
432 dumpLine(timestamp, body);
438 dumpLine(const String8& timestamp, String8& body) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequest.java128 protected void executePut(ClientSession session, byte[] body) throws IOException { argument
131 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length));
137 out.write(body);
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp94 std::memcpy(mEvent.cec.body, event.cec.body, event.cec.length);
150 jbyteArray body = env->NewByteArray(message.length); local
151 const jbyte* bodyPtr = reinterpret_cast<const jbyte *>(message.body);
152 env->SetByteArrayRegion(body, 0, message.length, bodyPtr);
156 dstAddr, body);
157 env->DeleteLocalRef(body);
325 jint srcAddr, jint dstAddr, jbyteArray body) {
330 jsize len = env->GetArrayLength(body);
332 ScopedByteArrayRO bodyPtr(env, body);
324 nativeSendCecCommand(JNIEnv* env, jclass clazz, jlong controllerPtr, jint srcAddr, jint dstAddr, jbyteArray body) argument
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java208 * The body of the message.
211 public static final String BODY = "body";
331 * @param body the body of the message
340 Uri uri, String address, String body, String subject,
343 resolver, uri, address, body, subject, date, read, deliveryReport, -1L);
352 * @param body the body of the message
362 Uri uri, String address, String body, String subject,
364 return addMessageToUri(subId, resolver, uri, address, body, subjec
339 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
361 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
383 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
407 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
523 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
543 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
583 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
601 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
628 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
646 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
692 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
713 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_nan_WifiNanNative.cpp57 msg->body.publish_response.publish_id);
63 msg->body.subscribe_response.subscribe_id);
76 (int) msg->body.nan_capabilities.max_concurrent_nan_clusters);
78 (int) msg->body.nan_capabilities.max_publishes);
80 (int) msg->body.nan_capabilities.max_subscribes);
82 (int) msg->body.nan_capabilities.max_service_name_len);
84 (int) msg->body.nan_capabilities.max_match_filter_len);
87 (int) msg->body.nan_capabilities.max_total_match_filter_len);
90 (int) msg->body.nan_capabilities.max_service_specific_info_len);
92 (int) msg->body
[all...]
/frameworks/opt/net/wifi/tests/wifitests/jni/
H A Dwifi_nan_hal_mock.cpp347 msg.body.publish_response.publish_id = jsonR.get_int(
348 "body.publish_response.publish_id", &error);
350 msg.body.subscribe_response.subscribe_id = jsonR.get_int(
351 "body.subscribe_response.subscribe_id", &error);
353 msg.body.nan_capabilities.max_concurrent_nan_clusters = jsonR.get_int(
354 "body.nan_capabilities.max_concurrent_nan_clusters", &error);
355 msg.body.nan_capabilities.max_publishes = jsonR.get_int(
356 "body.nan_capabilities.max_publishes", &error);
357 msg.body.nan_capabilities.max_subscribes = jsonR.get_int(
358 "body
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java220 byte[] body = new byte[params.length + 1];
221 body[0] = (byte) opcode;
222 System.arraycopy(params, 0, body, 1, params.length);
223 return body;
471 // <Polling Message> is a message which has empty body.
570 byte[] body = buildBody(cecMessage.getOpcode(), cecMessage.getParams());
575 cecMessage.getDestination(), body);
601 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { argument
603 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body);
629 int dstAddress, byte[] body);
628 nativeSendCecCommand(long controllerPtr, int srcAddress, int dstAddress, byte[] body) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java137 * @param body message body
146 int language, int encoding, String body, int cmasCategory, int responseType,
151 if (body != null) {
153 encodeBody(encoding, body, true, cmasBos);
190 * @param body the message body
194 int priority, int language, int encoding, String body) throws Exception {
199 encodeBody(encoding, body, false, bos);
205 * Append the message length, encoding, and body t
145 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
193 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
214 encodeBody(int encoding, String body, boolean isCmasRecord, BitwiseOutputStream bos) argument
402 doTestCmasBroadcast(int serviceCategory, int messageClass, String body) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java248 * Helper to build a response from the MockWebServer with no body.
263 * @param body The body to return in this response
266 protected MockResponse buildResponse(int status, byte[] body) { argument
267 return buildResponse(status).setBody(body);
274 * @param bodyFile The body to return in this response
279 final byte[] body = Streams.readFully(new FileInputStream(bodyFile));
280 return buildResponse(status).setBody(body);
917 * @param body The body t
919 doStandardEnqueue(byte[] body) argument
923 enqueueDownloadRequest(byte[] body, int location) argument
934 doStandardEnqueue(File body) argument
938 enqueueDownloadRequest(File body, int location) argument
[all...]

Completed in 704 milliseconds

123