Home
last modified time | relevance | path

Searched refs:newIntent (Results 1 – 19 of 19) sorted by relevance

/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DUninstallerActivity.java294 Intent newIntent = new Intent(Intent.ACTION_VIEW); in startUninstallProgress() local
295 newIntent.putExtra(Intent.EXTRA_USER, mDialogInfo.user); in startUninstallProgress()
301 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startUninstallProgress()
302 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startUninstallProgress()
305 newIntent.setClass(this, UninstallAppProgress.class); in startUninstallProgress()
306 startActivity(newIntent); in startUninstallProgress()
308 Intent newIntent = new Intent(this, UninstallUninstalling.class); in startUninstallProgress() local
310 newIntent.putExtra(Intent.EXTRA_USER, mDialogInfo.user); in startUninstallProgress()
317 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startUninstallProgress()
321 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startUninstallProgress()
[all …]
H A DPackageInstallerActivity.java672 Intent newIntent = new Intent(); in startInstall() local
673 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall()
675 newIntent.setData(mPackageURI); in startInstall()
676 newIntent.setClass(this, InstallInstalling.class); in startInstall()
681 newIntent.putExtra(Intent.EXTRA_REFERRER, mReferrerURI); in startInstall()
687 newIntent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, in startInstall()
691 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startInstall()
694 newIntent.putExtra(EXTRA_STAGED_SESSION_ID, stagedSessionId); in startInstall()
697 newIntent.putExtra(EXTRA_APP_SNIPPET, mAppSnippet); in startInstall()
699 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startInstall()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DRemoteReceiver.java35 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 DLocalReceiver.java63 Intent newIntent = new Intent(intent); in onReceive() local
64 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
65 context.sendOrderedBroadcast(newIntent, null); in onReceive()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java162 final Intent newIntent = canForward(intentReceived, getUserId(), targetUserId, in onCreate() local
165 if (newIntent == null) { in onCreate()
172 newIntent.prepareToLeaveUser(callingUserId); in onCreate()
174 mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, targetUserId); in onCreate()
178 launchResolverActivityWithCorrectTab(intentReceived, className, newIntent, in onCreate()
182 startActivityAsCaller(newIntent, targetUserId); in onCreate()
193 maybeShowUserConsentMiniResolver(result, newIntent, managedProfile); in onCreate()
398 private void startActivityAsCaller(Intent newIntent, int userId) { in startActivityAsCaller() argument
401 newIntent, in startActivityAsCaller()
431 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab() argument
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java185 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onSystemReady() local
186 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onSystemReady()
188 sendStickyBroadcastToAll(newIntent); in onSystemReady()
352 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onScoAudioStateChanged() local
353 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, scoAudioState); in onScoAudioStateChanged()
354 sendStickyBroadcastToAll(newIntent); in onScoAudioStateChanged()
442 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); in onBroadcastScoConnectionState() local
443 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, state); in onBroadcastScoConnectionState()
444 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, in onBroadcastScoConnectionState()
446 sendStickyBroadcastToAll(newIntent); in onBroadcastScoConnectionState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarRemoteInputCallback.java221 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary() local
223 if (newIntent == null) { in startWorkChallengeIfNecessary()
238 newIntent.putExtra( in startWorkChallengeIfNecessary()
242 ActivityManager.getService().startConfirmDeviceCredentialIntent(newIntent, in startWorkChallengeIfNecessary()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityStartInterceptor.java432 final Intent newIntent = km.createConfirmDeviceCredentialIntent(null, null, userId, in interceptWithConfirmCredentialsIfNeeded() local
434 if (newIntent == null) { in interceptWithConfirmCredentialsIfNeeded()
437 newIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | in interceptWithConfirmCredentialsIfNeeded()
439 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName); in interceptWithConfirmCredentialsIfNeeded()
440 newIntent.putExtra(EXTRA_INTENT, target); in interceptWithConfirmCredentialsIfNeeded()
441 return newIntent; in interceptWithConfirmCredentialsIfNeeded()
H A DActivityStarter.java836 final Intent newIntent = new Intent(); in resolveToHeavyWeightSwitcherIfNeeded() local
839 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_HAS_RESULT, true); in resolveToHeavyWeightSwitcherIfNeeded()
842 heavy.updateIntentForHeavyWeightActivity(newIntent); in resolveToHeavyWeightSwitcherIfNeeded()
843 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_NEW_APP, in resolveToHeavyWeightSwitcherIfNeeded()
845 newIntent.setFlags(mRequest.intent.getFlags()); in resolveToHeavyWeightSwitcherIfNeeded()
846 newIntent.setClassName("android" /* packageName */, in resolveToHeavyWeightSwitcherIfNeeded()
848 mRequest.intent = newIntent; in resolveToHeavyWeightSwitcherIfNeeded()
1197 Intent newIntent = new Intent(Intent.ACTION_REVIEW_PERMISSIONS); in executeRequest() local
1214 newIntent.setFlags(flags); in executeRequest()
1219 newIntent.putExtra(Intent.EXTRA_RESULT_NEEDED, true); in executeRequest()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java516 private BroadcastRecord(BroadcastRecord from, Intent newIntent) { in BroadcastRecord() argument
517 intent = Objects.requireNonNull(newIntent); in BroadcastRecord()
518 targetComp = newIntent.getComponent(); in BroadcastRecord()
837 Intent newIntent = null; in getReceiverIntent() local
847 newIntent = new Intent(intent); in getReceiverIntent()
848 newIntent.replaceExtras(filteredExtras); in getReceiverIntent()
853 if (newIntent == null) { in getReceiverIntent()
854 newIntent = new Intent(intent); in getReceiverIntent()
856 newIntent.setComponent(((ResolveInfo) receiver).activityInfo.getComponentName()); in getReceiverIntent()
858 return (newIntent != null) ? newIntent : intent; in getReceiverIntent()
H A DAppRestrictionController.java2401 final Intent newIntent = new Intent(ACTION_SHOW_FOREGROUND_SERVICE_MANAGER);
2402 newIntent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
2404 mContext.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM);
/aosp14/frameworks/base/core/java/android/app/
H A DRemoteInput.java463 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in addResultsToIntent()
499 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in addDataResultToIntent()
521 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in setResultsSource()
H A DActivity.java1125 public void setIntent(Intent newIntent) { in setIntent() argument
1126 mIntent = newIntent; in setIntent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DAdminSecondaryLockScreenController.java123 Intent newIntent = mUpdateMonitor.getSecondaryLockscreenRequirement(userId);
124 if (newIntent == null) {
/aosp14/frameworks/base/core/java/android/content/
H A DClipData.java882 static public ClipData newIntent(CharSequence label, Intent intent) { in newIntent() method in ClipData
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt3641 HSPLandroid/content/ClipData;->newIntent(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt3644 HSPLandroid/content/ClipData;->newIntent(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/…
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt9741 method public static android.content.ClipData newIntent(CharSequence, android.content.Intent);