Home
last modified time | relevance | path

Searched refs:chooserIntent (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetAdditionalContentProvider.java64 Intent chooserIntent = queryArgs == null in query() local
67 if (chooserIntent == null) { in query()
71 chooserIntent.getParcelableArrayListExtra(Keys.AdditionalContent, Uri.class); in query()
79 int startPos = chooserIntent.getIntExtra(Keys.CursorStartPos, -1); in query()
112 Intent chooserIntent = extras.getParcelable(Intent.EXTRA_INTENT, Intent.class); in call() local
113 if (chooserIntent == null) { in call()
117 if (!Intent.ACTION_CHOOSER.equals(chooserIntent.getAction())) { in call()
121 if (chooserIntent.hasExtra(Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS)) { in call()
122 return updateChooseAction(context, chooserIntent); in call()
124 if (chooserIntent.hasExtra(Intent.EXTRA_CHOOSER_RESULT_INTENT_SENDER)) { in call()
[all …]
DSharesheetChooserResultComponentActivity.java42 Intent chooserIntent = wrapWithChooserIntent(sendIntent); in createChooserIntent() local
43 chooserIntent.putExtra(EXTRA_INITIAL_INTENTS, new Intent[]{ in createChooserIntent()
46 return chooserIntent; in createChooserIntent()
DSharesheetChooserResultActivity.java229 Intent chooserIntent = Intent.createChooser( in wrapWithChooserIntent() local
234 chooserIntent.putExtra(Intent.EXTRA_AUTO_LAUNCH_SINGLE_CHOICE, false); in wrapWithChooserIntent()
235 chooserIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in wrapWithChooserIntent()
236 chooserIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in wrapWithChooserIntent()
237 return chooserIntent; in wrapWithChooserIntent()
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/test-app/src/android/security/cts/BUG_261036568_test/
DDeviceTest.java100 Intent chooserIntent = Intent.createChooser(target, null); in openAndCloseSharesheet() local
101 chooserIntent.putExtra(Intent.EXTRA_AUTO_LAUNCH_SINGLE_CHOICE, false); in openAndCloseSharesheet()
102 chooserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in openAndCloseSharesheet()
104 context.startActivity(chooserIntent); in openAndCloseSharesheet()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/
DDeviceTest.java107 Intent chooserIntent = in testCVE_2023_20917() local
109 chooserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testCVE_2023_20917()
110 context.startActivity(chooserIntent); in testCVE_2023_20917()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileSharingTest.java82 Intent chooserIntent = Intent.createChooser(intent, /* title */ null); in startSwitchToOtherProfileIntent_chooser() local
83 Intent switchToOtherProfileIntent = new Intent(chooserIntent); in startSwitchToOtherProfileIntent_chooser()