Home
last modified time | relevance | path

Searched refs:uriBuilder (Results 1 – 10 of 10) 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/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSource.java101 Uri.Builder uriBuilder = new Uri.Builder() in canRead() local
107 uriBuilder.appendEncodedPath(contentPath); in canRead()
110 uriBuilder.appendEncodedPath(SearchManager.SUGGEST_URI_PATH_QUERY); in canRead()
111 Uri uri = uriBuilder.build(); in canRead()
359 Uri.Builder uriBuilder = new Uri.Builder() in getSuggestUriBase() local
366 uriBuilder.appendEncodedPath(contentPath); in getSuggestUriBase()
370 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestUriBase()
371 mSuggestUriBase = uriBuilder.build(); in getSuggestUriBase()
384 Uri.Builder uriBuilder = base.buildUpon(); in getSuggestions()
393 uriBuilder.appendPath(query); in getSuggestions()
[all …]
/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/Contacts/src/com/android/contacts/calllog/
DContactInfoHelper.java154 Uri.Builder uriBuilder = PhoneLookup.CONTENT_FILTER_URI.buildUpon(); in queryContactInfoForSipAddress() local
155 uriBuilder.appendPath(Uri.encode(sipAddress)); in queryContactInfoForSipAddress()
156 uriBuilder.appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, "1"); in queryContactInfoForSipAddress()
157 return lookupContactFromUri(uriBuilder.build()); in queryContactInfoForSipAddress()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java262 public Uri.Builder addAccountQueryParameterToUrl(Uri.Builder uriBuilder) { in addAccountQueryParameterToUrl() argument
266 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName); in addAccountQueryParameterToUrl()
267 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType); in addAccountQueryParameterToUrl()
269 uriBuilder.appendQueryParameter(RawContacts.DATA_SET, dataSet); in addAccountQueryParameterToUrl()
271 return uriBuilder; in addAccountQueryParameterToUrl()
DPhoneNumberListAdapter.java154 private void applyFilter(CursorLoader loader, Uri.Builder uriBuilder, long directoryId, in applyFilter() argument
170 filter.addAccountQueryParameterToUrl(uriBuilder); in applyFilter()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DApplicationsProviderTest.java274 Uri.Builder uriBuilder = Applications.CONTENT_URI.buildUpon(); in getGlobalSearchCursor() local
275 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath(searchQuery); in getGlobalSearchCursor()
277 uriBuilder.appendQueryParameter(ApplicationsProvider.REFRESH_STATS, ""); in getGlobalSearchCursor()
279 return getMockContentResolver().query(uriBuilder.build(), null, null, null, null); in getGlobalSearchCursor()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java109 Uri.Builder uriBuilder = PendingMessages.CONTENT_URI.buildUpon(); in scheduleRetry() local
110 uriBuilder.appendQueryParameter("protocol", "mms"); in scheduleRetry()
111 uriBuilder.appendQueryParameter("message", String.valueOf(msgId)); in scheduleRetry()
114 uriBuilder.build(), null, null, null, null); in scheduleRetry()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java647 Uri.Builder uriBuilder = new Uri.Builder(); in makeResourceUri() local
648 uriBuilder.scheme(ContentResolver.SCHEME_ANDROID_RESOURCE); in makeResourceUri()
649 uriBuilder.encodedAuthority(appPkg); in makeResourceUri()
650 uriBuilder.appendEncodedPath(type); in makeResourceUri()
652 uriBuilder.appendEncodedPath(resPkg + ":" + name); in makeResourceUri()
654 uriBuilder.appendEncodedPath(name); in makeResourceUri()
656 return uriBuilder.build(); in makeResourceUri()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1348 Uri.Builder uriBuilder = new Uri.Builder(); in createEmailAttendeesIntent() local
1349 uriBuilder.scheme("mailto"); in createEmailAttendeesIntent()
1358 uriBuilder.appendQueryParameter("to", toList.get(i)); in createEmailAttendeesIntent()
1364 uriBuilder.appendQueryParameter("subject", subject); in createEmailAttendeesIntent()
1369 uriBuilder.appendQueryParameter("body", body); in createEmailAttendeesIntent()
1375 uriBuilder.appendQueryParameter("cc", email); in createEmailAttendeesIntent()
1381 String uri = uriBuilder.toString(); in createEmailAttendeesIntent()