/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 174 info.launchIntent, null)) { in onReceive() 176 Log.e(TAG, "Ignoring malicious intent " + info.launchIntent.toUri(0)); in onReceive() 207 if (info.launchIntent == null || info.label == null) { in createPendingInfo() 310 final Intent launchIntent; field in InstallShortcutReceiver.PendingInstallShortcutInfo 326 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in PendingInstallShortcutInfo() 343 launchIntent = AppInfo.makeLaunchIntent(info); in PendingInstallShortcutInfo() 359 launchIntent = info.makeIntent(); in PendingInstallShortcutInfo() 376 launchIntent = new Intent().setComponent(info.provider) in PendingInstallShortcutInfo() 388 .key(LAUNCH_INTENT_KEY).value(launchIntent.toUri(0)) in encodeToString() 398 .key(LAUNCH_INTENT_KEY).value(launchIntent.toUri(0)) in encodeToString() [all …]
|
D | Utilities.java | 464 public static boolean isLauncherAppTarget(Intent launchIntent) { in isLauncherAppTarget() argument 465 if (launchIntent != null in isLauncherAppTarget() 466 && Intent.ACTION_MAIN.equals(launchIntent.getAction()) in isLauncherAppTarget() 467 && launchIntent.getComponent() != null in isLauncherAppTarget() 468 && launchIntent.getCategories() != null in isLauncherAppTarget() 469 && launchIntent.getCategories().size() == 1 in isLauncherAppTarget() 470 && launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in isLauncherAppTarget() 471 && TextUtils.isEmpty(launchIntent.getDataString())) { in isLauncherAppTarget() 473 Bundle extras = launchIntent.getExtras(); in isLauncherAppTarget()
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | LensPickerTrampolineActivity.java | 86 Intent launchIntent; in onCreate() local 92 launchIntent = packageManager.getLaunchIntentForPackage(savedPackageName); in onCreate() 98 launchIntent = new Intent(this, LensPickerActivity.class); in onCreate() 99 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_PACKAGES, packages); in onCreate() 100 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_CATEGORIES, categories); in onCreate() 101 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_ID, facetId); in onCreate() 104 startActivity(launchIntent); in onCreate() 172 Intent launchIntent; in maybeRelaunchLastIntent() local 174 launchIntent = Intent.parseUri(intentString, Intent.URI_INTENT_SCHEME); in maybeRelaunchLastIntent() 186 launchIntent); in maybeRelaunchLastIntent()
|
D | LensPickerActivity.java | 89 Intent launchIntent = LensPickerUtils.getLaunchIntent(packageName, rInfo, in onResume() local 91 if (launchIntent != null) { in onResume() 92 launch(facetId, packageName, launchIntent); in onResume() 206 Intent launchIntent = item.getLaunchIntent(); in onActivitySelected() local 207 launch(item.getFacetId(), launchIntent.getPackage(), launchIntent); in onActivitySelected() local 211 private void launch(String facetId, String packageName, Intent launchIntent) { in launch() argument 215 mLastLaunchedIntent = launchIntent; in launch() 218 launchIntent); in launch()
|
D | LensPickerUtils.java | 66 String packageName, Intent launchIntent) { in launch() argument 74 String uriString = launchIntent.toUri(Intent.URI_INTENT_SCHEME); in launch() 79 context.startActivity(launchIntent); in launch() 86 String packageName, Intent launchIntent) { in saveLastLaunchedAppInfo() argument 93 String uriString = launchIntent.toUri(Intent.URI_INTENT_SCHEME); in saveLastLaunchedAppInfo()
|
D | LensPickerAdapter.java | 97 Intent launchIntent = LensPickerUtils.getLaunchIntent(packageName, rInfo, in doInBackground() local 99 if (launchIntent == null) { in doInBackground() 126 launchIntent, in doInBackground()
|
D | LensPickerItem.java | 31 public LensPickerItem(String label, Drawable icon, Intent launchIntent, String facetId) { in LensPickerItem() argument 34 mLaunchIntent = launchIntent; in LensPickerItem()
|
D | LensResolverActivity.java | 176 Intent launchIntent = new Intent(mResolveIntent); in onActivitySelected() local 177 launchIntent.setComponent(component); in onActivitySelected() 184 startActivity(launchIntent); in onActivitySelected()
|
D | ResolverAdapter.java | 96 Intent launchIntent = LensPickerUtils.getLaunchIntent(packageName, info, in doInBackground() local 119 getComponentIcon(packageManager, aInfo), launchIntent, in doInBackground()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 87 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0)) in addToInstallQueue() 123 Intent launchIntent = Intent.parseUri(object.getString(LAUNCH_INTENT_KEY), 0); in getAndClearInstallQueue() local 140 data.putExtra(Intent.EXTRA_SHORTCUT_INTENT, launchIntent); in getAndClearInstallQueue() 142 new PendingInstallShortcutInfo(data, name, launchIntent); in getAndClearInstallQueue() 161 Intent launchIntent; field in InstallShortcutReceiver.PendingInstallShortcutInfo 170 launchIntent = shortcutIntent; in PendingInstallShortcutInfo() 238 final Intent intent = pendingInfo.launchIntent; in processInstallShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/discovery/ |
D | AppDiscoveryItem.java | 33 public final Intent launchIntent; field in AppDiscoveryItem 49 Intent launchIntent, in AppDiscoveryItem() argument 56 this.launchIntent = launchIntent; in AppDiscoveryItem()
|
D | AppDiscoveryAppInfo.java | 37 public final @NonNull Intent launchIntent; field in AppDiscoveryAppInfo 41 this.intent = item.isInstantApp ? item.launchIntent : item.installIntent; in AppDiscoveryAppInfo() 54 this.launchIntent = item.launchIntent; in AppDiscoveryAppInfo()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetProvider.java | 188 Intent launchIntent = new Intent(); in getLaunchPendingIntentTemplate() local 189 launchIntent.setAction(Intent.ACTION_VIEW); in getLaunchPendingIntentTemplate() 190 launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK | in getLaunchPendingIntentTemplate() 192 launchIntent.setClass(context, AllInOneActivity.class); in getLaunchPendingIntentTemplate() 193 return PendingIntent.getActivity(context, 0 /* no requestCode */, launchIntent, in getLaunchPendingIntentTemplate()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallSuccess.java | 81 Intent launchIntent = getPackageManager().getLaunchIntentForPackage( in onCreate() local 84 if (launchIntent != null) { in onCreate() 85 List<ResolveInfo> list = getPackageManager().queryIntentActivities(launchIntent, in onCreate() 96 startActivity(launchIntent); in onCreate()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcRootActivity.java | 35 final Intent launchIntent = intent.getParcelableExtra(EXTRA_LAUNCH_INTENT); in onCreate() local 36 if (launchIntent != null) { in onCreate() 38 startActivityAsUser(launchIntent, UserHandle.CURRENT); in onCreate()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | ConfirmConnectActivity.java | 40 Intent launchIntent = getIntent(); in onCreate() local 41 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate() 45 launchIntent.getStringExtra(BluetoothDevice.EXTRA_NAME)); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 291 final Intent launchIntent = shadowActivity.getNextStartedActivityForResult().intent; in bindPreference_withIntentActionMetatdata_shouldSetLaunchAction() local 292 assertThat(launchIntent.getAction()) in bindPreference_withIntentActionMetatdata_shouldSetLaunchAction() 294 assertThat(launchIntent.getIntExtra(SettingsActivity.EXTRA_SOURCE_METRICS_CATEGORY, 0)) in bindPreference_withIntentActionMetatdata_shouldSetLaunchAction() 317 final ShadowActivity.IntentForResult launchIntent = in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything() local 320 assertThat(launchIntent).isNull(); in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | LiveWallpaperInfo.java | 110 Intent launchIntent = new Intent(WallpaperService.SERVICE_INTERFACE); in doInBackground() local 111 launchIntent.setClassName(info.getPackageName(), info.getServiceName()); in doInBackground() 112 result.add(new LiveWallpaperInfo(thumb, info, launchIntent)); in doInBackground()
|
D | ThirdPartyWallpaperInfo.java | 37 Intent launchIntent = new Intent(Intent.ACTION_SET_WALLPAPER) in onClick() local 42 launchIntent, WallpaperPickerActivity.PICK_WALLPAPER_THIRD_PARTY_ACTIVITY); in onClick()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchActivity.java | 349 launchIntent(intent); in startSearch() 362 launchIntent(intent); in onVoiceSearchClicked() 396 protected void launchIntent(Intent intent) { in launchIntent() method in SearchActivity 430 launchIntent(intent); in launchSuggestion()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 793 Intent launchIntent = new Intent(); in getLaunchPendingIntent() local 794 launchIntent.setClass(context, SettingsAppWidgetProvider.class); in getLaunchPendingIntent() 795 launchIntent.addCategory(Intent.CATEGORY_ALTERNATIVE); in getLaunchPendingIntent() 796 launchIntent.setData(Uri.parse("custom:" + buttonId)); in getLaunchPendingIntent() 798 launchIntent, 0 /* no flags */); in getLaunchPendingIntent()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppCounter.java | 60 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null) in includeInCount() local 64 launchIntent, in includeInCount()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallServiceImpl.java | 101 Intent launchIntent = getPackageManager() 103 startActivity(launchIntent);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSearch.java | 108 launchIntent(launchUriIntent); in handleWebSearchIntent() 150 private void launchIntent(Intent intent) { in launchIntent() method in GoogleSearch
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | InstalledAppResultLoader.java | 128 final Intent launchIntent = new Intent(LAUNCHER_PROBE) in shouldIncludeAsCandidate() local 131 launchIntent, in shouldIncludeAsCandidate()
|