/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 110 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactIdUri() local 111 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri() 117 mContactsProvider.expectTypeQuery(baseUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactIdUri() 120 Contact contact = assertLoadContact(baseUri); in testLoadContactWithContactIdUri() 138 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithOldStyleUri() local 168 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithRawContactIdUri() local 193 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupUri() local 217 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupAndIdUri() local 246 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupWithIncorrectIdUri() local 307 Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) { in fetchAllData() argument [all …]
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsCursorLoader.java | 98 Uri.Builder baseUri; in buildUri() local 100 baseUri = Contacts.CONTENT_URI.buildUpon(); in buildUri() 102 baseUri = Contacts.CONTENT_FILTER_URI.buildUpon().appendPath(query); in buildUri() 104 return baseUri.appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true").build(); in buildUri()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Thumbnail.java | 196 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getLastImageThumbnail() local 198 Uri query = baseUri.buildUpon().appendQueryParameter("limit", "1").build(); in getLastImageThumbnail() 211 ContentUris.withAppendedId(baseUri, id)); in getLastImageThumbnail() 222 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getLastVideoThumbnail() local 224 Uri query = baseUri.buildUpon().appendQueryParameter("limit", "1").build(); in getLastVideoThumbnail() 237 ContentUris.withAppendedId(baseUri, id)); in getLastVideoThumbnail()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalImage.java | 268 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in delete() local 271 contentResolver.delete(baseUri, "_id=?", in delete() 278 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in rotate() local 304 mApplication.getContentResolver().update(baseUri, values, "_id=?", in rotate() 310 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getContentUri() local 311 return baseUri.buildUpon().appendPath(String.valueOf(id)).build(); in getContentUri()
|
D | LocalAlbum.java | 171 Uri baseUri; in getMediaItemById() local 175 baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getMediaItemById() 179 baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getMediaItemById() 186 Cursor cursor = resolver.query(baseUri, projection, "_id BETWEEN ? AND ?", in getMediaItemById() 190 Log.w(TAG, "query fail" + baseUri); in getMediaItemById()
|
D | LocalVideo.java | 191 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in delete() local 192 mApplication.getContentResolver().delete(baseUri, "_id=?", in delete() 203 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getContentUri() local 204 return baseUri.buildUpon().appendPath(String.valueOf(id)).build(); in getContentUri()
|
D | SecureAlbum.java | 151 private boolean isCameraBucketEmpty(Uri baseUri) { in isCameraBucketEmpty() argument 152 Uri uri = baseUri.buildUpon() in isCameraBucketEmpty()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PhoneNumberListAdapter.java | 218 final Uri baseUri; in configureLoader() local 220 baseUri = PhoneCompat.getContentFilterUri(); in configureLoader() 222 baseUri = CallableCompat.getContentFilterUri(); in configureLoader() 224 baseUri = PhoneCompat.getContentFilterUri(); in configureLoader() 226 builder = baseUri.buildUpon(); in configureLoader() 235 Uri baseUri = mUseCallableUri ? Callable.CONTENT_URI : Phone.CONTENT_URI; in configureLoader() local 236 builder = baseUri.buildUpon().appendQueryParameter( in configureLoader()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataUriGetter.java | 26 public static String getUri(final Context context, final String baseUri) { in getUri() argument 27 return baseUri; in getUri()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | HelpUtils.java | 112 private static Uri uriWithAddedParameters(Context context, Uri baseUri) { in uriWithAddedParameters() argument 113 Uri.Builder builder = baseUri.buildUpon(); in uriWithAddedParameters()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/ |
D | PpsMoData.java | 47 private PpsMoData(String baseUri, String urn, String ppsMoTree) { in PpsMoData() argument 48 mBaseUri = baseUri; in PpsMoData()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailNotifier.java | 46 public VoicemailNotifier(Context context, Uri baseUri) { in VoicemailNotifier() argument 48 mBaseUri = baseUri; in VoicemailNotifier()
|
D | CallLogProvider.java | 753 Uri baseUri = isShadow ? in allocateNewCallComposerPicture() local 774 return baseUri.buildUpon().appendPath(fileName).build(); in allocateNewCallComposerPicture()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 249 final Uri baseUri = !TextUtils.isEmpty(queryUri) ? Uri.parse(queryUri) in querySliceUriPairs() local 261 final Collection<Uri> sliceUris = manager.getSliceDescendants(baseUri); in querySliceUriPairs()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 1745 final Uri baseUri = ContentUris.removeId(uri); in uncanonicalize() local 1746 try (Cursor c = queryForSingleItem(baseUri, in uncanonicalize() 1749 return ContentUris.withAppendedId(baseUri, c.getLong(0)); in uncanonicalize() 1767 final Uri baseUri = ContentUris.removeId(uri); in uncanonicalize() local 1768 try (Cursor c = queryForSingleItem(baseUri, in uncanonicalize() 1771 return ContentUris.withAppendedId(baseUri, c.getLong(0)); in uncanonicalize() 7196 final Uri baseUri = MediaStore.Audio.Media.getContentUri(volumeName); 7198 try (Cursor c = query(baseUri, new String[] { MediaStore.Audio.Media._ID }, 7202 final Uri targetUri = ContentUris.withAppendedId(baseUri, audioId);
|