Home
last modified time | relevance | path

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

/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/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/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/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java655 Uri.Builder uriBuilder = new Uri.Builder(); in makeResourceUri() local
656 uriBuilder.scheme(ContentResolver.SCHEME_ANDROID_RESOURCE); in makeResourceUri()
657 uriBuilder.encodedAuthority(appPkg); in makeResourceUri()
658 uriBuilder.appendEncodedPath(type); in makeResourceUri()
660 uriBuilder.appendEncodedPath(resPkg + ":" + name); in makeResourceUri()
662 uriBuilder.appendEncodedPath(name); in makeResourceUri()
664 return uriBuilder.build(); in makeResourceUri()
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/apps/Dialer/src/com/android/dialer/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/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.java107 Uri.Builder uriBuilder = PendingMessages.CONTENT_URI.buildUpon(); in scheduleRetry() local
108 uriBuilder.appendQueryParameter("protocol", "mms"); in scheduleRetry()
109 uriBuilder.appendQueryParameter("message", String.valueOf(msgId)); in scheduleRetry()
112 uriBuilder.build(), null, null, null, null); in scheduleRetry()
/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/Calendar/src/com/android/calendar/
DUtils.java1541 Uri.Builder uriBuilder = new Uri.Builder(); in createEmailAttendeesIntent() local
1542 uriBuilder.scheme("mailto"); in createEmailAttendeesIntent()
1551 uriBuilder.appendQueryParameter("to", toList.get(i)); in createEmailAttendeesIntent()
1557 uriBuilder.appendQueryParameter("subject", subject); in createEmailAttendeesIntent()
1562 uriBuilder.appendQueryParameter("body", body); in createEmailAttendeesIntent()
1568 uriBuilder.appendQueryParameter("cc", email); in createEmailAttendeesIntent()
1574 String uri = uriBuilder.toString(); in createEmailAttendeesIntent()