Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java155 Intent sendIntent = createSendTextIntent(); in customTitleIgnoredForSendIntents() local
161 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents()
168 Intent sendIntent = createSendTextIntent(); in emptyTitle() local
174 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle()
182 Intent sendIntent = createSendTextIntentWithPreview(null, null); in emptyPreviewTitleAndThumbnail() local
188 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail()
197 Intent sendIntent = createSendTextIntentWithPreview(previewTitle, null); in visiblePreviewTitleWithoutThumbnail() local
203 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail()
213 Intent sendIntent = createSendTextIntentWithPreview(previewTitle, in visiblePreviewTitleWithInvalidThumbnail() local
220 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail()
[all …]
DResolverActivityTest.java77 Intent sendIntent = createSendImageIntent(); in twoOptionsAndUserSelectsOne() local
84 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne()
106 Intent sendIntent = createSendImageIntent(); in setMaxHeight() local
114 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight()
149 Intent sendIntent = createSendImageIntent(); in setShowAtTopToTrue() local
157 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue()
177 Intent sendIntent = createSendImageIntent(); in hasLastChosenActivity() local
187 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity()
207 Intent sendIntent = createSendImageIntent(); in hasOtherProfileOneOption() local
216 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption()
[all …]
DResolverListControllerTest.java89 Intent sendIntent = createSendImageIntent(annotation); in reportChooserSelection() local
113 mController = new ResolverListController(mMockContext, mMockPackageManager, sendIntent, in reportChooserSelection()
135 Intent sendIntent = new Intent(); in createSendImageIntent() local
136 sendIntent.setAction(Intent.ACTION_SEND); in createSendImageIntent()
137 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
138 sendIntent.setType("image/jpeg"); in createSendImageIntent()
141 sendIntent.putStringArrayListExtra(Intent.EXTRA_CONTENT_ANNOTATIONS, annotations); in createSendImageIntent()
142 return sendIntent; in createSendImageIntent()
DIntentForwarderActivityTest.java220 Intent sendIntent = new Intent(Intent.ACTION_SEND); in forwardToManagedProfile_canForward_chooserIntent() local
221 sendIntent.setComponent(new ComponentName("xx", "yyy")); in forwardToManagedProfile_canForward_chooserIntent()
222 sendIntent.setType(TYPE_PLAIN_TEXT); in forwardToManagedProfile_canForward_chooserIntent()
223 intent.putExtra(Intent.EXTRA_INTENT, sendIntent); in forwardToManagedProfile_canForward_chooserIntent()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java66 final Intent sendIntent = new Intent(); in onCreate() local
68 sendIntent.setClipData(clip); in onCreate()
69 sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
70 sendIntent.setType(clip.getDescription().getMimeType(0)); in onCreate()
71 sendIntent.putExtra(Intent.EXTRA_STREAM, mDumpUri); in onCreate()
75 sendIntent.setAction(ActivityManager.ACTION_REPORT_HEAP_LIMIT); in onCreate()
76 sendIntent.setPackage(directLaunchPackage); in onCreate()
78 startActivity(sendIntent); in onCreate()
113 sendIntent.setAction(Intent.ACTION_SEND); in onCreate()
114 sendIntent.setPackage(null); in onCreate()
[all …]
DBugreportProgressService.java875 private static Intent buildWarningIntent(Context context, Intent sendIntent) { in buildWarningIntent() argument
877 intent.putExtra(Intent.EXTRA_INTENT, sendIntent); in buildWarningIntent()
970 final Intent sendIntent = buildSendIntent(mContext, info); in shareBugreport() local
971 if (sendIntent == null) { in shareBugreport()
982 notifIntent = buildWarningIntent(mContext, sendIntent); in shareBugreport()
986 notifIntent = sendIntent; in shareBugreport()
/frameworks/base/core/java/android/content/
DIntentSender.java155 public void sendIntent(Context context, int code, Intent intent, in sendIntent() method in IntentSender
157 sendIntent(context, code, intent, onFinished, handler, null); in sendIntent()
186 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.java93 sendIntent("click", mOnClick, mOnClickUri); in handleClick()
103 sendIntent("long-click", mOnLongClick, mOnLongClickUri); in handleLongClick()
106 private void sendIntent(String type, PendingIntent pi, String uri) { in sendIntent() method in IntentTile
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java388 sendIntent(pendingIntent, intent); in sendIntentEnter()
398 sendIntent(pendingIntent, intent); in sendIntentExit()
401 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/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java968 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onUserActionRequired()
993 mTarget.sendIntent(mContext, 0, fillIn, null, null); in onPackageDeleted()
1007 target.sendIntent(context, 0, fillIn, null, null); in sendOnUserActionRequired()
1047 target.sendIntent(context, 0, fillIn, null, null); in sendOnPackageInstalled()
DPackageInstallerSession.java916 mStatusReceiver.sendIntent(mContext, 0, intent, null, null); in statusUpdate()
922 mStatusReceiver.sendIntent(mContext, 0, intent, null, null); in statusUpdate()
930 mStatusReceiver.sendIntent(mContext, 0, intent, null, null); in statusUpdate()
DShortcutService.java3564 intentSender.sendIntent(mContext, /* code= */ 0, extras, in injectSendIntentSender()
DPackageManagerService.java4710 pi.sendIntent(null, success ? 1 : 0, null, null, null);
13137 target.sendIntent(context, 0, fillIn, null, null);
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java318 listener.sendIntent(mContext, 0, null, null, null); in showSaveUi()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java717 statusReceiver.sendIntent(mContext, 0, fillIn, null, null); in sendFailure()
730 statusReceiver.sendIntent(mContext, 0, fillIn, null, null); in sendSuccess()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java389 intentSender.sendIntent(mContext, CODE_DATA_BROADCAST, intent, null, null); in sendDataBroadcast()
402 intentSender.sendIntent(mContext, CODE_ACTIVE_CONFIGS_BROADCAST, intent, null, null); in sendActiveConfigsChangedBroadcast()
440 intentSender.sendIntent(mContext, CODE_SUBSCRIBER_BROADCAST, intent, null, null); in sendSubscriberBroadcast()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1382 mChosenComponentSender.sendIntent(this, Activity.RESULT_OK, fillIn, null, null);
1469 mRefinementIntentSender.sendIntent(this, 0, fillIn, null, null);
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6542 sendIntent(nri.mPendingIntent, intent); in sendPendingIntentForRequest()
6547 private void sendIntent(PendingIntent pendingIntent, Intent intent) { in sendIntent() method in ConnectivityService
/frameworks/base/config/
Dboot-image-profile.txt3854 HPLandroid/content/IntentSender;->sendIntent(Landroid/content/Context;ILandroid/content/Intent;Land…
3855 HPLandroid/content/IntentSender;->sendIntent(Landroid/content/Context;ILandroid/content/Intent;Land…
/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/services/
Dart-profile899 PLcom/android/server/ConnectivityService;->sendIntent(Landroid/app/PendingIntent;Landroid/content/I…
/frameworks/base/non-updatable-api/
Dcurrent.txt10613 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
10614 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
/frameworks/base/api/
Dcurrent.txt10613 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…
10614 …method public void sendIntent(android.content.Context, int, android.content.Intent, android.conten…