Home
last modified time | relevance | path

Searched refs:uriBuilder (Results 1 – 12 of 12) 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/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/editor/
DAggregationSuggestionEngine.java234 final Builder uriBuilder = new AggregationSuggestions.Builder() in buildAggregationSuggestionUri() local
238 uriBuilder.addNameParameter(nameSb.toString()); in buildAggregationSuggestionUri()
241 uriBuilder.addNameParameter(phoneticNameSb.toString()); in buildAggregationSuggestionUri()
243 return uriBuilder.build(); in buildAggregationSuggestionUri()
247 final AggregationSuggestionsCompat.Builder uriBuilder = in buildAggregationSuggestionUri() local
252 uriBuilder.addNameParameter(nameSb.toString()); in buildAggregationSuggestionUri()
255 uriBuilder.addNameParameter(phoneticNameSb.toString()); in buildAggregationSuggestionUri()
257 return uriBuilder.build(); in buildAggregationSuggestionUri()
/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.java287 private void applyFilter(CursorLoader loader, Uri.Builder uriBuilder, long directoryId, in applyFilter() argument
303 filter.addAccountQueryParameterToUrl(uriBuilder); in applyFilter()
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java171 final Uri.Builder uriBuilder = THREAD_ID_CONTENT_URI.buildUpon(); in getOrCreateThreadId() local
178 uriBuilder.appendQueryParameter("recipient", recipient); in getOrCreateThreadId()
181 final Uri uri = uriBuilder.build(); in getOrCreateThreadId()
/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.java1571 Uri.Builder uriBuilder = new Uri.Builder(); in createEmailAttendeesIntent() local
1572 uriBuilder.scheme("mailto"); in createEmailAttendeesIntent()
1581 uriBuilder.appendQueryParameter("to", toList.get(i)); in createEmailAttendeesIntent()
1587 uriBuilder.appendQueryParameter("subject", subject); in createEmailAttendeesIntent()
1592 uriBuilder.appendQueryParameter("body", body); in createEmailAttendeesIntent()
1598 uriBuilder.appendQueryParameter("cc", email); in createEmailAttendeesIntent()
1604 String uri = uriBuilder.toString(); in createEmailAttendeesIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java572 final Uri.Builder uriBuilder = folder.conversationListUri.buildUpon(); in validateNotifications() local
573 uriBuilder.appendQueryParameter( in validateNotifications()
577 uriBuilder.appendQueryParameter( in validateNotifications()
580 cursor = context.getContentResolver().query(uriBuilder.build(), in validateNotifications()
1029 final Uri.Builder uriBuilder = conversation.messageListUri.buildUpon(); in configureLatestEventInfoFromConversation() local
1030 uriBuilder.appendQueryParameter( in configureLatestEventInfoFromConversation()
1032 cursor = context.getContentResolver().query(uriBuilder.build(), in configureLatestEventInfoFromConversation()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1668 final Uri.Builder uriBuilder = PendingMessages.CONTENT_URI.buildUpon(); in getPendingMessages() local
1669 uriBuilder.appendQueryParameter("protocol", "mms"); in getPendingMessages()
1680 uriBuilder.build(), null, selection, selectionArgs, in getPendingMessages()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java744 final StringBuilder uriBuilder = new StringBuilder(); in getDeletedItems() local
751 deletedItems.add(uriToCachingUriString(entry.getKey(), uriBuilder)); in getDeletedItems() local