Searched refs:UriUtil (Results 1 – 22 of 22) sorted by relevance
44 import com.android.messaging.util.UriUtil;229 mContentUri = UriUtil.uriFromString(cursor.getString(INDEX_CONTENT_URI)); in bind()240 values.put(PartColumns.CONTENT_URI, UriUtil.stringFromUri(mContentUri)); in populate()347 mContentUri = UriUtil.uriFromString(in.readString()); in MessagePartData()358 dest.writeString(UriUtil.stringFromUri(mContentUri)); in writeToParcel()486 final long originalImageSize = UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()498 return UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()500 final int mediaDurationMs = UriUtil.getMediaDurationMs(mContentUri); in getMinimumSizeInBytesForSending()505 return UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()
27 import com.android.messaging.util.UriUtil;108 final Uri persistedUri = UriUtil.persistContentToScratchSpace(contentUri); in loadAttachmentForDraft()
31 import com.android.messaging.util.UriUtil;82 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBind()95 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindMultiSelectUnSelected()108 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindMultiSelectSelected()137 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindTwice()
35 import com.android.messaging.util.UriUtil;53 if (UriUtil.isLocalResourceUri(mDescriptor.uri)) { in getInputStreamForResource()57 Assert.isTrue(UriUtil.isLocalResourceUri(primaryUri)); in getInputStreamForResource()76 final boolean isLocalResourceUri = UriUtil.isLocalResourceUri(mDescriptor.uri) || in loadMediaInternal()
21 import com.android.messaging.util.UriUtil;27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in VideoThumbnailRequestDescriptor()
21 import com.android.messaging.util.UriUtil;49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in FileImageRequestDescriptor()
25 import com.android.messaging.util.UriUtil;46 Assert.isTrue(uri == null || UriUtil.isLocalResourceUri(uri) || in AvatarRequestDescriptor()
21 import com.android.messaging.util.UriUtil;84 if (uri == null || UriUtil.isLocalUri(uri)) { in buildSyncMediaRequest()
27 import com.android.messaging.util.UriUtil;270 avatarUri = UriUtil.persistContentToScratchSpace(inputStream); in onEntryCreated()
36 import com.android.messaging.util.UriUtil;64 String[] recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onCreate()
106 import com.android.messaging.util.UriUtil;1341 attachment.persistedUri = UriUtil.persistContent(attachment.uri, in doInBackgroundTimed()
44 public class UriUtil { class198 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContentToScratchSpace()255 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContent()
137 Assert.isTrue(UriUtil.isLocalResourceUri(uri) || AvatarUriUtil.isAvatarUri(uri)); in joinAvatarUriToGroup()173 if (UriUtil.isLocalResourceUri(profilePhotoUri)) { in createAvatarUri()
229 if (UriUtil.isMediaStoreUri(uri)) { in getContentType()
45 import com.android.messaging.util.UriUtil;147 UriUtil.persistContentToScratchSpace(vCardUri); in onOptionsItemSelected()
49 import com.android.messaging.util.UriUtil;132 final String filePath = UriUtil.getFilePathFromUri(uri); in getImageRequestDescriptorForAttachment()
71 import com.android.messaging.util.UriUtil;258 Uri.parse(UriUtil.SCHEME_TEL + phoneNumber)); in launchPhoneCallActivity()
60 import com.android.messaging.util.UriUtil;472 previewImageUri = UriUtil.getUriForResourceId( in bind()
82 import com.android.messaging.util.UriUtil;540 } else if (UriUtil.isLocalResourceUri(avatarUri)) { in getThumbnailUri()1212 .setSound(UriUtil.getUriForResourceId(context, R.raw.message_failure)); in notifyEmergencySmsFailed()
59 import com.android.messaging.util.UriUtil;1310 .setSound(UriUtil.getUriForResourceId(context, R.raw.message_failure)); in checkFailedMessages()
50 import com.android.messaging.util.UriUtil;1099 !UriUtil.isBugleAppResource(messagePartData.getContentUri())) { in readMessagePartsData()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...