Lines Matching defs:intent

215     public List<R> queryIntentFromList(Intent intent, String resolvedType, 
220 ((intent.getFlags() & Intent.FLAG_DEBUG_LOG_RESOLUTION) != 0);
222 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
223 final String scheme = intent.getScheme();
226 buildResolveList(intent, categories, debug, defaultOnly,
233 public List<R> queryIntent(Intent intent, String resolvedType, boolean defaultOnly,
235 String scheme = intent.getScheme();
240 ((intent.getFlags() & Intent.FLAG_DEBUG_LOG_RESOLUTION) != 0);
244 + " of intent " + intent);
251 // If the intent includes a MIME type, then we want to collect all of
274 // if the intent type was not already */*.
277 } else if (intent.getAction() != null) {
278 // The intent specified any type ({@literal *}/*). This
281 firstTypeCut = mTypedActionToFilter.get(intent.getAction());
287 // If the intent includes a data URI, then we want to collect all of
295 // If the intent does not specify any data -- either a MIME type or
298 if (resolvedType == null && scheme == null && intent.getAction() != null) {
299 firstTypeCut = mActionToFilter.get(intent.getAction());
303 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
305 buildResolveList(intent, categories, debug, defaultOnly,
309 buildResolveList(intent, categories, debug, defaultOnly,
313 buildResolveList(intent, categories, debug, defaultOnly,
317 buildResolveList(intent, categories, debug, defaultOnly,
323 List<R> oldList = mOldResolver.queryIntent(intent, resolvedType, defaultOnly, userId);
327 Log.wtf(TAG, "Query result " + intent + " size is " + finalList.size()
353 * if the intent requests to excluded stopped objects.
526 private static FastImmutableArraySet<String> getFastIntentCategories(Intent intent) {
527 final Set<String> categories = intent.getCategories();
534 private void buildResolveList(Intent intent, FastImmutableArraySet<String> categories,
537 final String action = intent.getAction();
538 final Uri data = intent.getData();
539 final String packageName = intent.getPackage();
541 final boolean excludingStopped = intent.isExcludingStopped();