Home
last modified time | relevance | path

Searched refs:baseUri (Results 1 – 20 of 20) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DProtocolRequestCreator.java86 private String joinBaseUriWithSuffix(String baseUri, String suffix) { in joinBaseUriWithSuffix() argument
91 if (baseUri.endsWith("/")) { in joinBaseUriWithSuffix()
92 baseUri = baseUri.substring(0, baseUri.length() - 1); in joinBaseUriWithSuffix()
95 return String.join("/", baseUri, suffix); in joinBaseUriWithSuffix()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java98 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/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java115 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactIdUri() local
116 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri()
122 mContactsProvider.expectTypeQuery(baseUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactIdUri()
125 Contact contact = assertLoadContact(baseUri); in testLoadContactWithContactIdUri()
143 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithOldStyleUri() local
173 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithRawContactIdUri() local
198 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupUri() local
222 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupAndIdUri() local
251 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactLookupWithIncorrectIdUri() local
312 Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) { in fetchAllData() argument
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java196 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/
DLocalImage.java268 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()
DLocalAlbum.java171 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()
DLocalVideo.java195 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in delete() local
196 mApplication.getContentResolver().delete(baseUri, "_id=?", in delete()
207 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getContentUri() local
208 return baseUri.buildUpon().appendPath(String.valueOf(id)).build(); in getContentUri()
DSecureAlbum.java151 private boolean isCameraBucketEmpty(Uri baseUri) { in isCameraBucketEmpty() argument
152 Uri uri = baseUri.buildUpon() in isCameraBucketEmpty()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataUriGetter.java26 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/list/
DPhoneNumberListAdapter.java218 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/apps/Contacts/src/com/android/contacts/util/
DHelpUtils.java112 private static Uri uriWithAddedParameters(Context context, Uri baseUri) { in uriWithAddedParameters() argument
113 Uri.Builder builder = baseUri.buildUpon(); in uriWithAddedParameters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DTrustedBiddingDataFetcher.java138 Uri baseUri = entry.getKey(); in getTrustedBiddingDataForBuyer()
147 baseUri, allKeys) in getTrustedBiddingDataForBuyer()
149 s -> new Pair<>(baseUri, s), in getTrustedBiddingDataForBuyer()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DPpsMoData.java47 private PpsMoData(String baseUri, String urn, String ppsMoTree) { in PpsMoData() argument
48 mBaseUri = baseUri; in PpsMoData()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailNotifier.java46 public VoicemailNotifier(Context context, Uri baseUri) { in VoicemailNotifier() argument
48 mBaseUri = baseUri; in VoicemailNotifier()
DCallLogProvider.java897 Uri baseUri = isShadow ? in allocateNewCallComposerPicture() local
920 return baseUri.buildUpon().appendPath(fileName).build(); in allocateNewCallComposerPicture()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV3.java347 Optional<String> baseUri = extractBaseUri(destination); in updateEventReport() local
348 if (baseUri.isPresent()) { in updateEventReport()
351 baseUri.get()); in updateEventReport()
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java249 final Uri baseUri = !TextUtils.isEmpty(queryUri) ? Uri.parse(queryUri) in querySliceUriPairs() local
261 final Collection<Uri> sliceUris = manager.getSliceDescendants(baseUri); in querySliceUriPairs()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/
DEnrollmentDao.java432 private String getAttributionUrlSelection(String field, Uri baseUri, boolean isSiteMatch) { in getAttributionUrlSelection() argument
438 DatabaseUtils.sqlEscapeString("%" + baseUri.toString() + "%")); in getAttributionUrlSelection()
449 + baseUri.getScheme() in getAttributionUrlSelection()
451 + baseUri.getEncodedAuthority() in getAttributionUrlSelection()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2749 final Uri baseUri = ContentUris.removeId(uri); in uncanonicalize() local
2750 try (Cursor c = queryForSingleItem(baseUri, in uncanonicalize()
2753 return ContentUris.withAppendedId(baseUri, c.getLong(0)); in uncanonicalize()
2771 final Uri baseUri = ContentUris.removeId(uri); in uncanonicalize() local
2772 try (Cursor c = queryForSingleItem(baseUri, in uncanonicalize()
2775 return ContentUris.withAppendedId(baseUri, c.getLong(0)); in uncanonicalize()
9102 final Uri baseUri = MediaStore.Audio.Media.getContentUri(volumeName);
9104 try (Cursor c = query(baseUri, new String[] { MediaStore.Audio.Media._ID },
9108 final Uri targetUri = ContentUris.withAppendedId(baseUri, audioId);
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...