Home
last modified time | relevance | path

Searched refs:mIntent (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testPendingResult()
27 mIntent.putExtra("mode", SubActivityScreen.PENDING_RESULT_MODE); in testPendingResult()
32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testNoResult()
33 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testNoResult()
38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testResult()
39 mIntent.putExtra("mode", SubActivityScreen.RESULT_MODE); in testResult()
44 mIntent.putExtra("component", in testFinishSub()
46 mIntent.putExtra("mode", SubActivityScreen.FINISH_SUB_MODE); in testFinishSub()
51 mIntent.putExtra("component", in testRemoteNoResult()
53 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testRemoteNoResult()
[all …]
DLifecycleTest.java31 mTopIntent = mIntent; in setUp()
39 mIntent = mTopIntent; in testBasic()
46 mIntent = mTabIntent; in testTabBasic()
54 mIntent = mTopIntent; in testScreen()
63 mIntent = mTabIntent; in testTabScreen()
70 mIntent = mTopIntent; in testDialog()
77 mIntent = mTabIntent; in testTabDialog()
83 mIntent = mTopIntent; in testFinishCreate()
90 mIntent = mTabIntent; in testTabFinishCreate()
96 mIntent = mTopIntent; in testFinishStart()
[all …]
DLaunchTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
70 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true); in testClearTopWhileResumed()
DActivityTestsBase.java32 protected Intent mIntent; field in ActivityTestsBase
46 mIntent = new Intent(mContext, LaunchpadActivity.class); in setUp()
92 return mIntent; in editIntent()
133 mIntent.setAction(action); in runLaunchpad()
136 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runLaunchpad()
137 mContext.startActivity(mIntent); in runLaunchpad()
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java260 private Intent mIntent; field in ShareCompat.IntentBuilder
280 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
281 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder()
282 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder()
283 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in IntentBuilder()
311 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); in getIntent()
316 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
318 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
320 mIntent.removeExtra(Intent.EXTRA_STREAM); in getIntent()
328 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
[all …]
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java41 protected Intent mIntent; field in LaunchPerformanceBase
45 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase()
46 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
56 startActivitySync(mIntent); in LaunchApp()
/frameworks/base/core/java/android/content/
DClipData.java187 final Intent mIntent; field in ClipData.Item
196 mIntent = null; in Item()
209 mIntent = null; in Item()
219 mIntent = intent; in Item()
229 mIntent = null; in Item()
240 mIntent = intent; in Item()
257 mIntent = intent; in Item()
279 return mIntent; in getIntent()
551 if (mIntent != null) { in coerceToHtmlOrStyledText()
553 return uriToStyledText(mIntent.toUri(Intent.URI_INTENT_SCHEME)); in coerceToHtmlOrStyledText()
[all …]
DIntentSender.java107 private Intent mIntent; field in IntentSender.FinishedDispatcher
118 mIntent = intent; in performReceive()
129 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
DIntent.java6014 private final Intent mIntent; field in Intent.FilterComparison
6018 mIntent = intent; in FilterComparison()
6028 return mIntent; in getIntent()
6034 Intent other = ((FilterComparison)obj).mIntent; in equals()
6035 return mIntent.filterEquals(other); in equals()
/frameworks/base/services/java/com/android/server/location/
DGeocoderProxy.java46 private final Intent mIntent; field in GeocoderProxy
52 mIntent = new Intent(SERVICE_ACTION); in GeocoderProxy()
63 mIntent.setPackage(packageName); in reconnect()
64 mContext.bindService(mIntent, mServiceConnection, in reconnect()
DLocationProviderProxy.java50 private final Intent mIntent; field in LocationProviderProxy
68 mIntent = new Intent(SERVICE_ACTION); in LocationProviderProxy()
80 mIntent.setPackage(packageName); in reconnect()
81 mContext.bindService(mIntent, mServiceConnection, in reconnect()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java39 private Intent mIntent; field in ActionMenuItem
82 return mIntent; in getIntent()
171 mIntent = intent; in setIntent()
216 if (mIntent != null) { in invoke()
217 mContext.startActivity(mIntent); in invoke()
DMenuItemImpl.java51 private Intent mIntent; field in MenuItemImpl
158 if (mIntent != null) { in invoke()
160 mMenu.getContext().startActivity(mIntent); in invoke()
208 return mIntent; in getIntent()
212 mIntent = intent; in setIntent()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java264 private Intent mIntent; field in ActivityChooserModel
378 if (mIntent == intent) { in setIntent()
381 mIntent = intent; in setIntent()
394 return mIntent; in getIntent()
476 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
683 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded()
685 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded()
699 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded()
703 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
DRemoteViewsAdapter.java65 private final Intent mIntent; field in RemoteViewsAdapter
721 mIntent = intent; in RemoteViewsAdapter()
724 if (mIntent == null) { in RemoteViewsAdapter()
884 return mIntent; in getRemoteViewsServiceIntent()
1145 mServiceConnection.unbind(mContext, mAppWidgetId, mIntent); in handleMessage()
1164 mServiceConnection.bind(mContext, mAppWidgetId, mIntent); in requestBindService()
DTabHost.java681 private final Intent mIntent; field in TabHost.IntentContentStrategy
687 mIntent = intent; in IntentContentStrategy()
695 mTag, mIntent); in getContentView()
/frameworks/base/core/java/android/app/
DLauncherActivity.java58 Intent mIntent; field in LauncherActivity
121 Intent intent = new Intent(mIntent); in intentForPosition()
350 mIntent = new Intent(getTargetIntent()); in onCreate()
351 mIntent.setComponent(null); in onCreate()
448 List<ResolveInfo> list = onQueryPackageManager(mIntent); in makeListItems()
DPendingIntent.java140 private Intent mIntent; field in PendingIntent.FinishedDispatcher
151 mIntent = intent; in performReceive()
162 mWho.onSendFinished(mPendingIntent, mIntent, mResultCode, in run()
/frameworks/base/core/java/android/speech/
DRecognitionService.java79 dispatchStartListening(args.mIntent, args.mListener);
142 public final Intent mIntent; field in RecognitionService.StartListeningArgs
147 this.mIntent = intent; in StartListeningArgs()
/frameworks/base/core/java/android/preference/
DPreference.java101 private Intent mIntent; field in Preference
327 mIntent = intent; in setIntent()
336 return mIntent; in getIntent()
958 if (mIntent != null) { in performClick()
960 context.startActivity(mIntent); in performClick()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java397 private final Intent mIntent; field in ResolverActivity.ResolveListAdapter
406 mIntent = new Intent(intent); in ResolveListAdapter()
407 mIntent.setComponent(null); in ResolveListAdapter()
435 mIntent, PackageManager.MATCH_DEFAULT_ONLY in rebuildList()
603 ? dri.origIntent : mIntent); in intentForPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java623 private PendingIntent mIntent;
629 mIntent = intent;
648 if (mIntent != null) {
655 mIntent.send(mContext, 0, overlay);
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java1162 Intent mIntent; field in AccessibilityManagerService.Service
1210 mIntent = new Intent().setComponent(mComponentName); in Service()
1211 mIntent.putExtra(Intent.EXTRA_CLIENT_LABEL, in Service()
1213 mIntent.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity( in Service()
1260 return mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bind()
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java1447 final PendingIntent mIntent; field in LocationManagerService.ProximityAlert
1457 mIntent = intent; in ProximityAlert()
1469 return mIntent; in getIntent()
1485 + " uid " + mUid + mIntent + "}"; in toString()
1492 pw.println(prefix + "mIntent=" + mIntent); in dump()
2049 removeProximityAlertLocked(removedAlerts.get(i).mIntent);
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex2.jd496 Intent mIntent = new Intent();
497 mIntent.putExtras(bundle);
498 setResult(RESULT_OK, mIntent);
556 Intent mIntent = new Intent();
557 mIntent.putExtras(bundle);
558 setResult(RESULT_OK, mIntent);

12