Home
last modified time | relevance | path

Searched refs:mIntent (Results 1 – 25 of 50) 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.java28 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
34 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
40 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
46 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
65 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
71 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
72 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/opt/photoviewer/src/com/android/ex/photo/
DIntents.java104 private final Intent mIntent; field in Intents.PhotoViewIntentBuilder
146 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder()
151 mIntent = new Intent(); in PhotoViewIntentBuilder()
152 mIntent.setClassName(context, activityName); in PhotoViewIntentBuilder()
283 mIntent.setAction(Intent.ACTION_VIEW); in build()
287 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT in build()
298 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); in build()
302 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); in build()
311 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); in build()
312 mIntent.setData(Uri.parse(mPhotosUri)); in build()
[all …]
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java267 private Intent mIntent; field in ShareCompat.IntentBuilder
287 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
288 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder()
289 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder()
290 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in IntentBuilder()
318 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); in getIntent()
323 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
325 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
327 mIntent.removeExtra(Intent.EXTRA_STREAM); in getIntent()
335 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java149 Intent mIntent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testSimAbsent() local
150 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimAbsent()
152 mIntent.putExtra(PhoneConstants.PHONE_KEY, 0); in testSimAbsent()
154 mContext.sendBroadcast(mIntent); in testSimAbsent()
170 Intent mIntent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testSimUnknown() local
171 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimUnknown()
173 mIntent.putExtra(PhoneConstants.PHONE_KEY, FAKE_SUB_ID); in testSimUnknown()
175 mContext.sendBroadcast(mIntent); in testSimUnknown()
189 Intent mIntent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testSimError() local
190 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimError()
[all …]
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsIntent.java274 private final Intent mIntent = new Intent(Intent.ACTION_VIEW); field in CustomTabsIntent.Builder
298 if (session != null) mIntent.setPackage(session.getComponentName().getPackageName()); in Builder()
302 mIntent.putExtras(bundle); in Builder()
311 mIntent.putExtra(EXTRA_TOOLBAR_COLOR, color); in setToolbarColor()
319 mIntent.putExtra(EXTRA_ENABLE_URLBAR_HIDING, true); in enableUrlBarHiding()
329 mIntent.putExtra(EXTRA_CLOSE_BUTTON_ICON, icon); in setCloseButtonIcon()
339 mIntent.putExtra(EXTRA_TITLE_VISIBILITY_STATE, in setShowTitle()
363 mIntent.putExtra(EXTRA_DEFAULT_SHARE_MENU_ITEM, true); in addDefaultShareMenuItem()
388 mIntent.putExtra(EXTRA_ACTION_BUTTON_BUNDLE, bundle); in setActionButton()
389 mIntent.putExtra(EXTRA_TINT_ACTION_BUTTON, shouldTint); in setActionButton()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java74 Intent mIntent; field in ActivityStartInterceptor
100 mIntent = intent; in intercept()
128 new Intent[] {mIntent}, new String[] {mResolvedType}, in interceptQuietProfileIfNeeded()
131 mIntent = UnlaunchableAppActivity.createInQuietModeDialogIntent(mUserId, in interceptQuietProfileIfNeeded()
138 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, parent.id); in interceptQuietProfileIfNeeded()
139 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded()
154 mIntent = devicePolicyManager.createPackageSuspendedDialogIntent( in interceptSuspendPackageIfNeed()
162 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, parent.id); in interceptSuspendPackageIfNeed()
164 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, mUserId); in interceptSuspendPackageIfNeed()
166 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendPackageIfNeed()
[all …]
DPreBootBroadcaster.java56 private final Intent mIntent; field in PreBootBroadcaster
68 mIntent = new Intent(Intent.ACTION_PRE_BOOT_COMPLETED); in PreBootBroadcaster()
69 mIntent.addFlags(Intent.FLAG_RECEIVER_BOOT_UPGRADE | Intent.FLAG_DEBUG_TRIAGED_MISSING); in PreBootBroadcaster()
71 mTargets = mService.mContext.getPackageManager().queryBroadcastReceiversAsUser(mIntent, in PreBootBroadcaster()
106 mIntent.setComponent(componentName); in sendNext()
107 mService.broadcastIntentLocked(null, null, mIntent, null, this, 0, null, null, null, in sendNext()
/frameworks/base/core/java/android/content/
DClipData.java191 final Intent mIntent; field in ClipData.Item
198 mIntent = other.mIntent; in Item()
208 mIntent = null; in Item()
221 mIntent = null; in Item()
231 mIntent = intent; in Item()
241 mIntent = null; in Item()
252 mIntent = intent; in Item()
269 mIntent = intent; in Item()
291 return mIntent; in getIntent()
568 if (mIntent != null) { in coerceToHtmlOrStyledText()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileLifecycleManager.java73 private final Intent mIntent; field in TileLifecycleManager
95 mIntent = intent; in TileLifecycleManager()
96 mIntent.putExtra(TileService.EXTRA_SERVICE, service.asBinder()); in TileLifecycleManager()
97 mIntent.putExtra(TileService.EXTRA_TOKEN, mToken); in TileLifecycleManager()
99 if (DEBUG) Log.d(TAG, "Creating " + mIntent + " " + mUser); in TileLifecycleManager()
103 return mIntent.getComponent(); in getComponent()
114 ServiceInfo info = mContext.getPackageManager().getServiceInfo(mIntent.getComponent(), in isActiveTile()
148 if (DEBUG) Log.d(TAG, "Binding service " + mIntent + " " + mUser); in setBindService()
151 mIsBound = mContext.bindServiceAsUser(mIntent, this, in setBindService()
159 if (DEBUG) Log.d(TAG, "Unbinding service " + mIntent + " " + mUser); in setBindService()
[all …]
/frameworks/base/core/java/android/app/assist/
DAssistContent.java18 private Intent mIntent; field in AssistContent
37 mIntent = intent; in setDefaultIntent()
59 mIntent = intent; in setIntent()
67 return mIntent; in getIntent()
153 mIntent = Intent.CREATOR.createFromParcel(in); in AssistContent()
170 if (mIntent != null) { in writeToParcelInternal()
172 mIntent.writeToParcel(dest, flags); in writeToParcelInternal()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java35 protected Intent mIntent; field in LaunchPerformanceBase
39 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase()
40 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
50 startActivitySync(mIntent); in LaunchApp()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java97 protected Intent mIntent; field in PhotoViewFragment
195 mIntent = bundle.getParcelable(ARG_INTENT); in onCreate()
196 mDisplayThumbsFullScreen = mIntent.getBooleanExtra( in onCreate()
206 mIntent = new Intent().putExtras(state); in onCreate()
210 if (mIntent != null) { in onCreate()
211 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI); in onCreate()
212 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI); in onCreate()
213 mContentDescription = mIntent.getStringExtra(Intents.EXTRA_CONTENT_DESCRIPTION); in onCreate()
214 mWatchNetworkState = mIntent.getBooleanExtra(Intents.EXTRA_WATCH_NETWORK, false); in onCreate()
228 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1)); in initializeView()
[all …]
/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()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItem.java47 private Intent mIntent; field in ActionMenuItem
90 return mIntent; in getIntent()
179 mIntent = intent; in setIntent()
224 if (mIntent != null) { in invoke()
225 mContext.startActivity(mIntent); in invoke()
/frameworks/support/recommendation/src/android/support/app/recommendation/
DContentRecommendation.java307 Intent mIntent; field in ContentRecommendation.IntentData
932 mBuilderContentIntentData.mIntent = checkNotNull(intent); in setContentIntentData()
969 mBuilderDismissIntentData.mIntent = intent; in setDismissIntentData()
1106 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT, in getNotificationObject()
1110 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1114 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1123 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT, in getNotificationObject()
1127 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1131 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserModel.java255 private Intent mIntent; field in ActivityChooserModel
368 if (mIntent == intent) { in setIntent()
371 mIntent = intent; in setIntent()
384 return mIntent; in getIntent()
459 if (mIntent == null) { in chooseActivity()
471 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
672 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded()
674 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded()
688 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded()
692 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java267 private Intent mIntent; field in ActivityChooserModel
381 if (mIntent == intent) { in setIntent()
384 mIntent = intent; in setIntent()
397 return mIntent; in getIntent()
472 if (mIntent == null) { in chooseActivity()
484 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
691 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded()
693 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded()
707 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded()
711 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
/frameworks/support/media-compat/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java38 final Intent mIntent; field in TransportMediatorJellybeanMR2
103 mIntent = new Intent(mReceiverAction); in TransportMediatorJellybeanMR2()
104 mIntent.setPackage(context.getPackageName()); in TransportMediatorJellybeanMR2()
123 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, in windowAttached()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedAction.java133 private Intent mIntent; field in GuidedAction.BuilderBase
170 action.mIntent = mIntent; in applyValues()
310 mIntent = intent; in intent()
599 Intent mIntent; field in GuidedAction
690 return mIntent; in getIntent()
698 mIntent = intent; in setIntent()
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteIntArray.java39 private final Intent mIntent = new Intent(); field in RemoteIntArray
44 mIntent.setComponent(new ComponentName(InstrumentationRegistry.getContext(), in RemoteIntArray()
119 InstrumentationRegistry.getContext().bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bindLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DEphemeralResolverConnection.java57 private final Intent mIntent; field in EphemeralResolverConnection
64 mIntent = new Intent(Intent.ACTION_RESOLVE_EPHEMERAL_PACKAGE).setComponent(componentName); in EphemeralResolverConnection()
117 mContext.bindServiceAsUser(mIntent, mServiceConnection, in bindLocked()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java41 public final PendingIntent mIntent; field in GeofenceState
56 mIntent = intent; in GeofenceState()

12