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/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.java172 final Intent mIntent; field in ClipData.Item
180 mIntent = null; in Item()
189 mIntent = intent; in Item()
198 mIntent = null; in Item()
208 mIntent = intent; in Item()
223 return mIntent; in getIntent()
309 if (mIntent != null) { in coerceToText()
310 return mIntent.toUri(Intent.URI_INTENT_SCHEME); in coerceToText()
489 if (item.mIntent != null) { in writeToParcel()
491 item.mIntent.writeToParcel(dest, flags); in writeToParcel()
DIntentSender.java107 private Intent mIntent; field in IntentSender.FinishedDispatcher
118 mIntent = intent; in performReceive()
129 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
DIntent.java5445 private final Intent mIntent; field in Intent.FilterComparison
5449 mIntent = intent; in FilterComparison()
5459 return mIntent; in getIntent()
5465 Intent other = ((FilterComparison)obj).mIntent; in equals()
5466 return mIntent.filterEquals(other); in equals()
/frameworks/base/services/java/com/android/server/location/
DGeocoderProxy.java43 private final Intent mIntent; field in GeocoderProxy
49 mIntent = new Intent(serviceName); in GeocoderProxy()
50 mContext.bindService(mIntent, mServiceConnection, in GeocoderProxy()
63 mContext.bindService(mIntent, mServiceConnection, in reconnect()
DLocationProviderProxy.java47 private final Intent mIntent; field in LocationProviderProxy
65 mIntent = new Intent(serviceName); in LocationProviderProxy()
67 mContext.bindService(mIntent, mServiceConnection, in LocationProviderProxy()
80 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.java267 private Intent mIntent; field in ActivityChooserModel
382 if (mIntent == intent) { in setIntent()
385 mIntent = intent; in setIntent()
397 return mIntent; in getIntent()
471 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
624 mActivitySorter.sort(mIntent, mActivites, in sortActivities()
725 if (mIntent != null) { in loadActivitiesLocked()
727 mContext.getPackageManager().queryIntentActivities(mIntent, 0); in loadActivitiesLocked()
DRemoteViewsAdapter.java65 private final Intent mIntent; field in RemoteViewsAdapter
716 mIntent = intent; in RemoteViewsAdapter()
719 if (mIntent == null) { in RemoteViewsAdapter()
877 return mIntent; in getRemoteViewsServiceIntent()
1113 mServiceConnection.unbind(mContext, mAppWidgetId, mIntent); in handleMessage()
1132 mServiceConnection.bind(mContext, mAppWidgetId, mIntent); in requestBindService()
DTabHost.java669 private final Intent mIntent; field in TabHost.IntentContentStrategy
675 mIntent = intent; in IntentContentStrategy()
683 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()
DActivity.java661 /*package*/ Intent mIntent; field in Activity
739 return mIntent; in getIntent()
753 mIntent = newIntent; in setIntent()
4443 mIntent = intent; in attach()
/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()
955 if (mIntent != null) { in performClick()
957 context.startActivity(mIntent); in performClick()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java228 private final Intent mIntent; field in ResolverActivity.ResolveListAdapter
235 mIntent = new Intent(intent); in ResolveListAdapter()
236 mIntent.setComponent(null); in ResolveListAdapter()
390 ? dri.origIntent : mIntent); in intentForPosition()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java928 Intent mIntent; field in AccessibilityManagerService.Service
948 mIntent = new Intent().setComponent(mComponentName); in Service()
949 mIntent.putExtra(Intent.EXTRA_CLIENT_LABEL, in Service()
951 mIntent.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity( in Service()
981 return mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bind()
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java1368 final PendingIntent mIntent; field in LocationManagerService.ProximityAlert
1378 mIntent = intent; in ProximityAlert()
1390 return mIntent; in getIntent()
1406 + " uid " + mUid + mIntent + "}"; in toString()
1413 pw.println(prefix + "mIntent=" + mIntent); in dump()
1951 removeProximityAlertLocked(removedAlerts.get(i).mIntent);
/frameworks/base/docs/html/resources/tutorials/notepad/
Dnotepad-ex2.jd497 Intent mIntent = new Intent();
498 mIntent.putExtras(bundle);
499 setResult(RESULT_OK, mIntent);
557 Intent mIntent = new Intent();
558 mIntent.putExtras(bundle);
559 setResult(RESULT_OK, mIntent);
/frameworks/base/docs/html/guide/tutorials/notepad/
Dnotepad-ex2.jd493 Intent mIntent = new Intent();
494 mIntent.putExtras(bundle);
495 setResult(RESULT_OK, mIntent);
553 Intent mIntent = new Intent();
554 mIntent.putExtras(bundle);
555 setResult(RESULT_OK, mIntent);

12