Searched refs:srcName (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 331 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/ |
D | TelephonyBackupAgentTest.java | 405 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/ |
D | TelephonyBackupAgent.java | 1129 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);
|