/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | UninstallerActivity.java | 296 Intent newIntent = new Intent(Intent.ACTION_VIEW); in startUninstallProgress() local 297 newIntent.putExtra(Intent.EXTRA_USER, mDialogInfo.user); in startUninstallProgress() 303 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startUninstallProgress() 304 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startUninstallProgress() 307 newIntent.setClass(this, UninstallAppProgress.class); in startUninstallProgress() 308 startActivity(newIntent); in startUninstallProgress() 310 Intent newIntent = new Intent(this, UninstallUninstalling.class); in startUninstallProgress() local 312 newIntent.putExtra(Intent.EXTRA_USER, mDialogInfo.user); in startUninstallProgress() 320 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startUninstallProgress() 324 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startUninstallProgress() [all …]
|
H A D | PackageInstallerActivity.java | 608 Intent newIntent = new Intent(); in startInstall() local 609 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall() 611 newIntent.setData(mPackageURI); in startInstall() 612 newIntent.setClass(this, InstallInstalling.class); in startInstall() 616 newIntent.putExtra(Intent.EXTRA_ORIGINATING_URI, mOriginatingURI); in startInstall() 619 newIntent.putExtra(Intent.EXTRA_REFERRER, mReferrerURI); in startInstall() 622 newIntent.putExtra(Intent.EXTRA_ORIGINATING_UID, mOriginatingUid); in startInstall() 625 newIntent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, in startInstall() 629 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startInstall() 631 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startInstall() [all …]
|
/aosp12/packages/apps/Car/Media/src/com/android/car/media/ |
H A D | MediaDispatcherActivity.java | 81 Intent newIntent = null; in onCreate() local 85 newIntent = getPackageManager().getLaunchIntentForPackage(srcPackage); in onCreate() 87 Log.d(TAG, "Getting launch intent for package : " + srcPackage + (newIntent != null in onCreate() 91 if (newIntent == null) { in onCreate() 93 newIntent = new Intent(this, MediaActivity.class); in onCreate() 98 newIntent.putExtra(EXTRA_MEDIA_COMPONENT, in onCreate() 102 newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in onCreate() 103 startActivity(newIntent); in onCreate()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | QuickContactBroadcastReceiver.java | 36 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT); in onReceive() local 37 newIntent.setSourceBounds(intent.getSourceBounds()); in onReceive() 38 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onReceive() 39 newIntent.setData(dataUri); in onReceive() 40 ImplicitIntentsUtil.startActivityInApp(context, newIntent); in onReceive()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
H A D | RoleSearchTrampolineActivity.java | 48 Intent newIntent; in onCreate() local 51 newIntent = DefaultAppActivity.createIntent( in onCreate() 57 newIntent = SpecialAppAccessActivity.createIntent( in onCreate() 65 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in onCreate() 66 startActivity(newIntent); in onCreate()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
H A D | ViewOnlyPreviewActivity.java | 40 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity 45 protected static Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent() method in ViewOnlyPreviewActivity 47 return newIntent(context, wallpaper).putExtra(EXTRA_VIEW_AS_HOME, isVewAsHome); in newIntent() 96 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity.ViewOnlyPreviewActivityIntentFactory 98 return ViewOnlyPreviewActivity.newIntent(context, wallpaper, mIsViewAsHome); in newIntent() 100 return ViewOnlyPreviewActivity.newIntent(context, wallpaper); in newIntent()
|
H A D | FullPreviewActivity.java | 43 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in FullPreviewActivity 54 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo, in newIntent() method in FullPreviewActivity 56 return newIntent(packageContext, wallpaperInfo).putExtra(EXTRA_VIEW_AS_HOME, viewAsHome); in newIntent() 106 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in FullPreviewActivity.PreviewActivityIntentFactory 107 return FullPreviewActivity.newIntent(context, wallpaper); in newIntent()
|
H A D | PreviewActivity.java | 41 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in PreviewActivity 90 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in PreviewActivity.PreviewActivityIntentFactory 91 return PreviewActivity.newIntent(context, wallpaper); in newIntent()
|
/aosp12/packages/apps/Settings/src/com/android/settings/sim/ |
H A D | SimSelectNotification.java | 169 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local 170 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded() 172 context.startActivity(newIntent); in startSimSelectDialogIfNeeded() 184 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local 185 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded() 186 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded() 188 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded() 189 context.startActivity(newIntent); in startSimSelectDialogIfNeeded() 192 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local 193 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | IntentForwarderActivity.java | 135 final Intent newIntent = canForward(intentReceived, getUserId(), targetUserId, in onCreate() local 138 if (newIntent == null) { in onCreate() 145 newIntent.prepareToLeaveUser(callingUserId); in onCreate() 147 mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, targetUserId); in onCreate() 151 launchResolverActivityWithCorrectTab(intentReceived, className, newIntent, in onCreate() 155 startActivityAsCaller(newIntent, targetUserId); in onCreate() 192 private void startActivityAsCaller(Intent newIntent, int userId) { in startActivityAsCaller() argument 195 newIntent, in startActivityAsCaller() 226 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab() argument 234 newIntent, MATCH_DEFAULT_ONLY, callingUserId).join(); in launchResolverActivityWithCorrectTab()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
H A D | ManagePermissionsActivityTrampoline.java | 46 Intent newIntent = new Intent(this, ManagePermissionsActivity.class) in onCreate() local 49 newIntent in onCreate() 58 startActivity(newIntent); in onCreate()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ActivityStartInterceptor.java | 196 final Intent newIntent = callback.intercept(interceptorInfo); in intercept() local 197 if (newIntent == null) { in intercept() 200 mIntent = newIntent; in intercept() 366 final Intent newIntent = km.createConfirmDeviceCredentialIntent(null, null, userId, in interceptWithConfirmCredentialsIfNeeded() local 368 if (newIntent == null) { in interceptWithConfirmCredentialsIfNeeded() 371 newIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | in interceptWithConfirmCredentialsIfNeeded() 373 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName); in interceptWithConfirmCredentialsIfNeeded() 374 newIntent.putExtra(EXTRA_INTENT, target); in interceptWithConfirmCredentialsIfNeeded() 375 return newIntent; in interceptWithConfirmCredentialsIfNeeded()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | RemoteReceiver.java | 35 Intent newIntent = new Intent(intent); in onReceive() local 36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive() 37 context.sendOrderedBroadcast(newIntent, null); in onReceive()
|
H A D | LocalReceiver.java | 62 Intent newIntent = new Intent(intent); in onReceive() local 63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive() 64 context.sendOrderedBroadcast(newIntent, null); in onReceive()
|
/aosp12/packages/apps/Stk/src/com/android/stk/ |
H A D | StkAppService.java | 1592 newIntent.setData(uriData); in launchMenuActivity() 1594 startActivity(newIntent); in launchMenuActivity() 1611 newIntent.setData(uriData); in launchInputActivity() 1616 startActivity(newIntent); in launchInputActivity() 1633 newIntent.setData(uriData); in launchTextDialog() 1640 startActivity(newIntent); in launchTextDialog() 2074 newIntent.setData(uriData); in launchConfirmationDialog() 2075 startActivity(newIntent); in launchConfirmationDialog() 2213 newIntent.setData(uriData); in launchToneDialog() 2214 startActivity(newIntent); in launchToneDialog() [all …]
|
H A D | StkMain.java | 56 Intent newIntent = new Intent(Intent.ACTION_VIEW); in onCreate() local 57 newIntent.setClassName(PACKAGE_NAME, STK_LAUNCHER_ACTIVITY_NAME); in onCreate() 58 startActivity(newIntent); in onCreate()
|
/aosp12/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | BtHelper.java | 227 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onSystemReady() local 228 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onSystemReady() 230 sendStickyBroadcastToAll(newIntent); in onSystemReady() 358 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in receiveBtEvent() local 359 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, scoAudioState); in receiveBtEvent() 360 sendStickyBroadcastToAll(newIntent); in receiveBtEvent() 418 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); in onBroadcastScoConnectionState() local 419 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, state); in onBroadcastScoConnectionState() 420 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, in onBroadcastScoConnectionState() 422 sendStickyBroadcastToAll(newIntent); in onBroadcastScoConnectionState()
|
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/ |
H A D | RingtonePickerActivityTest.java | 249 final Intent newIntent = new Intent(); in createTimerRingtonePickerActivity() local 253 newIntent.fillIn(intent, 0); in createTimerRingtonePickerActivity() 257 createRingtonePickerActivity(newIntent); in createTimerRingtonePickerActivity() 262 final Intent newIntent = new Intent(); in createAlarmRingtonePickerActivity() local 274 newIntent.fillIn(intent, 0); in createAlarmRingtonePickerActivity() 278 createRingtonePickerActivity(newIntent); in createAlarmRingtonePickerActivity()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/ |
H A D | AutofillPickerTrampolineActivity.java | 59 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local 62 startActivity(newIntent); in onCreate()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/autofill/ |
H A D | AutofillPickerTrampolineActivity.java | 59 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local 62 startActivity(newIntent); in onCreate()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | BaseItemDragListener.java | 163 Intent newIntent = new Intent(mLauncher.getIntent()); in postCleanup() local 164 newIntent.removeExtra(EXTRA_PIN_ITEM_DRAG_LISTENER); in postCleanup() 165 mLauncher.setIntent(newIntent); in postCleanup()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarRemoteInputCallback.java | 218 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary() local 220 if (newIntent == null) { in startWorkChallengeIfNecessary() 235 newIntent.putExtra( in startWorkChallengeIfNecessary() 239 ActivityManager.getService().startConfirmDeviceCredentialIntent(newIntent, in startWorkChallengeIfNecessary()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | LoaderCursor.java | 267 Intent newIntent = new Intent(Intent.ACTION_MAIN, null); in getAppShortcutInfo() local 268 newIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getAppShortcutInfo() 269 newIntent.setComponent(componentName); in getAppShortcutInfo() 271 .resolveActivity(newIntent, user); in getAppShortcutInfo() 280 info.intent = newIntent; in getAppShortcutInfo()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/ |
H A D | NonFullscreenPreferenceFragmentTest.java | 77 ActivityScenario.launch(MyActivity.newIntent(true))) { in test_fullscreen_changesTitle() 103 ActivityScenario.launch(MyActivity.newIntent(false))) { in test_nonFullscreen_doesntChangeTitle() 132 public static Intent newIntent(boolean isFullScreen) { in newIntent() method in NonFullscreenPreferenceFragmentTest.MyActivity
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
H A D | PickerIntentFactory.java | 29 Intent newIntent(Context ctx, String collectionId); in newIntent() method
|