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.java331 String srcName; in makePduBody() local
337 srcName = String.format("image%06d.%s", index, extension); in makePduBody()
345 srcName = String.format(isGif ? "image%06d.gif" : "image%06d.jpg", index); in makePduBody()
347 smilBody.append(String.format(sSmilImagePart, srcName)); in makePduBody()
349 widthLimit, heightLimit, bytesPerImage, srcName, contentType); in makePduBody()
352 srcName = String.format("video%06d.%s", index, in makePduBody()
354 final int length = addVideoPart(context, pb, part, srcName); in makePduBody()
356 smilBody.append(String.format(sSmilVideoPart, srcName, in makePduBody()
360 srcName = String.format("contact%06d.vcf", index); in makePduBody()
361 totalLength += addVCardPart(context, pb, part, srcName); in makePduBody()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java417 final String srcName = String.format("text.%06d.txt", 0); in createBodyCursor() local
419 String.format(TelephonyBackupAgent.sSmilTextPart, srcName) : existingSmil; in createBodyCursor()
436 bodyPart.put(Telephony.Mms.Part.NAME, srcName); in createBodyCursor()
437 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">"); in createBodyCursor()
438 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName); in createBodyCursor()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1270 final String srcName = String.format(Locale.US, "text.%06d.txt", 0);
1272 final String smilBody = String.format(sSmilTextPart, srcName);
1294 values.put(Telephony.Mms.Part.NAME, srcName);
1295 values.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">");
1296 values.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName);