/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/ |
D | CrossProfileCalendarHelper.java | 153 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/ |
D | InfoPanel.java | 86 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/ |
D | ImportVCardActivity.java | 665 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/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 536 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/ |
D | PublicApiFunctionalTest.java | 127 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/ |
D | AbstractGalleryActivity.java | 356 Uri localUri = Uri.parse(path); in printSelectedImage() local 357 path = localUri.getLastPathSegment(); in printSelectedImage()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 5627 protected Cursor queryCorpContactsProvider(Uri localUri, String[] projection, in queryCorpContactsProvider() argument 5632 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider() 5635 if (!ContactsContract.AUTHORITY.equals(localUri.getAuthority())) { in queryCorpContactsProvider() 5636 Log.w(TAG, "Invalid authority: " + localUri.getAuthority()); in queryCorpContactsProvider() 5638 "Authority " + localUri.getAuthority() + " is not a valid CP2 authority."); in queryCorpContactsProvider() 5641 final Uri remoteUri = maybeAddUserId(localUri, corpUserId).buildUpon() in queryCorpContactsProvider() 5647 return createEmptyCursor(localUri, projection); in queryCorpContactsProvider() 6984 final Uri localUri = ContentUris.withAppendedId(Directory.CONTENT_URI, in queryLocal() local 6986 return queryLocal(localUri, projection, selection, selectionArgs, in queryLocal() 7082 final Uri localUri = Directory.CONTENT_URI; in queryMergedDirectories() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 567 Uri localUri = Uri.parse(path); in getExif() local 568 String mimeType = getMimeType(localUri); in getExif()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 938 private Cursor queryWorkProfileProvider(Uri localUri, String[] projection, in queryWorkProfileProvider() argument 944 projection, localUri); in queryWorkProfileProvider() 948 throw new UnsupportedOperationException("Can't access cross profile for " + localUri); in queryWorkProfileProvider() 952 localUri, workProfileUserId).buildUpon().build(); in queryWorkProfileProvider()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 140 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() local 146 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() 157 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() local 163 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() 172 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri() local 176 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
|