Home
last modified time | relevance | path

Searched refs:uriBuilder (Results 1 – 14 of 14) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DUtil.java79 Uri.Builder uriBuilder = new Uri.Builder(); in makeResourceUri() local
80 uriBuilder.scheme(ContentResolver.SCHEME_ANDROID_RESOURCE); in makeResourceUri()
81 uriBuilder.encodedAuthority(appPkg); in makeResourceUri()
82 uriBuilder.appendEncodedPath(type); in makeResourceUri()
84 uriBuilder.appendEncodedPath(resPkg + ":" + name); in makeResourceUri()
86 uriBuilder.appendEncodedPath(name); in makeResourceUri()
88 return uriBuilder.build(); in makeResourceUri()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java219 final Builder uriBuilder = new AggregationSuggestions.Builder() in buildAggregationSuggestionUri() local
223 uriBuilder.addNameParameter(nameSb.toString()); in buildAggregationSuggestionUri()
226 uriBuilder.addNameParameter(phoneticNameSb.toString()); in buildAggregationSuggestionUri()
228 return uriBuilder.build(); in buildAggregationSuggestionUri()
232 final AggregationSuggestionsCompat.Builder uriBuilder = in buildAggregationSuggestionUri() local
237 uriBuilder.addNameParameter(nameSb.toString()); in buildAggregationSuggestionUri()
240 uriBuilder.addNameParameter(phoneticNameSb.toString()); in buildAggregationSuggestionUri()
242 return uriBuilder.build(); in buildAggregationSuggestionUri()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java174 Uri.Builder uriBuilder = new Uri.Builder() in getSuggestions() local
183 uriBuilder.appendEncodedPath(contentPath); in getSuggestions()
187 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
196 uriBuilder.appendPath(query); in getSuggestions()
200 uriBuilder.appendQueryParameter(SearchManager.SUGGEST_PARAMETER_LIMIT, in getSuggestions()
204 Uri uri = uriBuilder.build(); in getSuggestions()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java93 Function<String, Uri> uriBuilder, Selection<String> selection, @OpType int opType) { in getClipDataForDocuments() argument
104 uris.add(uriBuilder.apply(id)); in getClipDataForDocuments()
194 Function<String, Uri> uriBuilder, Selection<String> selection) { in clipDocumentsForCopy() argument
196 getClipDataForDocuments(uriBuilder, selection, FileOperationService.OPERATION_COPY); in clipDocumentsForCopy()
204 Function<String, Uri> uriBuilder, Selection<String> selection, DocumentInfo parent) { in clipDocumentsForCut() argument
208 ClipData data = getClipDataForDocuments(uriBuilder, selection, in clipDocumentsForCut()
DDocumentClipper.java49 ClipData getClipDataForDocuments(Function<String, Uri> uriBuilder, Selection<String> selection, in getClipDataForDocuments() argument
65 void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection<String> selection); in clipDocumentsForCopy() argument
71 Function<String, Uri> uriBuilder, Selection<String> selection, DocumentInfo parent); in clipDocumentsForCut() argument
DUrisSupplier.java86 Selection<String> selection, Function<String, Uri> uriBuilder, ClipStore storage) in create() argument
91 uris.add(uriBuilder.apply(id)); in create()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactListFilter.java273 public Uri.Builder addAccountQueryParameterToUrl(Uri.Builder uriBuilder) { in addAccountQueryParameterToUrl() argument
277 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName); in addAccountQueryParameterToUrl()
278 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType); in addAccountQueryParameterToUrl()
280 uriBuilder.appendQueryParameter(RawContacts.DATA_SET, dataSet); in addAccountQueryParameterToUrl()
282 return uriBuilder; in addAccountQueryParameterToUrl()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentClipper.java54 Function<String, Uri> uriBuilder, Selection<String> selection, int opType) { in getClipDataForDocuments() argument
71 … public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection<String> selection) { in clipDocumentsForCopy() argument
75 public void clipDocumentsForCut(Function<String, Uri> uriBuilder, Selection<String> selection, in clipDocumentsForCut() argument
79 uris.add(uriBuilder.apply(id)); in clipDocumentsForCut()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java332 public Uri.Builder addAccountQueryParameterToUrl(Uri.Builder uriBuilder) { in addAccountQueryParameterToUrl() argument
340 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName); in addAccountQueryParameterToUrl()
341 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType); in addAccountQueryParameterToUrl()
344 uriBuilder.appendQueryParameter(RawContacts.DATA_SET, dataSet); in addAccountQueryParameterToUrl()
346 return uriBuilder; in addAccountQueryParameterToUrl()
DPhoneNumberListAdapter.java287 private void applyFilter(CursorLoader loader, Uri.Builder uriBuilder, long directoryId, in applyFilter() argument
303 filter.addAccountQueryParameterToUrl(uriBuilder); in applyFilter()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java98 Uri.Builder uriBuilder = THREAD_ID_CONTENT_URI.buildUpon(); in getOrCreateThreadIdInternal() local
105 uriBuilder.appendQueryParameter("recipient", recipient); in getOrCreateThreadIdInternal()
108 Uri uri = uriBuilder.build(); in getOrCreateThreadIdInternal()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java142 Uri.Builder uriBuilder = Instances.CONTENT_URI.buildUpon(); in queryUpcomingEvents() local
143 ContentUris.appendId(uriBuilder, localStartMin - DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents()
144 ContentUris.appendId(uriBuilder, localStartMax + DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents()
167 Cursor cursor = contentResolver.query(uriBuilder.build(), INSTANCES_PROJECTION, in queryUpcomingEvents()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java183 final Uri.Builder uriBuilder = THREAD_ID_CONTENT_URI.buildUpon(); in getOrCreateThreadId() local
190 uriBuilder.appendQueryParameter("recipient", recipient); in getOrCreateThreadId()
193 final Uri uri = uriBuilder.build(); in getOrCreateThreadId()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1669 final Uri.Builder uriBuilder = PendingMessages.CONTENT_URI.buildUpon(); in getPendingMessages() local
1670 uriBuilder.appendQueryParameter("protocol", "mms"); in getPendingMessages()
1681 uriBuilder.build(), null, selection, selectionArgs, in getPendingMessages()