Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelper.java153 public String[] getCalibratedProjection(String[] projection, Uri localUri) { in getCalibratedProjection() argument
157 if (CalendarContract.Events.CONTENT_URI.equals(localUri)) { in getCalibratedProjection()
159 } else if (CalendarContract.Calendars.CONTENT_URI.equals(localUri)) { in getCalibratedProjection()
161 } else if (CalendarContract.Instances.CONTENT_URI.equals(localUri) in getCalibratedProjection()
162 || CalendarContract.Instances.CONTENT_BY_DAY_URI.equals(localUri) in getCalibratedProjection()
163 || CalendarContract.Instances.CONTENT_SEARCH_URI.equals(localUri) in getCalibratedProjection()
164 || CalendarContract.Instances.CONTENT_SEARCH_BY_DAY_URI.equals(localUri)) { in getCalibratedProjection()
168 + "supported", localUri.toSafeString())); in getCalibratedProjection()
/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/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java675 final Uri localUri = Uri.parse( in onActivityResult() local
677 startImport(localUri, sourceDisplayName); in onActivityResult()
695 final Uri localUri = readUriToLocalUri(uri); in onActivityResult() local
696 if (localUri != null) { in onActivityResult()
698 uris.add(localUri); in onActivityResult()
715 final Uri localUri = readUriToLocalUri(uri); in onActivityResult() local
716 if (localUri != null) { in onActivityResult()
718 importVCard(localUri, sourceDisplayName); in onActivityResult()
/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.java127 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testBasicRequest() local
128 assertEquals("content", localUri.getScheme()); in testBasicRequest()
129 checkUriContent(localUri); in testBasicRequest()
358 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testDestination() local
359 assertEquals(destination, localUri); in testDestination()
/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java6049 protected Cursor queryCorpContactsProvider(Uri localUri, String[] projection, in queryCorpContactsProvider() argument
6054 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider()
6057 validateAuthority(localUri.getAuthority()); in queryCorpContactsProvider()
6059 final Uri remoteUri = maybeAddUserId(localUri, corpUserId).buildUpon() in queryCorpContactsProvider()
6065 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider()
7482 final Uri localUri = ContentUris.withAppendedId(Directory.CONTENT_URI, in queryLocal() local
7484 return queryLocal(localUri, projection, selection, selectionArgs, in queryLocal()
7580 final Uri localUri = Directory.CONTENT_URI; in queryMergedDirectories() local
7581 final Cursor primaryCursor = queryLocal(localUri, projection, selection, selectionArgs, in queryMergedDirectories()
7585 corpCursor = queryCorpContactsProvider(localUri, projection, selection, in queryMergedDirectories()
[all …]
/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/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java954 private Cursor queryWorkProfileProvider(Uri localUri, String[] projection, in queryWorkProfileProvider() argument
960 projection, localUri); in queryWorkProfileProvider()
964 throw new UnsupportedOperationException("Can't access cross profile for " + localUri); in queryWorkProfileProvider()
968 localUri, workProfileUserId).buildUpon().build(); in queryWorkProfileProvider()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java385 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() local
391 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
402 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() local
408 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
417 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri() local
421 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()