Searched refs:body (Results 1 - 25 of 59) 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/support/core/ktx/src/main/java/androidx/core/database/sqlite/
H A DSQLiteDatabase.kt22 * Run [body] in a transaction marking it as successful if it completes without exception.
28 body: SQLiteDatabase.() -> T
36 val result = body()
/frameworks/support/persistence/db/ktx/src/main/java/androidx/sqlite/db/
H A DSupportSQLiteDatabase.kt20 * Run [body] in a transaction marking it as successful if it completes without exception.
26 body: SupportSQLiteDatabase.() -> T
34 val result = 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/support/fragment/ktx/src/main/java/androidx/fragment/app/
H A DFragmentManager.kt20 * Run [body] in a [FragmentTransaction] which is automatically committed if it completes without
35 body: FragmentTransaction.() -> Unit
38 transaction.body()
/frameworks/support/testutils-ktx/src/main/java/androidx/testutils/
H A Dassertions.kt22 inline fun <reified T : Throwable> assertThrows(body: () -> Unit): ThrowableSubject {
24 body()
/frameworks/native/libs/input/
H A DInputTransport.cpp78 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 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/av/media/libnblog/
H A DPerformanceAnalysis.cpp252 // TODO Make it return a std::string instead of modifying body
255 void PerformanceAnalysis::reportPerformance(String8 *body, int author, log_hash_t hash, argument
302 body->appendFormat("\n%*s %3.2f %s", leftPadding + 11,
304 body->appendFormat("\n%*s%d, %lld, %lld\n", leftPadding + 11,
308 body->appendFormat("\n%s", " ");
309 body->appendFormat("%*s", leftPadding, " ");
312 body->appendFormat("%*d", colWidth, x.second);
315 body->appendFormat("\n%s", " ");
318 body->appendFormat("%.*s", leftPadding, spaces.c_str());
321 body
352 String8 body; local
372 dumpLine(int fd, int indent, const String8 &body) argument
[all...]
H A DNBLog.cpp810 String8 timestamp, body; local
815 entry = handleFormat(FormatEntry(entry), &timestamp, &body);
845 body.appendFormat("warning: got to end format event");
850 body.appendFormat("warning: unexpected event %d", entry->type);
856 if (!body.isEmpty()) {
857 dumpLine(timestamp, body);
874 void NBLog::Reader::dumpLine(const String8 &timestamp, String8 &body) argument
877 dprintf(mFd, "%.*s%s %s\n", mIndent, "", timestamp.string(), body.string());
879 ALOGI("%.*s%s %s", mIndent, "", timestamp.string(), body.string());
881 body
891 appendTimestamp(String8 *body, const void *data) argument
898 appendInt(String8 *body, const void *data) argument
903 appendFloat(String8 *body, const void *data) argument
909 appendPID(String8 *body, const void* data, size_t length) argument
932 handleFormat(const FormatEntry &fmtEntry, String8 *timestamp, String8 *body) argument
1104 handleAuthor(const NBLog::AbstractEntry &entry, String8 *body) argument
[all...]
/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/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DDumpTruck.java53 final StringBuilder body = new StringBuilder(); field in class:DumpTruck
72 body.setLength(0);
73 body.append("Build: ").append(Build.DISPLAY).append("\n\nProcesses:\n");
80 body.append(" pid ").append(pid);
84 body.append(":")
100 body.append(" (hprof attached)");
103 body.append("\n** Could not dump heap: \n").append(e.toString()).append("\n");
106 body.append("\n");
119 body.append("\n** Could not zip up files: \n").append(e.toString()).append("\n");
145 shareIntent.putExtra(Intent.EXTRA_TEXT, body
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java129 * 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 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.java239 byte[] body = updateRequestHeaders(packet);
241 if (body != null) {
272 if (body != null) {
273 mPrivateInput.writeBytes(body, 1);
281 * @return any bytes in a body/end-of-body header returned by {@link ObexHelper.updateHeaderSet}
285 byte[] body = null;
287 body = ObexHelper.updateHeaderSet(requestHeader, packet.mPayload);
300 return body;
479 * Determine if I can send the whole body o
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dgenerate.py271 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 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/include/media/nblog/
H A DPerformanceAnalysis.h67 void reportPerformance(String8 *body, int author, log_hash_t hash,
120 void dumpLine(int fd, int indent, const String8 &body);
/frameworks/av/media/libnblog/include/media/nblog/
H A DPerformanceAnalysis.h67 void reportPerformance(String8 *body, int author, log_hash_t hash,
120 void dumpLine(int fd, int indent, const String8 &body);
/frameworks/base/telephony/java/android/provider/
H A DTelephony.java212 * The body of the message.
215 public static final String BODY = "body";
335 * @param body the body of the message
344 Uri uri, String address, String body, String subject,
347 resolver, uri, address, body, subject, date, read, deliveryReport, -1L);
356 * @param body the body of the message
366 Uri uri, String address, String body, String subject,
368 return addMessageToUri(subId, resolver, uri, address, body, subjec
343 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
365 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
387 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
411 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
527 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
547 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
587 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
605 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
632 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
650 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
696 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
717 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]

Completed in 747 milliseconds

123