/frameworks/base/sax/java/android/sax/ |
H A D | EndTextElementListener.java | 25 * 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 D | RootElement.java | 50 * 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 D | DrmReceiver.java | 37 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 D | ReceiverActivity.java | 38 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 D | ReceiverService.java | 48 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 D | InputTransport.cpp | 75 return body.motion.pointerCount > 0 76 && body.motion.pointerCount <= MAX_POINTERS; 87 return sizeof(Header) + body.key.size(); 89 return sizeof(Header) + body.motion.size(); 91 return sizeof(Header) + body.finished.size(); 267 msg.body.key.seq = seq; 268 msg.body.key.deviceId = deviceId; 269 msg.body.key.source = source; 270 msg.body.key.action = action; 271 msg.body [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListWithMailMessages.java | 77 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 D | ListOfEditTexts.java | 113 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 D | MultimediaMessagePdu.java | 27 * 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 D | RetrieveConf.java | 49 * 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 D | GsmSmsCbMessage.java | 102 * 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/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 79 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 D | PrivateInputStream.java | 142 * 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 D | ServerOperation.java | 177 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data); 179 if (body != null) { 210 if (body != null) { 211 mPrivateInput.writeBytes(body, 1); 353 * Determine if I can send the whole body or just part of 354 * the body. Remember that there is the 3 bytes for the 361 byte[] body = mPrivateOutput.readBytes(bodyLength); 374 out.write(body); 382 out.write(body); 463 byte[] body [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 75 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 D | NBLog.cpp | 343 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 D | BluetoothMasRequest.java | 127 protected void executePut(ClientSession session, byte[] body) throws IOException { argument 130 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); 136 out.write(body);
|
H A D | BluetoothMapBmessage.java | 149 public BluetoothMapBmessage setBodyContent(String body) { argument 150 mMessage = body;
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 150 byte[] body = null; 154 body = new byte[(int) entity.getContentLength()]; 157 dis.readFully(body); 172 return body;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_hdmi_HdmiCecController.cpp | 94 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 D | Telephony.java | 207 * The body of the message. 210 public static final String BODY = "body"; 330 * @param body the body of the message 339 Uri uri, String address, String body, String subject, 342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); 351 * @param body the body of the message 361 Uri uri, String address, String body, String subject, 363 return addMessageToUri(subId, resolver, uri, address, body, subjec 338 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 360 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 382 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 406 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 522 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 542 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 582 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 600 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 627 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 645 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 691 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument 712 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecController.java | 220 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/native/include/input/ |
H A D | InputTransport.h | 55 // We don't need this field in order to align the body below but we 123 } __attribute__((aligned(8))) body; member in struct:android::InputMessage 369 eventTime = msg->body.motion.eventTime; 371 for (uint32_t i = 0; i < msg->body.motion.pointerCount; i++) { 372 uint32_t id = msg->body.motion.pointers[i].properties.id; 375 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsCbTest.java | 134 * @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 D | DownloadManagerBaseTest.java | 249 * 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...] |