/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 | 185 Intent launchIntent = new Intent(Intent.ACTION_MAIN); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() local 186 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 191 getShadowPackageManager().addResolveInfoForIntent(launchIntent, launchInfo); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
|
/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/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 | 307 public static boolean isLauncherAppTarget(Intent launchIntent) { in isLauncherAppTarget() argument 308 if (launchIntent != null in isLauncherAppTarget() 309 && Intent.ACTION_MAIN.equals(launchIntent.getAction()) in isLauncherAppTarget() 310 && launchIntent.getComponent() != null in isLauncherAppTarget() 311 && launchIntent.getCategories() != null in isLauncherAppTarget() 312 && launchIntent.getCategories().size() == 1 in isLauncherAppTarget() 313 && launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in isLauncherAppTarget() 314 && TextUtils.isEmpty(launchIntent.getDataString())) { in isLauncherAppTarget() 316 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 | 98 Intent launchIntent = new Intent(); in onCreateView() local 99 launchIntent.setAction(Bluetooth_Setting_ACTION); in onCreateView() 100 launchIntent.addCategory(Bluetooth_Setting_CATEGORY); in onCreateView() 104 mCarPackageManager, getActivity().getPackageManager(), launchIntent); in onCreateView() 108 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/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallRouter.java | 174 Intent launchIntent = new Intent(mContext, InCallActivity.class); in routeToFullScreenIncomingCallPage() local 175 launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in routeToFullScreenIncomingCallPage() 176 launchIntent.putExtra(Constants.Intents.EXTRA_SHOW_DIALPAD, showDialpad); in routeToFullScreenIncomingCallPage() 177 mContext.startActivity(launchIntent); in routeToFullScreenIncomingCallPage()
|
/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/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/ |
D | ConversationListFragment.java | 103 Intent launchIntent = new Intent(); in handleBluetoothDisconnected() local 104 launchIntent.setAction(BLUETOOTH_SETTING_ACTION); in handleBluetoothDisconnected() 105 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in handleBluetoothDisconnected() 111 v -> startActivity(launchIntent), in handleBluetoothDisconnected()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | ConfirmConnectActivity.java | 43 Intent launchIntent = getIntent(); in onCreate() local 44 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate() 47 String btExtraName = 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/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 147 Intent launchIntent = new Intent(); in setErrorPlaybackState() local 148 launchIntent.setAction(BluetoothPrefs.BLUETOOTH_SETTING_ACTION); in setErrorPlaybackState() 149 launchIntent.addCategory(BluetoothPrefs.BLUETOOTH_SETTING_CATEGORY); in setErrorPlaybackState() 152 launchIntent, flags); in setErrorPlaybackState()
|
/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/Launcher3/src/com/android/launcher3/model/ |
D | ModelUtils.java | 152 Intent launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); in fromLegacyShortcutIntent() local 154 if (launchIntent == null || label == null) { in fromLegacyShortcutIntent() 181 info.intent = launchIntent; in fromLegacyShortcutIntent()
|
/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/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/ |
D | InstalledAppCounter.java | 66 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null) in includeInCount() local 70 launchIntent, in includeInCount()
|
/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/Settings/src/com/android/car/settings/applications/ |
D | InstalledAppCountItemManager.java | 87 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null) in shouldCountApp() local 91 launchIntent, in shouldCountApp()
|
/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
|