Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java293 Intent newIntent = new Intent(Intent.ACTION_VIEW); in startUninstallProgress() local
294 newIntent.putExtra(Intent.EXTRA_USER, mDialogInfo.user); in startUninstallProgress()
295 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress()
296 newIntent.putExtra(PackageInstaller.EXTRA_CALLBACK, mDialogInfo.callback); in startUninstallProgress()
297 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
300 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startUninstallProgress()
301 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startUninstallProgress()
304 newIntent.setClass(this, UninstallAppProgress.class); in startUninstallProgress()
305 startActivity(newIntent); in startUninstallProgress()
307 Intent newIntent = new Intent(this, UninstallUninstalling.class); in startUninstallProgress() local
[all …]
DPackageInstallerActivity.java558 Intent newIntent = new Intent(); in startInstall() local
559 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall()
561 newIntent.setData(mPackageURI); in startInstall()
562 newIntent.setClass(this, InstallInstalling.class); in startInstall()
566 newIntent.putExtra(Intent.EXTRA_ORIGINATING_URI, mOriginatingURI); in startInstall()
569 newIntent.putExtra(Intent.EXTRA_REFERRER, mReferrerURI); in startInstall()
572 newIntent.putExtra(Intent.EXTRA_ORIGINATING_UID, mOriginatingUid); in startInstall()
575 newIntent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, in startInstall()
579 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startInstall()
581 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startInstall()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
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()
DLocalReceiver.java62 Intent newIntent = new Intent(intent); in onReceive() local
63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
64 context.sendOrderedBroadcast(newIntent, null); in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java135 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()
236 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab() argument
244 newIntent, MATCH_DEFAULT_ONLY, callingUserId).join(); in launchResolverActivityWithCorrectTab()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java339 final Intent newIntent = km.createConfirmDeviceCredentialIntent(null, null, userId, in interceptWithConfirmCredentialsIfNeeded() local
341 if (newIntent == null) { in interceptWithConfirmCredentialsIfNeeded()
344 newIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | in interceptWithConfirmCredentialsIfNeeded()
346 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName); in interceptWithConfirmCredentialsIfNeeded()
347 newIntent.putExtra(EXTRA_INTENT, target); in interceptWithConfirmCredentialsIfNeeded()
348 return newIntent; in interceptWithConfirmCredentialsIfNeeded()
DActivityStarter.java747 final Intent newIntent = new Intent(); in resolveToHeavyWeightSwitcherIfNeeded() local
750 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_HAS_RESULT, true); in resolveToHeavyWeightSwitcherIfNeeded()
752 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_INTENT, new IntentSender(target)); in resolveToHeavyWeightSwitcherIfNeeded()
753 heavy.updateIntentForHeavyWeightActivity(newIntent); in resolveToHeavyWeightSwitcherIfNeeded()
754 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_NEW_APP, in resolveToHeavyWeightSwitcherIfNeeded()
756 newIntent.setFlags(mRequest.intent.getFlags()); in resolveToHeavyWeightSwitcherIfNeeded()
757 newIntent.setClassName("android" /* packageName */, in resolveToHeavyWeightSwitcherIfNeeded()
759 mRequest.intent = newIntent; in resolveToHeavyWeightSwitcherIfNeeded()
1084 Intent newIntent = new Intent(Intent.ACTION_REVIEW_PERMISSIONS); in executeRequest() local
1101 newIntent.setFlags(flags); in executeRequest()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java234 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onSystemReady() local
235 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onSystemReady()
237 sendStickyBroadcastToAll(newIntent); in onSystemReady()
370 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in receiveBtEvent() local
371 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, scoAudioState); in receiveBtEvent()
372 sendStickyBroadcastToAll(newIntent); in receiveBtEvent()
475 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); in onBroadcastScoConnectionState() local
476 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, state); in onBroadcastScoConnectionState()
477 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, in onBroadcastScoConnectionState()
479 sendStickyBroadcastToAll(newIntent); in onBroadcastScoConnectionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java209 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary() local
211 if (newIntent == null) { in startWorkChallengeIfNecessary()
226 newIntent.putExtra( in startWorkChallengeIfNecessary()
230 ActivityManager.getService().startConfirmDeviceCredentialIntent(newIntent, in startWorkChallengeIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java109 Intent newIntent = mUpdateMonitor.getSecondaryLockscreenRequirement(userId);
110 if (newIntent == null) {
/frameworks/base/core/java/android/app/
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()
DActivity.java1028 public void setIntent(Intent newIntent) { in setIntent() argument
1029 mIntent = newIntent; in setIntent()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java281 private BroadcastRecord(BroadcastRecord from, Intent newIntent) { in BroadcastRecord() argument
282 intent = newIntent; in BroadcastRecord()
283 targetComp = newIntent.getComponent(); in BroadcastRecord()
/frameworks/base/core/java/android/content/
DClipData.java797 static public ClipData newIntent(CharSequence label, Intent intent) { in newIntent() method in ClipData
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2784 Intent newIntent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, in completeConnection() local
2786 newIntent.setData(Uri.parse(mProvisioningUrl)); in completeConnection()
2787 newIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | in completeConnection()
2790 mPhone.getContext().startActivity(newIntent); in completeConnection()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6781 …method public static android.content.ClipData newIntent(java.lang.CharSequence, android.content.In…
/frameworks/base/api/
Dcurrent.txt9587 method public static android.content.ClipData newIntent(CharSequence, android.content.Intent);