/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
|
/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 | 78 return body.motion.pointerCount > 0 79 && body.motion.pointerCount <= MAX_POINTERS; 90 return sizeof(Header) + body.key.size(); 92 return sizeof(Header) + body.motion.size(); 94 return sizeof(Header) + body.finished.size(); 270 msg.body.key.seq = seq; 271 msg.body.key.deviceId = deviceId; 272 msg.body.key.source = source; 273 msg.body.key.action = action; 274 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/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbMessage.java | 129 * Parse and unpack the body text according to the encoding in the DCS. 130 * After completing successfully this method will have assigned the body 135 * @return a Pair of Strings containing the language and body of the message 250 * Unpack body text from the pdu using the given encoding, position and 257 * @param hasLanguageIndicator true if the body text is preceded by a 261 * @return a Pair of Strings containing the language and body of the message 265 String body = null; 269 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); 271 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/av/media/libnbaio/ |
H A D | PerformanceAnalysis.cpp | 266 // TODO Make it return a std::string instead of modifying body --> is this still relevant? 269 void PerformanceAnalysis::reportPerformance(String8 *body, int maxHeight) { argument 309 body->appendFormat("\n%*s", leftPadding + 11, "Occurrences"); 311 body->appendFormat("\n%s", " "); 312 body->appendFormat("%*s", leftPadding, " "); 314 body->appendFormat("%*d", colWidth, x.second); 317 body->appendFormat("\n%s", " "); 320 body->appendFormat("%.*s", leftPadding, spaces.c_str()); 322 body->appendFormat("%.*s%s", colWidth - 1, spaces.c_str(), x.second < value ? " " : "|"); 324 body [all...] |
H A D | NBLog.cpp | 879 String8 timestamp, body; local 886 body.appendFormat("warning: lost %zu bytes worth of events", lost); 888 // log to push it out. Consider keeping the timestamp/body between calls to copyEntryDataAt(). 889 dumpLine(timestamp, body); 895 entry = handleFormat(FormatEntry(entry), ×tamp, &body); 915 body.appendFormat("warning: got to end format event"); 920 body.appendFormat("warning: unexpected event %d", entry->type); 925 performanceAnalysis.reportPerformance(&body); 926 if (!body.isEmpty()) { 927 dumpLine(timestamp, body); 938 dumpLine(const String8 ×tamp, String8 &body) argument 955 appendTimestamp(String8 *body, const void *data) argument 962 appendInt(String8 *body, const void *data) argument 967 appendFloat(String8 *body, const void *data) argument 973 appendPID(String8 *body, const void* data, size_t length) argument 996 handleFormat(const FormatEntry &fmtEntry, String8 *timestamp, String8 *body) argument 1167 handleAuthor(const NBLog::AbstractEntry &entry, String8 *body) argument [all...] |
/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 | 229 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 D | SOAPParser.java | 18 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 D | HTTPResponse.java | 31 int body = -1; 43 if (body < 0) { 47 body = n + 1; 48 statusCode = parseHeader(input, body, mHeaders); 49 expected = calculateLength(body, mHeaders); 63 mBody = ByteBuffer.wrap(input, body, expected - body); 66 private static int parseHeader(byte[] input, int body, Map<String, String> headers) argument 68 String headerText = new String(input, 0, body - BODY_SEPARATOR_LENGTH, 101 private static int calculateLength(int body, Ma argument [all...] |
/frameworks/rs/rsov/compiler/spirit/ |
H A D | generate.py | 271 body = "setWordCount();\n" 272 body += " OS << mCodeAndCount;\n" 275 body += " if (%s!=nullptr) { OS << *%s; }\n" % (var, var) 277 body += """ for (auto val : %s) { OS << val; }\n""" % var 279 body += " OS << %s;\n" % var 280 body += " SerializeExtraOperands(OS);\n" 281 return body 284 body = "return DeserializeFirstWord(IS, %s)" % name 286 body += " &&\n " 288 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/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasRequest.java | 128 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/telephony/java/android/telephony/ |
H A D | Telephony.java | 211 * The body of the message. 214 public static final String BODY = "body"; 334 * @param body the body of the message 343 Uri uri, String address, String body, String subject, 346 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); 355 * @param body the body of the message 365 Uri uri, String address, String body, String subject, 367 return addMessageToUri(subId, resolver, uri, address, body, subjec 342 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 364 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 386 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 410 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 526 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 546 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 586 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 604 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 631 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 649 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 695 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument 716 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 | 230 byte[] body = new byte[params.length + 1]; 231 body[0] = (byte) opcode; 232 System.arraycopy(params, 0, body, 1, params.length); 233 return body; 495 // <Polling Message> is a message which has empty body. 597 byte[] body = buildBody(cecMessage.getOpcode(), cecMessage.getParams()); 602 cecMessage.getDestination(), body); 628 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { argument 630 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); 674 int dstAddress, byte[] body); 673 nativeSendCecCommand(long controllerPtr, int srcAddress, int dstAddress, byte[] body) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | VisualVoicemailSmsFilter.java | 255 * @return the message body of the SMS, or {@code null} if it can not be parsed. 271 String body = message.getMessageBody(); 272 if (body == null && message.getUserData() != null) { 279 body = decoder.decode(byteBuffer).toString(); 285 if (body != null) { 286 builder.append(body);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsCbTest.java | 133 * @param body message body 142 int language, int encoding, String body, int cmasCategory, int responseType, 147 if (body != null) { 149 encodeBody(encoding, body, true, cmasBos); 186 * @param body the message body 190 int priority, int language, int encoding, String body) throws Exception { 195 encodeBody(encoding, body, false, bos); 201 * Append the message length, encoding, and body t 141 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument 189 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument 210 encodeBody(int encoding, String body, boolean isCmasRecord, BitwiseOutputStream bos) argument 398 doTestCmasBroadcast(int serviceCategory, int messageClass, String body) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 251 * Helper to build a response from the MockWebServer with no body. 266 * @param body The body to return in this response 269 protected MockResponse buildResponse(int status, byte[] body) { argument 270 return buildResponse(status).setBody(body); 277 * @param bodyFile The body to return in this response 282 final byte[] body = Streams.readFully(new FileInputStream(bodyFile)); 283 return buildResponse(status).setBody(body); 920 * @param body The body t 922 doStandardEnqueue(byte[] body) argument 926 enqueueDownloadRequest(byte[] body) argument 937 doStandardEnqueue(File body) argument 941 enqueueDownloadRequest(File body) argument [all...] |