Lines Matching refs:dispatch
309 DispatchInfo dispatch = new DispatchInfo(mContext, tag, message); in dispatchTag() local
313 if (tryOverrides(dispatch, tag, message, overrideIntent, overrideFilters, in dispatchTag()
350 if (tryNdef(dispatch, message)) { in dispatchTag()
360 if (tryTech(dispatch, tag)) { in dispatchTag()
364 dispatch.setTagIntent(); in dispatchTag()
365 if (dispatch.tryStartActivity()) { in dispatchTag()
442 …boolean tryOverrides(DispatchInfo dispatch, Tag tag, NdefMessage message, PendingIntent overrideIn… in tryOverrides() argument
451 intent = dispatch.setNdefIntent(); in tryOverrides()
465 intent = dispatch.setTechIntent(); in tryOverrides()
477 intent = dispatch.setTagIntent(); in tryOverrides()
518 boolean tryNdef(DispatchInfo dispatch, NdefMessage message) { in tryNdef() argument
522 Intent intent = dispatch.setNdefIntent(); in tryNdef()
530 dispatch.intent.setPackage(pkg); in tryNdef()
531 if (dispatch.tryStartActivity()) { in tryNdef()
553 dispatch.tryStartActivity(appLaunchIntent)) { in tryNdef()
560 if (marketIntent != null && dispatch.tryStartActivity(marketIntent)) { in tryNdef()
567 dispatch.intent.setPackage(null); in tryNdef()
569 if (dispatch.isWebIntent() && dispatch.hasIntentReceiver()) { in tryNdef()
571 showWebLinkConfirmation(dispatch); in tryNdef()
583 …if (ri != null && ri.activityInfo != null && ri.activityInfo.exported && dispatch.tryStartActivity… in tryNdef()
605 boolean tryTech(DispatchInfo dispatch, Tag tag) { in tryTech() argument
606 dispatch.setTechIntent(); in tryTech()
641 dispatch.intent.setClassName(info.activityInfo.packageName, info.activityInfo.name); in tryTech()
642 if (dispatch.tryStartActivity()) { in tryTech()
646 dispatch.intent.setComponent(null); in tryTech()
650 intent.putExtra(Intent.EXTRA_INTENT, dispatch.intent); in tryTech()
653 if (dispatch.tryStartActivity(intent)) { in tryTech()
760 void showWebLinkConfirmation(DispatchInfo dispatch) { in showWebLinkConfirmation() argument
762 dispatch.tryStartActivity(); in showWebLinkConfirmation()
774 url.setText(dispatch.getUri()); in showWebLinkConfirmation()
780 dispatch.tryStartActivity(); in showWebLinkConfirmation()