Home
last modified time | relevance | path

Searched refs:newIntent (Results 1 – 17 of 17) 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.java557 Intent newIntent = new Intent(); in startInstall() local
558 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall()
560 newIntent.setData(mPackageURI); in startInstall()
561 newIntent.setClass(this, InstallInstalling.class); in startInstall()
565 newIntent.putExtra(Intent.EXTRA_ORIGINATING_URI, mOriginatingURI); in startInstall()
568 newIntent.putExtra(Intent.EXTRA_REFERRER, mReferrerURI); in startInstall()
571 newIntent.putExtra(Intent.EXTRA_ORIGINATING_UID, mOriginatingUid); in startInstall()
574 newIntent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, in startInstall()
578 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true); in startInstall()
580 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in startInstall()
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java61 final Intent newIntent = new Intent(DevicePolicyManager.ACTION_REMOTE_BUGREPORT_DISPATCH); in onReceive() local
62 newIntent.setDataAndType(bugreportUri, BUGREPORT_MIMETYPE); in onReceive()
63 newIntent.putExtra(DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_HASH, bugreportHash); in onReceive()
64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM, in onReceive()
/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.java111 final Intent newIntent = canForward(intentReceived, targetUserId); in onCreate() local
112 if (newIntent != null) { in onCreate()
113 if (Intent.ACTION_CHOOSER.equals(newIntent.getAction())) { in onCreate()
114 Intent innerIntent = newIntent.getParcelableExtra(Intent.EXTRA_INTENT); in onCreate()
120 newIntent.prepareToLeaveUser(callingUserId); in onCreate()
123 final ResolveInfo ri = mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, in onCreate()
126 startActivityAsCaller(newIntent, null, null, false, targetUserId); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java303 final Intent newIntent = km.createConfirmDeviceCredentialIntent(null, null, userId); in interceptWithConfirmCredentialsIfNeeded() local
304 if (newIntent == null) { in interceptWithConfirmCredentialsIfNeeded()
307 newIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | in interceptWithConfirmCredentialsIfNeeded()
309 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName); in interceptWithConfirmCredentialsIfNeeded()
310 newIntent.putExtra(EXTRA_INTENT, target); in interceptWithConfirmCredentialsIfNeeded()
311 return newIntent; in interceptWithConfirmCredentialsIfNeeded()
DActivityStarter.java839 Intent newIntent = new Intent(Intent.ACTION_REVIEW_PERMISSIONS); in startActivity() local
856 newIntent.setFlags(flags); in startActivity()
858 newIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, aInfo.packageName); in startActivity()
859 newIntent.putExtra(Intent.EXTRA_INTENT, new IntentSender(target)); in startActivity()
861 newIntent.putExtra(Intent.EXTRA_RESULT_NEEDED, true); in startActivity()
863 intent = newIntent; in startActivity()
1257 Intent newIntent = new Intent(); in startActivityMayWait() local
1260 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_HAS_RESULT, true); in startActivityMayWait()
1262 newIntent.putExtra(HeavyWeightSwitcherActivity.KEY_INTENT, in startActivityMayWait()
1264 heavy.updateIntentForHeavyWeightActivity(newIntent); in startActivityMayWait()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java177 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onSystemReady() local
178 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onSystemReady()
180 sendStickyBroadcastToAll(newIntent); in onSystemReady()
302 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in receiveBtEvent() local
303 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, scoAudioState); in receiveBtEvent()
304 sendStickyBroadcastToAll(newIntent); in receiveBtEvent()
405 Intent newIntent = new Intent(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); in onBroadcastScoConnectionState() local
406 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, state); in onBroadcastScoConnectionState()
407 newIntent.putExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, in onBroadcastScoConnectionState()
409 sendStickyBroadcastToAll(newIntent); in onBroadcastScoConnectionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java192 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary() local
194 if (newIntent == null) { in startWorkChallengeIfNecessary()
209 newIntent.putExtra( in startWorkChallengeIfNecessary()
213 ActivityManager.getService().startConfirmDeviceCredentialIntent(newIntent, in startWorkChallengeIfNecessary()
/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.java963 public void setIntent(Intent newIntent) { in setIntent() argument
964 mIntent = newIntent; in setIntent()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java277 private BroadcastRecord(BroadcastRecord from, Intent newIntent) { in BroadcastRecord() argument
278 intent = newIntent; in BroadcastRecord()
279 targetComp = newIntent.getComponent(); in BroadcastRecord()
/frameworks/base/core/java/android/content/
DClipData.java804 static public ClipData newIntent(CharSequence label, Intent intent) { in newIntent() method in ClipData
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2662 Intent newIntent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, in completeConnection() local
2664 newIntent.setData(Uri.parse(mProvisioningUrl)); in completeConnection()
2665 newIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | in completeConnection()
2668 mPhone.getContext().startActivity(newIntent); in completeConnection()
/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.txt9275 method public static android.content.ClipData newIntent(CharSequence, android.content.Intent);