Home
last modified time | relevance | path

Searched refs:defaultActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java666 final ActivityInfo defaultActivity; in resolveActivity() local
669 defaultActivity = getDefaultActivityLocked( in resolveActivity()
674 mPackageManager, device) && defaultActivity == null) { in resolveActivity()
681 resolveActivity(intent, matches, defaultActivity, device, null); in resolveActivity()
730 final ActivityInfo defaultActivity; in accessoryAttached() local
733 defaultActivity = getDefaultActivityLocked( in accessoryAttached()
737 resolveActivity(intent, matches, defaultActivity, null, accessory); in accessoryAttached()
750 @Nullable ActivityInfo defaultActivity, @Nullable UsbDevice device, in resolveActivity() argument
776 if (defaultActivity != null) { in resolveActivity()
778 UserHandle.getUserId(defaultActivity.applicationInfo.uid)); in resolveActivity()
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserView.java619 ResolveInfo defaultActivity = mAdapter.getDefaultActivity(); in onClick() local
620 final int index = mAdapter.getDataModel().getActivityIndex(defaultActivity); in onClick()
624 startActivity(launchIntent, defaultActivity); in onClick()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActivityChooserView.java615 ResolveInfo defaultActivity = mAdapter.getDefaultActivity(); in onClick() local
616 final int index = mAdapter.getDataModel().getActivityIndex(defaultActivity); in onClick()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1687 ComponentName defaultActivity = null; in fillInDefaultActivity() local
1691 if (defaultActivity == null) { in fillInDefaultActivity()
1692 defaultActivity = injectGetDefaultMainActivity( in fillInDefaultActivity()
1694 Preconditions.checkState(defaultActivity != null, in fillInDefaultActivity()
1697 si.setActivity(defaultActivity); in fillInDefaultActivity()