Home
last modified time | relevance | path

Searched refs:shareIntent (Results 1 – 8 of 8) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetPayloadToggleActionActivity.java116 Intent shareIntent = Intent.createChooser(sendIntent, null); in share() local
119 shareIntent.putExtra(Intent.EXTRA_AUTO_LAUNCH_SINGLE_CHOICE, false); in share()
120 shareIntent.putExtra(Intent.EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI, Uris.ExtraContentUri); in share()
121 shareIntent.putExtra(Intent.EXTRA_CHOOSER_FOCUSED_ITEM_POSITION, 0); in share()
124 shareIntent.setClipData(clipData); in share()
125 shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in share()
137 shareIntent.putExtra(Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS, customActions); in share()
139 shareIntent.putExtra(Keys.AdditionalContent, mUris); in share()
140 shareIntent.putExtra(Keys.CursorStartPos, focusedIdx); in share()
141 startActivity(shareIntent); in share()
DSharesheetPayloadToggleActivity.java244 Intent shareIntent = Intent.createChooser(sendIntent, null); in share() local
247 shareIntent.putExtra(Intent.EXTRA_AUTO_LAUNCH_SINGLE_CHOICE, false); in share()
248 shareIntent.putExtra(Intent.EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI, Uris.ExtraContentUri); in share()
249 shareIntent.putExtra(Intent.EXTRA_CHOOSER_FOCUSED_ITEM_POSITION, 0); in share()
250 shareIntent.putExtra( in share()
255 shareIntent.setClipData(clipData); in share()
256 shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in share()
258 shareIntent.putExtra(Keys.AdditionalContent, mUris); in share()
259 shareIntent.putExtra(Keys.CursorStartPos, focusedIdx); in share()
260 startActivity(shareIntent); in share()
DSharesheetAlbumActivity.java104 Intent shareIntent = Intent.createChooser(sendIntent, null); in shareText() local
106 shareIntent.putExtra(Intent.EXTRA_CHOOSER_CONTENT_TYPE_HINT, in shareText()
109 startActivity(shareIntent); in shareText()
DSharesheetChooserResultActivity.java221 protected Intent wrapWithChooserIntent(Intent shareIntent) { in wrapWithChooserIntent() argument
230 /* target= */ shareIntent, in wrapWithChooserIntent()
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/
DCtsSharesheetDeviceTest.java214 Intent shareIntent = createShareIntent(false, 0, 0); in init() local
216 mPackageManager.resolveActivity(shareIntent, PackageManager.MATCH_DEFAULT_ONLY); in init()
364 Intent shareIntent = createShareIntent(false, 0, 0); in testRefinementIntentSender() local
365 shareIntent.putExtra(Intent.EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER, in testRefinementIntentSender()
369 shareIntent.putExtra(Intent.EXTRA_ALTERNATE_INTENTS, new Intent[]{alternateIntent}); in testRefinementIntentSender()
370 launchSharesheet(shareIntent); in testRefinementIntentSender()
515 Intent shareIntent = createShareIntent(false, 0, 0); in testShortcutSelection() local
516 launchSharesheet(shareIntent); in testShortcutSelection()
593 Intent shareIntent = createShareIntent(false, 0, 0); in testShortcutSelectionRefinedToAlternate() local
594 shareIntent.putExtra(Intent.EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER, in testShortcutSelectionRefinedToAlternate()
[all …]
DCtsNfcResolverDeviceTest.java149 Intent shareIntent = in init() local
151 ResolveInfo shareRi = pm.resolveActivity(shareIntent, PackageManager.MATCH_DEFAULT_ONLY); in init()
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/content-provider/src/android/security/cts/BUG_261036568_provider/
DImageProvider.java60 Intent shareIntent = Intent.createChooser(new Intent(), null); in getChooserUid() local
61 ResolveInfo chooser = requireNonNull(packageManager.resolveActivity(shareIntent, in getChooserUid()
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/test-app/src/android/security/cts/BUG_261036568_test/
DDeviceTest.java176 Intent shareIntent = Intent.createChooser(new Intent(), null); in resolveChooserPackage() local
177 ResolveInfo chooser = pm.resolveActivity(shareIntent, PackageManager.MATCH_DEFAULT_ONLY); in resolveChooserPackage()