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.java336 final String srcName = String.format("text.%06d.txt", 0); in createBodyCursor() local
337 final String smilBody = String.format(TelephonyBackupAgent.sSmilTextPart, srcName); in createBodyCursor()
352 bodyPart.put(Telephony.Mms.Part.NAME, srcName); in createBodyCursor()
353 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">"); in createBodyCursor()
354 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName); in createBodyCursor()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1029 final String srcName = String.format(Locale.US, "text.%06d.txt", 0);
1031 final String smilBody = String.format(sSmilTextPart, srcName);
1054 values.put(Telephony.Mms.Part.NAME, srcName);
1055 values.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">");
1056 values.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName);