Home
last modified time | relevance | path

Searched refs:startActivityForResult (Results 1 – 25 of 123) sorted by relevance

12345

/cts/tests/PhotoPicker/src/android/photopicker/cts/
DActionPickImagesOnlyTest.java88 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testPhotoPickerIntentDelegation()
99 mActivity.startActivityForResult(intent, REQUEST_CODE); in testMultiSelect_invalidParam()
108 mActivity.startActivityForResult(intent, REQUEST_CODE); in testMultiSelect_invalidNegativeParam()
121 mActivity.startActivityForResult(intent, REQUEST_CODE); in testMultiSelect_returnsNotMoreThanMax()
152 mActivity.startActivityForResult(intent, REQUEST_CODE); in testDoesNotRespectExtraAllowMultiple()
171 () -> mActivity.startActivityForResult(intent, REQUEST_CODE)); in testMimeTypeFilter()
178 mActivity.startActivityForResult(intent, REQUEST_CODE); in testExtraMimeTypeFilter()
192 mActivity.startActivityForResult(intent, REQUEST_CODE); in testExtraPickerLaunchTabOptions()
205 mActivity.startActivityForResult(intent, REQUEST_CODE); in testExtraPickerLaunchTabInvalidOption()
218 mActivity.startActivityForResult(intent, REQUEST_CODE); in testExtraPickerAccentColorValidColor()
[all …]
DActionGetContentOnlyTest.java96 mActivity.startActivityForResult(intent, REQUEST_CODE); in testMimeTypeFilter()
112 mActivity.startActivityForResult(intent, REQUEST_CODE); in testExtraMimeTypeFilter()
135 mActivity.startActivityForResult(intent, REQUEST_CODE); in testBrowse_singleSelect()
161 mActivity.startActivityForResult(intent, REQUEST_CODE); in testBrowse_multiSelect()
179 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testChooserIntent_mediaFilter()
189 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testChooserIntent_nonMediaFilter()
199 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testPickerSupportedFromDocumentsUi()
213 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testPickerLaunchTabWithGetContent()
227 mActivity.startActivityForResult(Intent.createChooser(intent, TAG), REQUEST_CODE); in testPickerAccentColorWithGetContent()
DActionUserSelectImagesForAppTest.java118 () -> mActivity.startActivityForResult(intent, REQUEST_CODE)); in testInvalidMimeTypeFilter()
128 mActivity.startActivityForResult(intent, REQUEST_CODE); in testActivityCancelledWithMissingAppUid()
139 () -> mActivity.startActivityForResult(getUserSelectImagesIntent(), REQUEST_CODE)); in testCannotStartActivityWithoutGrantRuntimePermissions()
222 () -> mActivity.startActivityForResult(intent, REQUEST_CODE), in launchActivityForResult()
/cts/tests/storageaccess/src/android/storageaccess/cts/
DClientActivity.kt43 super.startActivityForResult(intent, requestCode) in startActivityForFutureResult()
47 override fun startActivityForResult(intent: Intent?, requestCode: Int, options: Bundle?) { in startActivityForResult() method in android.storageaccess.cts.ClientActivity
54 super.startActivityForResult(intent, requestCode, options) in startActivityForResult()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerStubActivity.java159 startActivityForResult(intent1, mRequestCodes[0]); in testReclaimResource()
165 startActivityForResult(intent2, mRequestCodes[1]); in testReclaimResource()
194 startActivityForResult(decoders, mRequestCodes[0]); in testVideoCodecReclaim()
203 startActivityForResult(recorder, mRequestCodes[1]); in testVideoCodecReclaim()
235 startActivityForResult(intent1, mRequestCodes[0]); in doTestReclaimResource()
244 startActivityForResult(intent2, mRequestCodes[1]); in doTestReclaimResource()
295 startActivityForResult(intent, mRequestCodes[0]); in doTestCodecImportanceReclaimResource()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFutureResultActivity.kt51 fun startActivityForResult(intent: Intent): CompletableFuture<Int> { in startActivityForResult() method
55 startActivityForResult(intent, requestCode) in startActivityForResult()
/cts/tests/app/src/android/app/cts/
DFragmentReceiveResultTest.java58 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk()
70 startActivityForResult(20, Activity.RESULT_CANCELED, "content 20"); in testStartActivityForResultCanceled()
121 private void startActivityForResult(final int requestCode, final int resultCode, in startActivityForResult() method in FragmentReceiveResultTest
130 mFragment.startActivityForResult(intent, requestCode); in startActivityForResult()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java257 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenSimple()
297 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenVirtual()
339 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateNew()
363 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateExisting()
391 mActivity.startActivityForResult(intent, REQUEST_CODE); in testTree()
468 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkEnabled_blockFromTree()
526 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkDisabled_notBlockFromTree()
608 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_rootsShowing()
642 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContentWithQuery_matchingFileShowing()
673 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_returnsResultToCallingActivity()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DStartForResultActivity.java27 startActivityForResult(getIntent().setFlags(0).setComponent(null), 100 /* requestCode */); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DTelecomDefaultDialerTestActivity.java103 startActivityForResult(intent, REQUEST_DIALER_ROLE); in onCreate()
113 startActivityForResult(intent, REQUEST_LOCK_SCREEN); in onCreate()
120 startActivityForResult(intent, REQUEST_ADD_ADMIN); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21251/src/android/security/cts/CVE_2023_21251/
DPocActivity.java32 startActivityForResult(intent, 0 /* requestCode */); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DLocationTestActivity.java79 startActivityForResult(locationSettingsIntent, REQUEST_LOCATION_SETTING); in runPrepare()
87 startActivityForResult(intent, LocationTestActivity.REQUEST_LOCATION_CHECK); in runTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsInteractiveActivity.java84 startActivityForResult(intent, 0); in onStart()
122 startActivityForResult(getTestIntent(activityName, displayMode), 0); in relaunchTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DDeviceAdminTapjackingTestActivity.java91 startActivityForResult(securitySettingsIntent, REQUEST_ENABLE_ADMIN); in onClick()
96 startActivityForResult(new Intent(this, OverlayingActivity.class), in onClick()
/cts/tests/tests/os/src/android/os/cts/
DLaunchpadActivity.java283 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
289 startActivityForResult(intent, FORWARDED_RESULT); in onResume()
295 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
374 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
380 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
386 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
392 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
/cts/tests/tests/security/src/android/security/cts/
DStartForFutureActivity.kt29 startActivityForResult(intent, 1) in startActivityForFuture()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionPermissionDialogTestActivity.java42 startActivityForResult(screenCaptureIntent, 0); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java88 startActivityForResult(intent, START_ENABLE_BLUETOOTH_REQUEST); in enableBluetooth()
94 startActivityForResult(intent, START_DISABLE_BLUETOOTH_REQUEST); in disableBluetooth()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/
DPocActivity.java33 startActivityForResult(intent, 1); in startOverlayService()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39622/src/android/security/cts/CVE_2021_39622/
DPocActivity.java38 startActivityForResult(intent, REQUEST_CODE); in onCreate()
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
DCaptureActivity.java43 startActivityForResult(intent, requestCode); in onCreate()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestActivity.java34 startActivityForResult(new Intent(action), /* requestCode= */ 0); in startActivity()
/cts/tests/tests/security/src/android/security/cts/BUG_293602970/
DPocActivity.java57 startActivityForResult(createUserCreationIntent, 1 /* requestCode */); in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DDefaultDialerChanger.java76 mActivity.startActivityForResult(intent, 0); in DefaultDialerChanger()
91 mActivity.startActivityForResult(intent, 0); in DefaultDialerChanger()
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/
DPocActivity.java48 startActivityForResult( in onResume()

12345