Home
last modified time | relevance | path

Searched refs:srcName (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java333 String srcName; in makePduBody() local
343 srcName = String.format(isGif ? "image%06d.gif" : "image%06d.jpg", index); in makePduBody()
344 smilBody.append(String.format(sSmilImagePart, srcName)); in makePduBody()
346 widthLimit, heightLimit, bytesPerImage, srcName, contentType); in makePduBody()
349 srcName = String.format("video%06d.mp4", index); in makePduBody()
350 final int length = addVideoPart(context, pb, part, srcName); in makePduBody()
352 smilBody.append(String.format(sSmilVideoPart, srcName, in makePduBody()
356 srcName = String.format("contact%06d.vcf", index); in makePduBody()
357 totalLength += addVCardPart(context, pb, part, srcName); in makePduBody()
358 smilBody.append(String.format(sSmilPart, srcName)); in makePduBody()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java405 final String srcName = String.format("text.%06d.txt", 0); in createBodyCursor() local
407 String.format(TelephonyBackupAgent.sSmilTextPart, srcName) : existingSmil; in createBodyCursor()
424 bodyPart.put(Telephony.Mms.Part.NAME, srcName); in createBodyCursor()
425 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">"); in createBodyCursor()
426 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName); in createBodyCursor()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1129 final String srcName = String.format(Locale.US, "text.%06d.txt", 0);
1131 final String smilBody = String.format(sSmilTextPart, srcName);
1155 values.put(Telephony.Mms.Part.NAME, srcName);
1156 values.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">");
1157 values.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName);