Home
last modified time | relevance | path

Searched refs:sendIntent (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java72 Intent sendIntent = createSendImageIntent(); in customTitle() local
78 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitle()
85 Intent sendIntent = createSendImageIntent(); in emptyTitle() local
91 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle()
99 Intent sendIntent = createSendImageIntent(); in twoOptionsAndUserSelectsOne() local
107 .launchActivity(Intent.createChooser(sendIntent, null)); in twoOptionsAndUserSelectsOne()
128 Intent sendIntent = createSendImageIntent(); in updateChooserCountsAndModelAfterUserSelection() local
136 .launchActivity(Intent.createChooser(sendIntent, null)); in updateChooserCountsAndModelAfterUserSelection()
161 Intent sendIntent = createSendImageIntent(); in noResultsFromPackageManager() local
163 .launchActivity(Intent.createChooser(sendIntent, null)); in noResultsFromPackageManager()
[all …]
DResolverActivityTest.java75 Intent sendIntent = createSendImageIntent(); in twoOptionsAndUserSelectsOne() local
82 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne()
104 Intent sendIntent = createSendImageIntent(); in hasLastChosenActivity() local
114 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity()
134 Intent sendIntent = createSendImageIntent(); in hasOtherProfileOneOption() local
143 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption()
171 Intent sendIntent = createSendImageIntent(); in hasOtherProfileTwoOptionsAndUserSelectsOne() local
180 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne()
214 Intent sendIntent = createSendImageIntent(); in hasLastChosenActivityAndOtherProfile() local
225 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile()
[all …]
DResolverListControllerTest.java92 Intent sendIntent = createSendImageIntent(annotation); in reportChooserSelection() local
116 mController = new ResolverListController(mMockContext, mMockPackageManager, sendIntent, in reportChooserSelection()
138 Intent sendIntent = new Intent(); in createSendImageIntent() local
139 sendIntent.setAction(Intent.ACTION_SEND); in createSendImageIntent()
140 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
141 sendIntent.setType("image/jpeg"); in createSendImageIntent()
144 sendIntent.putStringArrayListExtra(Intent.EXTRA_CONTENT_ANNOTATIONS, annotations); in createSendImageIntent()
145 return sendIntent; in createSendImageIntent()
/frameworks/base/core/java/android/content/
DIntentSender.java153 public void sendIntent(Context context, int code, Intent intent, in sendIntent() method in IntentSender
155 sendIntent(context, code, intent, onFinished, handler, null); in sendIntent()
184 public void sendIntent(Context context, int code, Intent intent, in sendIntent() method in IntentSender
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java95 sendIntent("click", mOnClick, mOnClickUri); in handleClick()
105 sendIntent("long-click", mOnLongClick, mOnLongClickUri); in handleLongClick()
108 private void sendIntent(String type, PendingIntent pi, String uri) { in sendIntent() method in IntentTile
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java386 sendIntent(pendingIntent, intent); in sendIntentEnter()
396 sendIntent(pendingIntent, intent); in sendIntentExit()
399 private void sendIntent(PendingIntent pendingIntent, Intent intent) { in sendIntent() method in GeofenceManager
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java185 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() method in CertPinInstallReceiverTest
200 sendIntent(contentPath, version, required, sig); in runTest()
/frameworks/support/compat/java/android/support/v4/content/pm/
DShortcutManagerCompat.java112 callback.sendIntent(context, 0, null, null, null); in requestPinShortcut()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java866 private static Intent buildWarningIntent(Context context, Intent sendIntent) { in buildWarningIntent() argument
868 intent.putExtra(Intent.EXTRA_INTENT, sendIntent); in buildWarningIntent()
961 final Intent sendIntent = buildSendIntent(mContext, info); in shareBugreport() local
962 if (sendIntent == null) { in shareBugreport()
973 notifIntent = buildWarningIntent(mContext, sendIntent); in shareBugreport()
977 notifIntent = sendIntent; in shareBugreport()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java1006 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onUserActionRequired()
1028 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onPackageDeleted()
1058 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onUserActionRequired()
1098 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onPackageInstalled()
DShortcutService.java3324 intentSender.sendIntent(mContext, /* code= */ 0, extras, in injectSendIntentSender()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java277 listener.sendIntent(mContext, 0, null, null, null); in showSaveUi()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java344 mChosenComponentSender.sendIntent(this, Activity.RESULT_OK, fillIn, null, null); in onActivityStarted()
427 mRefinementIntentSender.sendIntent(this, 0, fillIn, null, null); in onTargetSelected()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4614 sendIntent(nri.mPendingIntent, intent); in sendPendingIntentForRequest()
4619 private void sendIntent(PendingIntent pendingIntent, Intent intent) { in sendIntent() method in ConnectivityService
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7939 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
7940 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
/frameworks/base/api/
Dcurrent.txt9676 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
9677 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
Dsystem-current.txt10256 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
10257 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…