Home
last modified time | relevance | path

Searched refs:body (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/frameworks/base/libs/androidfw/
DInputTransport.cpp73 return body.motion.pointerCount > 0 in isValid()
74 && body.motion.pointerCount <= MAX_POINTERS; in isValid()
85 return sizeof(Header) + body.key.size(); in size()
87 return sizeof(Header) + body.motion.size(); in size()
89 return sizeof(Header) + body.finished.size(); in size()
260 msg.body.key.seq = seq; in publishKeyEvent()
261 msg.body.key.deviceId = deviceId; in publishKeyEvent()
262 msg.body.key.source = source; in publishKeyEvent()
263 msg.body.key.action = action; in publishKeyEvent()
264 msg.body.key.flags = flags; in publishKeyEvent()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java237 String body = null; in unpackBody() local
241 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody()
243 if (hasLanguageIndicator && body != null && body.length() > 2) { in unpackBody()
246 language = body.substring(0, 2); in unpackBody()
247 body = body.substring(3); in unpackBody()
261 body = new String(pdu, offset, (length & 0xfffe), "utf-16"); in unpackBody()
272 if (body != null) { in unpackBody()
274 for (int i = body.length() - 1; i >= 0; i--) { in unpackBody()
275 if (body.charAt(i) != CARRIAGE_RETURN) { in unpackBody()
276 body = body.substring(0, i + 1); in unpackBody()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java77 public MailMessage(String subject, String body) { in MailMessage() argument
78 this(subject, body, false); in MailMessage()
82 public MailMessage(String subject, String body, boolean focusable) { in MailMessage() argument
84 mBody = body; in MailMessage()
100 public void setBody(String body) { in setBody() argument
101 this.mBody = body; in setBody()
138 WebView body = (WebView) messageUi.findViewById(R.id.body); in getView() local
139 body.loadData(message.getBody(), mimeType, null); in getView()
141 body.setFocusable(message.isFocusable()); in getView()
DListOfEditTexts.java113 String body = getItem(position); in getView() local
116 ((EditText) convertView).setText(body); in getView()
121 editText.setText(body); in getView()
/frameworks/base/libs/androidfw/tests/
DInputChannel_test.cpp78 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; in TEST_F()
87 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action) in TEST_F()
94 clientReply.body.finished.seq = 0x11223344; in TEST_F()
95 clientReply.body.finished.handled = true; in TEST_F()
104 EXPECT_EQ(clientReply.body.finished.seq, serverReply.body.finished.seq) in TEST_F()
106 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled) in TEST_F()
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java75 public void end(String body) { in end() argument
76 this.bodies += body; in end()
133 public void end(String body) { in testMixedContent()
219 public void end(String body) { in newContentHandler()
220 video.videoId = body; in newContentHandler()
226 public void end(String body) { in newContentHandler()
229 video.dateAdded.parse3339(body); in newContentHandler()
236 public void end(String body) { in newContentHandler()
237 video.authorName = body; in newContentHandler()
275 public void end(String body) { in newContentHandler()
[all …]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DDrmReceiver.java37 byte[] body; in onReceive()
40 body = intent.getByteArrayExtra("data"); in onReceive()
46 Log.d(LOG_TAG, HexDump.dumpHexString(body)); in onReceive()
48 DataVerify.SetLastReceivedPdu(body); in onReceive()
DReceiverActivity.java38 byte[] body; in onCreate()
41 body = in.getByteArrayExtra("data"); in onCreate()
47 Log.d(LOG_TAG, HexDump.dumpHexString(body)); in onCreate()
49 DataVerify.SetLastReceivedPdu(body); in onCreate()
DReceiverService.java48 byte[] body; in onStartCommand()
50 body = intent.getByteArrayExtra("data"); in onStartCommand()
56 Log.d(LOG_TAG, HexDump.dumpHexString(body)); in onStartCommand()
58 DataVerify.SetLastReceivedPdu(body); in onStartCommand()
/frameworks/base/core/java/com/google/android/mms/pdu/
DMultimediaMessagePdu.java44 public MultimediaMessagePdu(PduHeaders header, PduBody body) { in MultimediaMessagePdu() argument
46 mMessageBody = body; in MultimediaMessagePdu()
72 public void setBody(PduBody body) { in setBody() argument
73 mMessageBody = body; in setBody()
DRetrieveConf.java54 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf() argument
55 super(headers, body); in RetrieveConf()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java143 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument
148 if (body != null) { in createCmasSmsMessage()
150 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage()
191 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument
196 encodeBody(encoding, body, false, bos); in createBroadcastSmsMessage()
211 private static void encodeBody(int encoding, String body, boolean isCmasRecord, in encodeBody() argument
214 int charCount = body.length(); in encodeBody()
231 bos.write(7, body.charAt(i)); in encodeBody()
238 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
267 int charCount = body.length(); in encodeBody()
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/
Dreference.jd5 @jd:body
13 newheight = element.contentWindow.document.body.scrollHeight + 20;
14 newwidth = element.contentWindow.document.body.scrollWidth;
/frameworks/base/obex/javax/obex/
DServerOperation.java175 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data); in ServerOperation()
177 if (body != null) { in ServerOperation()
208 if (body != null) { in ServerOperation()
209 mPrivateInput.writeBytes(body, 1); in ServerOperation()
359 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendReply()
375 out.write(body); in sendReply()
452 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data); in sendReply()
453 if (body != null) { in sendReply()
484 if (body != null) { in sendReply()
485 mPrivateInput.writeBytes(body, 1); in sendReply()
DPrivateInputStream.java147 public synchronized void writeBytes(byte[] body, int start) { in writeBytes() argument
149 int length = (body.length - start) + (mData.length - mIndex); in writeBytes()
153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start); in writeBytes()
/frameworks/base/core/java/android/provider/
DTelephony.java220 Uri uri, String address, String body, String subject, in addMessageToUri() argument
222 return addMessageToUri(resolver, uri, address, body, subject, in addMessageToUri()
241 Uri uri, String address, String body, String subject, in addMessageToUri() argument
251 values.put(BODY, body); in addMessageToUri()
345 String address, String body, String subject, Long date, in addMessage() argument
347 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
378 String address, String body, String subject, Long date) { in addMessage() argument
379 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
410 String address, String body, String subject, Long date) { in addMessage() argument
411 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java266 protected MockResponse buildResponse(int status, byte[] body) { in buildResponse() argument
267 return buildResponse(status).setBody(body); in buildResponse()
279 final byte[] body = Streams.readFully(new FileInputStream(bodyFile)); in buildResponse()
280 return buildResponse(status).setBody(body); in buildResponse()
919 protected long doStandardEnqueue(byte[] body) throws Exception { in doStandardEnqueue() argument
920 return enqueueDownloadRequest(body, DOWNLOAD_TO_DOWNLOAD_CACHE_DIR); in doStandardEnqueue()
923 protected long enqueueDownloadRequest(byte[] body, int location) throws Exception { in enqueueDownloadRequest() argument
925 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
934 protected long doStandardEnqueue(File body) throws Exception { in doStandardEnqueue() argument
935 return enqueueDownloadRequest(body, DOWNLOAD_TO_DOWNLOAD_CACHE_DIR); in doStandardEnqueue()
[all …]
/frameworks/base/services/java/com/android/server/location/
DGpsXtraDownloader.java138 byte[] body = null; in doDownload()
142 body = new byte[(int) entity.getContentLength()]; in doDownload()
145 dis.readFully(body); in doDownload()
160 return body; in doDownload()
/frameworks/base/include/androidfw/
DInputTransport.h115 } body; member
358 eventTime = msg->body.motion.eventTime; in initializeFrom()
360 for (size_t i = 0; i < msg->body.motion.pointerCount; i++) { in initializeFrom()
361 uint32_t id = msg->body.motion.pointers[i].properties.id; in initializeFrom()
364 pointers[i].copyFrom(msg->body.motion.pointers[i].coords); in initializeFrom()
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex3.jd4 @jd:body
38 <li>Remove the code in <code>NoteEdit</code> that parses the title and body
46 String body = extras.getString(NotesDbAdapter.KEY_BODY);</pre>
50 and body text edit values in the UI. So delete:
55 if (body != null) {
56 mBodyText.setText(body);
145 mBodyText = (EditText) findViewById(R.id.body);
186 doing that ourselves. After that, we just look up the title and body values from the Cursor
285 String body = mBodyText.getText().toString();
288 long id = mDbHelper.createNote(title, body);
[all …]
Dnotepad-ex2.jd4 @jd:body
143 <p>Fill in the body of the <code>createNote()</code> method:
168 <p>Fill in the body of the <code>onListItemClick()</code> override.</p>
184 to pass in the title and body text, and the <code>mRowId</code> for the note we are
203 using the Bundle to pass in the title, body and mRowId of the note we want to edit.
225 in the body of the <code>onActivityResult()</code>. </p>
256 String body = extras.getString(NotesDbAdapter.KEY_BODY);
257 mDbHelper.createNote(title, body);
277 In the case of a create, we pull the title and body from the extras (retrieved from the
375 <p>Fill in the body of the <code>onCreate()</code> method for <code>NoteEdit</code>.</p>
[all …]
/frameworks/base/sax/java/android/sax/
DRootElement.java193 String body = bodyBuilder.toString(); in endElement() local
197 current.endTextElementListener.end(body); in endElement()
DEndTextElementListener.java29 void end(String body); in end() argument
/frameworks/base/docs/html/tools/sdk/preview/
Dindex.jd2 @jd:body
/frameworks/base/docs/html/distribute/googleplay/promote/
Dproduct-pages.jd2 @jd:body

12345678910>>...28