Home
last modified time | relevance | path

Searched refs:localUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java665 final Uri localUri = Uri.parse( in onActivityResult() local
667 startImport(localUri, sourceDisplayName); in onActivityResult()
685 final Uri localUri = readUriToLocalUri(uri); in onActivityResult() local
686 if (localUri != null) { in onActivityResult()
688 uris.add(localUri); in onActivityResult()
705 final Uri localUri = readUriToLocalUri(uri); in onActivityResult() local
706 if (localUri != null) { in onActivityResult()
708 importVCard(localUri, sourceDisplayName); in onActivityResult()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java86 Uri localUri = null; in onCreateView() local
88 localUri = Uri.parse(path); in onCreateView()
91 if (localUri != null) { in onCreateView()
92 mImageName.setText(localUri.getLastPathSegment()); in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java536 Uri localUri = null; in getThumbnailUri() local
539 localUri = AvatarUriUtil.getPrimaryUri(avatarUri); in getThumbnailUri()
541 localUri = avatarUri; in getThumbnailUri()
543 if (localUri != null && localUri.getAuthority().equals(ContactsContract.AUTHORITY)) { in getThumbnailUri()
545 final List<String> pathParts = localUri.getPathSegments(); in getThumbnailUri()
548 return localUri; in getThumbnailUri()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java124 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testBasicRequest() local
125 assertEquals("content", localUri.getScheme()); in testBasicRequest()
126 checkUriContent(localUri); in testBasicRequest()
355 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testDestination() local
356 assertEquals(destination, localUri); in testDestination()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5699 protected Cursor queryCorpContactsProvider(Uri localUri, String[] projection, in queryCorpContactsProvider() argument
5704 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider()
5707 if (!ContactsContract.AUTHORITY.equals(localUri.getAuthority())) { in queryCorpContactsProvider()
5708 Log.w(TAG, "Invalid authority: " + localUri.getAuthority()); in queryCorpContactsProvider()
5710 "Authority " + localUri.getAuthority() + " is not a valid CP2 authority."); in queryCorpContactsProvider()
5713 final Uri remoteUri = maybeAddUserId(localUri, corpUserId).buildUpon() in queryCorpContactsProvider()
5719 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider()
7113 final Uri localUri = ContentUris.withAppendedId(Directory.CONTENT_URI, in queryLocal() local
7115 return queryLocal(localUri, projection, selection, selectionArgs, in queryLocal()
7211 final Uri localUri = Directory.CONTENT_URI; in queryMergedDirectories() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java356 Uri localUri = Uri.parse(path); in printSelectedImage() local
357 path = localUri.getLastPathSegment(); in printSelectedImage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java567 Uri localUri = Uri.parse(path); in getExif() local
568 String mimeType = getMimeType(localUri); in getExif()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java141 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() local
147 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
158 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() local
164 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
173 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri() local
177 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()