/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityTest.java | 26 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 …]
|
D | LifecycleTest.java | 31 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 …]
|
D | LaunchTest.java | 26 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()
|
D | ActivityTestsBase.java | 32 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/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 102 private final Intent mIntent; field in Intents.PhotoViewIntentBuilder 140 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder() 145 mIntent = new Intent(); in PhotoViewIntentBuilder() 146 mIntent.setClassName(context, activityName); in PhotoViewIntentBuilder() 262 mIntent.setAction(Intent.ACTION_VIEW); in build() 264 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); in build() 267 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); in build() 271 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); in build() 280 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); in build() 281 mIntent.setData(Uri.parse(mPhotosUri)); in build() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 261 private Intent mIntent; field in ShareCompat.IntentBuilder 281 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder() 282 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder() 283 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder() 284 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in IntentBuilder() 312 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); in getIntent() 317 mIntent.setAction(Intent.ACTION_SEND); in getIntent() 319 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent() 321 mIntent.removeExtra(Intent.EXTRA_STREAM); in getIntent() 329 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | LaunchPerformanceBase.java | 34 protected Intent mIntent; field in LaunchPerformanceBase 38 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase() 39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase() 49 startActivitySync(mIntent); in LaunchApp()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 189 final Intent mIntent; field in ClipData.Item 198 mIntent = null; in Item() 211 mIntent = null; in Item() 221 mIntent = intent; in Item() 231 mIntent = null; in Item() 242 mIntent = intent; in Item() 259 mIntent = intent; in Item() 281 return mIntent; in getIntent() 553 if (mIntent != null) { in coerceToHtmlOrStyledText() 555 return uriToStyledText(mIntent.toUri(Intent.URI_INTENT_SCHEME)); in coerceToHtmlOrStyledText() [all …]
|
D | IntentSender.java | 108 private Intent mIntent; field in IntentSender.FinishedDispatcher 119 mIntent = intent; in performReceive() 130 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 96 protected Intent mIntent; field in PhotoViewFragment 194 mIntent = bundle.getParcelable(ARG_INTENT); in onCreate() 195 mDisplayThumbsFullScreen = mIntent.getBooleanExtra( in onCreate() 205 mIntent = new Intent().putExtras(state); in onCreate() 209 if (mIntent != null) { in onCreate() 210 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI); in onCreate() 211 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI); in onCreate() 212 mWatchNetworkState = mIntent.getBooleanExtra(Intents.EXTRA_WATCH_NETWORK, false); in onCreate() 226 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1)); in initializeView() 315 if (mIntent != null) { in onSaveInstanceState() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 39 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()
|
D | MenuItemImpl.java | 51 private Intent mIntent; field in MenuItemImpl 161 if (mIntent != null) { in invoke() 163 mMenu.getContext().startActivity(mIntent); in invoke() 211 return mIntent; in getIntent() 215 mIntent = intent; in setIntent()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuItem.java | 43 private Intent mIntent; field in ActionMenuItem 86 return mIntent; in getIntent() 175 mIntent = intent; in setIntent() 220 if (mIntent != null) { in invoke() 221 mContext.startActivity(mIntent); in invoke()
|
D | MenuItemImpl.java | 54 private Intent mIntent; field in MenuItemImpl 161 if (mIntent != null) { in invoke() 163 mMenu.getContext().startActivity(mIntent); in invoke() 217 return mIntent; in getIntent() 222 mIntent = intent; in setIntent()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
D | TransportMediatorJellybeanMR2.java | 40 final Intent mIntent; field in TransportMediatorJellybeanMR2 92 mIntent = new Intent(mReceiverAction); in TransportMediatorJellybeanMR2() 93 mIntent.setPackage(context.getPackageName()); in TransportMediatorJellybeanMR2() 112 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, in windowAttached()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 258 private Intent mIntent; field in ActivityChooserModel 371 if (mIntent == intent) { in setIntent() 374 mIntent = intent; in setIntent() 387 return mIntent; in getIntent() 462 if (mIntent == null) { in chooseActivity() 474 Intent choiceIntent = new Intent(mIntent); in chooseActivity() 675 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded() 677 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded() 691 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded() 695 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 266 private Intent mIntent; field in ActivityChooserModel 380 if (mIntent == intent) { in setIntent() 383 mIntent = intent; in setIntent() 396 return mIntent; in getIntent() 471 if (mIntent == null) { in chooseActivity() 483 Intent choiceIntent = new Intent(mIntent); in chooseActivity() 690 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded() 692 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded() 706 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded() 710 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
|
D | RemoteViewsAdapter.java | 73 private final Intent mIntent; field in RemoteViewsAdapter 818 mIntent = intent; in RemoteViewsAdapter() 823 if (mIntent == null) { in RemoteViewsAdapter() 849 RemoteViewsCacheKey key = new RemoteViewsCacheKey(new Intent.FilterComparison(mIntent), in RemoteViewsAdapter() 892 new Intent.FilterComparison(mIntent), mAppWidgetId); in saveRemoteViewsCache() 1073 return mIntent; in getRemoteViewsServiceIntent() 1367 mServiceConnection.unbind(mContext, mAppWidgetId, mIntent); in handleMessage() 1386 mServiceConnection.bind(mContext, mAppWidgetId, mIntent); in requestBindService()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeofenceState.java | 41 public final PendingIntent mIntent; field in GeofenceState 56 mIntent = intent; in GeofenceState()
|
D | GeofenceManager.java | 132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence() 152 if (state.mIntent.equals(intent)) { in removeFence() 283 enterIntents.add(state.mIntent); in updateFences() 286 exitIntents.add(state.mIntent); in updateFences()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 58 Intent mIntent; field in LauncherActivity 121 Intent intent = new Intent(mIntent); in intentForPosition() 352 mIntent = new Intent(getTargetIntent()); in onCreate() 353 mIntent.setComponent(null); in onCreate() 459 List<ResolveInfo> list = onQueryPackageManager(mIntent); in makeListItems()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerService.java | 39 private Intent mIntent; field in PlayerService 47 mIntent = onCreateServiceIntent(); in onCreate()
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 81 dispatchStartListening(args.mIntent, args.mListener); 155 public final Intent mIntent; field in RecognitionService.StartListeningArgs 160 this.mIntent = intent; in StartListeningArgs()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintSpooler.java | 78 private final Intent mIntent; field in RemotePrintSpooler 100 mIntent = new Intent(); in RemotePrintSpooler() 101 mIntent.setComponent(new ComponentName("com.android.printspooler", in RemotePrintSpooler() 365 mContext.bindServiceAsUser(mIntent, mServiceConnection, in bindLocked()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 535 private PendingIntent mIntent; field in NetworkMonitor.LingeringState 541 mIntent = mBroadcastReceiver.getPendingIntent(); in enter() 545 mLingerDelayMs / 6, mIntent); in enter() 575 mAlarmManager.cancel(mIntent); in exit()
|