/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePickerPreferenceControllerTest.java | 142 Intent launchIntent = createLaunchIntent(/* needsAuth= */ false, in onStart_appliesFilterType() local 144 mControllerHelper.getController().setLaunchIntent(launchIntent); in onStart_appliesFilterType() 157 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_bondedDevice_sendsPickedIntent() local 160 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_sendsPickedIntent() 179 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_bondedDevice_goesBack() local 181 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_goesBack() 194 Intent launchIntent = createLaunchIntent(/* needsAuth= */ false, in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent() local 196 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent() 211 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_unbondedDevice_needsAuth_startsPairing() local 213 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 136 String pkg = getIntentPackage(info.launchIntent); in flushQueueInBackground() 141 Log.d(TAG, "Ignoring shortcut for absent package: " + info.launchIntent); in flushQueueInBackground() 198 info.launchIntent, null)) { in onReceive() 200 Log.e(TAG, "Ignoring malicious intent " + info.launchIntent.toUri(0)); in onReceive() 231 if (info.launchIntent == null || info.label == null) { in createPendingInfo() 324 final Intent launchIntent; field in InstallShortcutReceiver.PendingInstallShortcutInfo 340 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in PendingInstallShortcutInfo() 361 launchIntent = AppInfo.makeLaunchIntent(info); in PendingInstallShortcutInfo() 377 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in PendingInstallShortcutInfo() 393 launchIntent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() [all …]
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | LensPickerTrampolineActivity.java | 92 Intent launchIntent; in onCreate() local 98 launchIntent = packageManager.getLaunchIntentForPackage(savedPackageName); in onCreate() 104 launchIntent = new Intent(this, LensPickerActivity.class); in onCreate() 105 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_PACKAGES, packages); in onCreate() 106 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_CATEGORIES, categories); in onCreate() 107 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_ID, facetId); in onCreate() 110 startActivity(launchIntent); in onCreate() 178 Intent launchIntent; in maybeRelaunchLastIntent() local 180 launchIntent = Intent.parseUri(intentString, Intent.URI_INTENT_SCHEME); in maybeRelaunchLastIntent() 192 launchIntent); in maybeRelaunchLastIntent()
|
D | LensPickerActivity.java | 80 Intent launchIntent = LensPickerUtils.getLaunchIntent(packageName, rInfo, in onResume() local 82 if (launchIntent != null) { in onResume() 83 launch(facetId, packageName, launchIntent); in onResume() 197 Intent launchIntent = item.getLaunchIntent(); in onActivitySelected() local 198 launch(item.getFacetId(), launchIntent.getPackage(), launchIntent); in onActivitySelected() local 202 private void launch(String facetId, String packageName, Intent launchIntent) { in launch() argument 206 mLastLaunchedIntent = launchIntent; in launch() 209 launchIntent); in launch()
|
D | LensPickerUtils.java | 65 String packageName, Intent launchIntent) { in launch() argument 73 String uriString = launchIntent.toUri(Intent.URI_INTENT_SCHEME); in launch() 78 context.startActivity(launchIntent); in launch() 85 String packageName, Intent launchIntent) { in saveLastLaunchedAppInfo() argument 92 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()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | CustomShortcutConfigActivity.java | 40 Intent launchIntent = new Intent(this, BaseTestingActivity.class) in onCreate() local 44 R.drawable.ic_widget, launchIntent); in onCreate() 50 Context context, String uniqueId, String name, int iconId, Intent launchIntent) { in createShortcutResultIntent() argument 52 createShortcutInfo(context, uniqueId, name, iconId, launchIntent); in createShortcutResultIntent() 58 Context context, String uniqueId, String name, int iconId, Intent launchIntent) { in createShortcutInfo() argument 63 .setIntent(launchIntent) in createShortcutInfo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceDeepLinkSpringBoard.java | 44 Intent launchIntent; in onCreate() local 51 launchIntent = sliceable.getIntent(); in onCreate() 53 launchIntent = ZenModeSliceBuilder.getIntent(this /* context */); in onCreate() 55 launchIntent = BluetoothSliceBuilder.getIntent(this /* context */); in onCreate() 62 launchIntent = SliceBuilderUtils.getContentIntent(this, sliceData); in onCreate() 64 startActivity(launchIntent); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDeepLinkSpringBoard.java | 46 Intent launchIntent; in onCreate() local 53 launchIntent = sliceable.getIntent(); in onCreate() 55 launchIntent = ZenModeSliceBuilder.getIntent(this /* context */); in onCreate() 57 launchIntent = BluetoothSliceBuilder.getIntent(this /* context */); in onCreate() 64 launchIntent = SliceBuilderUtils.getContentIntent(this, sliceData); in onCreate() 66 startActivity(launchIntent); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 284 public static boolean isLauncherAppTarget(Intent launchIntent) { in isLauncherAppTarget() argument 285 if (launchIntent != null in isLauncherAppTarget() 286 && Intent.ACTION_MAIN.equals(launchIntent.getAction()) in isLauncherAppTarget() 287 && launchIntent.getComponent() != null in isLauncherAppTarget() 288 && launchIntent.getCategories() != null in isLauncherAppTarget() 289 && launchIntent.getCategories().size() == 1 in isLauncherAppTarget() 290 && launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in isLauncherAppTarget() 291 && TextUtils.isEmpty(launchIntent.getDataString())) { in isLauncherAppTarget() 293 Bundle extras = launchIntent.getExtras(); in isLauncherAppTarget()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsForSetupWizardActivityTest.java | 65 final Intent launchIntent = Shadows.shadowOf(activity).getNextStartedActivity(); in onCreate_hasFontSizeComponent_shouldGoToFontSizePreferenceDirectly() local 66 assertThat(launchIntent).isNotNull(); in onCreate_hasFontSizeComponent_shouldGoToFontSizePreferenceDirectly() 67 assertThat(launchIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)).isEqualTo( in onCreate_hasFontSizeComponent_shouldGoToFontSizePreferenceDirectly() 82 final Intent launchIntent = Shadows.shadowOf(activity).getNextStartedActivity(); in onCreate_noFontSizeComponent_shouldNotFinishCurrentActivity() local 83 assertThat(launchIntent).isNull(); in onCreate_noFontSizeComponent_shouldNotFinishCurrentActivity()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | BluetoothPrefs.java | 34 Intent launchIntent = new Intent(); in onCreate() local 35 launchIntent.setAction(BLUETOOTH_SETTING_ACTION); in onCreate() 36 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in onCreate() 37 startActivity(launchIntent); in onCreate()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 106 Intent launchIntent = new Intent(); in onCreateView() local 107 launchIntent.setAction(Bluetooth_Setting_ACTION); in onCreateView() 108 launchIntent.addCategory(Bluetooth_Setting_CATEGORY); in onCreateView() 112 .isDistractionOptimized(getActivity().getPackageManager(), launchIntent); in onCreateView() 116 bluetoothButton.setOnClickListener(v -> startActivity(launchIntent)); in onCreateView()
|
/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/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 112 Intent launchIntent = new Intent(); in setErrorPlaybackState() local 113 launchIntent.setAction(BluetoothPrefs.BLUETOOTH_SETTING_ACTION); in setErrorPlaybackState() 114 launchIntent.addCategory(BluetoothPrefs.BLUETOOTH_SETTING_CATEGORY); in setErrorPlaybackState() 116 launchIntent, PendingIntent.FLAG_UPDATE_CURRENT); in setErrorPlaybackState()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallRouter.java | 160 Intent launchIntent = new Intent(mContext, InCallActivity.class); in routeToInCallPage() local 161 launchIntent.putExtra(Constants.Intents.EXTRA_SHOW_INCOMING_CALL, showDialpad); in routeToInCallPage() 162 mContext.startActivity(launchIntent); in routeToInCallPage()
|
/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/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ThirdPartyAppCategory.java | 103 Intent launchIntent = new Intent(Intent.ACTION_SET_WALLPAPER); in show() local 104 launchIntent.setComponent(itemComponentName); in show() 106 srcActivity, launchIntent, requestCode); in show()
|
/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()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | LauncherActivity.java | 214 void launch(Intent launchIntent) { in launch() argument 215 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launch() 217 launchIntent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in launch() 224 startActivity(launchIntent, options.toBundle()); in launch()
|
/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/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/ |
D | SecondaryDisplayLauncher.java | 160 void launch(Intent launchIntent) { in launch() argument 161 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launch() 163 startActivity(launchIntent); in launch()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 341 final Intent launchIntent = shadowActivity.getNextStartedActivityForResult().intent; in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() local 342 assertThat(launchIntent.getAction()) in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 344 … assertThat(launchIntent.getIntExtra(MetricsFeatureProvider.EXTRA_SOURCE_METRICS_CATEGORY, 0)) in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 363 final ShadowActivity.IntentForResult launchIntent = in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything() local 366 assertThat(launchIntent).isNull(); in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything()
|