/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeBodyPart.java | 32 protected Body body; field in MimeBodyPart 44 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart() argument 45 this(body, null); in MimeBodyPart() 48 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart() argument 52 setBody(body); in MimeBodyPart() 81 return body; in getBody() 85 public void setBody(Body body) throws MessagingException { in setBody() argument 86 this.body = body; in setBody() 87 if (body instanceof Multipart) { in setBody() 89 ((Multipart) body); in setBody() [all …]
|
D | TextBody.java | 28 String body; field in TextBody 30 public TextBody(String body) { in TextBody() argument 31 this.body = body; in TextBody() 36 byte[] bytes = body.getBytes("UTF-8"); in writeTo() 46 return body; in getText() 53 byte[] b = body.getBytes("UTF-8"); in getInputStream()
|
D | MimeMessage.java | 68 private Body body; field in MimeMessage 135 body = null; in init() 409 return body; in getBody() 413 public void setBody(Body body) throws MessagingException { in setBody() argument 414 this.body = body; in setBody() 415 if (body instanceof Multipart) { in setBody() 416 final Multipart multipart = ((Multipart) body); in setBody() 420 } else if (body instanceof TextBody) { in setBody() 539 if (body != null) { in writeTo() 540 body.writeTo(out); in writeTo() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | GsmSmsCbMessage.java | 121 String body = cbData.second; in createSmsCbMessage() local 147 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 314 String body = null; in unpackBody() local 319 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody() 321 if (dcs.hasLanguageIndicator && body != null && body.length() > 2) { in unpackBody() 324 language = body.substring(0, 2); in unpackBody() 325 body = body.substring(3); in unpackBody() 339 body = new String(pdu, offset, (length & 0xfffe), "utf-16"); in unpackBody() 350 if (body != null) { in unpackBody() 352 for (int i = body.length() - 1; i >= 0; i--) { in unpackBody() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmSmsCbMessage.java | 122 String body = cbData.second; in createSmsCbMessage() local 148 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 361 String body = null; in unpackBody() local 366 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody() 368 if (dcs.hasLanguageIndicator && body != null && body.length() > 2) { in unpackBody() 371 language = body.substring(0, 2); in unpackBody() 372 body = body.substring(3); in unpackBody() 386 body = new String(pdu, offset, (length & 0xfffe), "utf-16"); in unpackBody() 397 if (body != null) { in unpackBody() 399 for (int i = body.length() - 1; i >= 0; i--) { in unpackBody() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 653 String body; in parseMimePart() local 661 body = partStr; in parseMimePart() 711 body = parts[1]; in parseMimePart() 712 if (body.length() > 2) { in parseMimePart() 713 if (body.charAt(body.length() - 2) == '\r' in parseMimePart() 714 && body.charAt(body.length() - 2) == '\n') { in parseMimePart() 715 body = body.substring(0, body.length() - 2); in parseMimePart() 720 newPart.mData = decodeBody(body, partEncoding, newPart.mCharsetName); in parseMimePart() 723 private void parseMimeBody(String body) { in parseMimeBody() argument 726 newPart.mData = decodeBody(body, mMyEncoding, mCharset); in parseMimeBody() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 233 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument 238 if (body != null) { in createCmasSmsMessage() 240 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage() 282 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument 287 encodeBody(encoding, body, false, bos); in createBroadcastSmsMessage() 303 private static void encodeBody(int encoding, String body, boolean isCmasRecord, in encodeBody() argument 306 int charCount = body.length(); in encodeBody() 323 bos.write(7, body.charAt(i)); in encodeBody() 330 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody() 359 int charCount = body.length(); in encodeBody() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 695 final MmsBody body = getMmsBody(mmsId); 696 if (body != null && body.equals(mms.body)) { 848 final MmsBody body = getMmsBody(mmsId); 850 if (body == null || body.text == null) { 890 jsonWriter.name(MMS_BODY_KEY).value(body.text); 892 jsonWriter.name(MMS_BODY_CHARSET_KEY).value(body.charSet); 968 mms.body = new MmsBody(bodyText, bodyCharset); 1008 String body = null; 1018 body = (body == null ? text : body.concat(text)); 1024 return (body == null ? null : new MmsBody(body, charSet)); [all …]
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | QuickResponseActivity.java | 86 String body = null; in onItemClick() local 88 body = mResponses[position]; in onItemClick() 92 new QueryThread(mEventId, body).start(); in onItemClick() 99 QueryThread(long eventId, String body) { in QueryThread() argument 101 mBody = body; in QueryThread()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiListItemAdapter.java | 174 mBody = findViewByRefId(itemView, R.id.body); in ListItemViewHolder() 193 CharSequence body = item.getBody(); in bind() local 203 if (!TextUtils.isEmpty(body)) { in bind() 204 mBody.setText(body); in bind() 363 mBody = findViewByRefId(itemView, R.id.body); in HeaderViewHolder() 369 CharSequence body = item.getBody(); in bind() local 370 if (!TextUtils.isEmpty(body)) { in bind() 371 mBody.setText(body); in bind()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | MultimediaMessagePdu.java | 42 public MultimediaMessagePdu(PduHeaders header, PduBody body) { in MultimediaMessagePdu() argument 44 mMessageBody = body; in MultimediaMessagePdu() 70 public void setBody(PduBody body) { in setBody() argument 71 mMessageBody = body; in setBody()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 551 final PduBody body = loadBody(msgId, msgType); in load() local 552 return createPdu(msgType, headers, body); in load() 619 final PduBody body = loadBody(msgId, msgType); in load() local 620 pdu = createPdu(msgType, headers, body); in load() 660 private GenericPdu createPdu(final int msgType, final PduHeaders headers, final PduBody body) in createPdu() argument 670 return new RetrieveConf(headers, body); in createPdu() 672 return new SendReq(headers, body); in createPdu() 705 final PduBody body = new PduBody(); in loadBody() local 715 body.addPart(parts[i]); in loadBody() 720 return body; in loadBody() [all …]
|
D | MultimediaMessagePdu.java | 44 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()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | ThreadingTest.java | 55 final String body = "DOWNLOAD " + i + " CONTENTS"; in testFilenameRace() local 56 enqueueResponse(new MockResponse().setResponseCode(HTTP_OK).setBody(body) in testFilenameRace() 61 downloads.add(Pair.create(d, body)); in testFilenameRace() 62 expectedBodies.add(body); in testFilenameRace()
|
D | AbstractDownloadProviderFunctionalTest.java | 274 MockResponse buildResponse(int status, String body) { in buildResponse() argument 275 return new MockResponse().setResponseCode(status).setBody(body) in buildResponse() 280 MockResponse buildResponse(int status, byte[] body) { in buildResponse() argument 281 return new MockResponse().setResponseCode(status).setBody(body) in buildResponse()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/ |
D | doxygenextra.css | 1 body code { 17 body, table, div, p, dl { selector 27 body { selector 89 body h1 { 98 body h2 {
|
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 72 return getListItemViewHolderAtPosition(position).itemView.findViewById(R.id.body); in getListItemBodyAtPosition() 107 return getHeaderViewHolderAtPosition(position).itemView.findViewById(R.id.body); in getHeaderViewHolderBodyAtPosition() 284 CharSequence body = "With body text"; in testHeader_titleAndBody() local 286 CarUiHeaderListItem header = new CarUiHeaderListItem(title, body); in testHeader_titleAndBody() 297 assertThat(bodyView.getText()).isEqualTo(body); in testHeader_titleAndBody()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | PhoneFragment.java | 57 TextView body = mUserProfileContainerView.findViewById(R.id.body); in onCreateView() local 66 mViewModel.getBody().observe(getViewLifecycleOwner(), body::setText); in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeUnmount.java | 62 final TextView body = (TextView) view.findViewById(R.id.body); in onCreateView() local 65 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_unmount_details), in onCreateView()
|
D | PrivateVolumeFormat.java | 59 final TextView body = (TextView) view.findViewById(R.id.body); in onCreateView() local 62 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_format_details), in onCreateView()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | Request.java | 119 protected void executePut(ClientSession session, byte[] body) throws IOException { in executePut() argument 122 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut() 128 out.write(body); in executePut()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PrivateVolumeUnmount.java | 62 final TextView body = (TextView) view.findViewById(R.id.body); in onCreateView() local 65 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_unmount_details), in onCreateView()
|
D | PrivateVolumeFormat.java | 59 final TextView body = (TextView) view.findViewById(R.id.body); in onCreateView() local 62 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_format_details), in onCreateView()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipRequest.java | 97 protected void executePut(ClientSession session, byte[] body) throws IOException { in executePut() argument 100 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut() 105 outputStream.write(body); in executePut()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 529 MockResponse(String body, String mimetype, Map<String, String> headers) { in MockResponse() argument 530 this.mBody = body; in MockResponse() 563 private void setResponseBody(String query, String body) { in setResponseBody() argument 564 setResponse(query, body, NanoHTTPD.MIME_HTML, Collections.emptyMap()); in setResponseBody() 567 private void setResponse(String query, String body, String mimetype, in setResponse() argument 569 mResponses.put(query, new MockResponse(body, mimetype, headers)); in setResponse()
|