/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePickerPreferenceControllerTest.java | 135 Intent launchIntent = createLaunchIntent(/* needsAuth= */ false, in onStart_appliesFilterType() local 137 mControllerHelper.getController().setLaunchIntent(launchIntent); in onStart_appliesFilterType() 150 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_bondedDevice_sendsPickedIntent() local 153 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_sendsPickedIntent() 172 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_bondedDevice_goesBack() local 174 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_goesBack() 187 Intent launchIntent = createLaunchIntent(/* needsAuth= */ false, in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent() local 189 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent() 204 Intent launchIntent = createLaunchIntent(/* needsAuth= */ true, in onDeviceClicked_unbondedDevice_needsAuth_startsPairing() local 206 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing() [all …]
|
D | BluetoothRequestPermissionActivityTest.java | 154 Intent launchIntent = new Intent(Intent.ACTION_MAIN); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() local 155 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 160 getShadowPackageManager().addResolveInfoForIntent(launchIntent, launchInfo); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 137 String pkg = getIntentPackage(info.launchIntent); in flushQueueInBackground() 142 Log.d(TAG, "Ignoring shortcut for absent package: " + info.launchIntent); in flushQueueInBackground() 200 info.launchIntent, null)) { in onReceive() 202 Log.e(TAG, "Ignoring malicious intent " + info.launchIntent.toUri(0)); in onReceive() 233 if (info.launchIntent == null || info.label == null) { in createPendingInfo() 326 final Intent launchIntent; field in InstallShortcutReceiver.PendingInstallShortcutInfo 342 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in PendingInstallShortcutInfo() 363 launchIntent = AppInfo.makeLaunchIntent(info); in PendingInstallShortcutInfo() 379 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in PendingInstallShortcutInfo() 395 launchIntent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() [all …]
|
/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 | 321 public static boolean isLauncherAppTarget(Intent launchIntent) { in isLauncherAppTarget() argument 322 if (launchIntent != null in isLauncherAppTarget() 323 && Intent.ACTION_MAIN.equals(launchIntent.getAction()) in isLauncherAppTarget() 324 && launchIntent.getComponent() != null in isLauncherAppTarget() 325 && launchIntent.getCategories() != null in isLauncherAppTarget() 326 && launchIntent.getCategories().size() == 1 in isLauncherAppTarget() 327 && launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in isLauncherAppTarget() 328 && TextUtils.isEmpty(launchIntent.getDataString())) { in isLauncherAppTarget() 330 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 | 117 Intent launchIntent = new Intent(); in onCreateView() local 118 launchIntent.setAction(Bluetooth_Setting_ACTION); in onCreateView() 119 launchIntent.addCategory(Bluetooth_Setting_CATEGORY); in onCreateView() 123 mCarPackageManager, getActivity().getPackageManager(), launchIntent); in onCreateView() 127 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()
|
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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | InstalledAppCounter.java | 60 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null) in includeInCount() local 64 launchIntent, in includeInCount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 468 final Intent launchIntent = shadowActivity.getNextStartedActivityForResult().intent; in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() local 469 assertThat(launchIntent.getAction()) in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 472 launchIntent.getIntExtra(MetricsFeatureProvider.EXTRA_SOURCE_METRICS_CATEGORY, 0)) in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 491 final ShadowActivity.IntentForResult launchIntent = in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything() local 494 assertThat(launchIntent).isNull(); in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchFeatureProviderImplTest.java | 81 final Intent launchIntent = Shadows.shadowOf(mActivity).getNextStartedActivity(); in initSearchToolbar_hasResolvedInfo_shouldStartCorrectIntent() local 83 assertThat(launchIntent.getAction()).isEqualTo(Settings.ACTION_APP_SEARCH_SETTINGS); in initSearchToolbar_hasResolvedInfo_shouldStartCorrectIntent()
|
/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
|