Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java216 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenSimple()
256 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenVirtual()
298 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateNew()
322 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateExisting()
350 mActivity.startActivityForResult(intent, REQUEST_CODE); in testTree()
427 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkEnabled_blockFromTree()
475 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkDisabled_notBlockFromTree()
521 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_rootsShowing()
555 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContentWithQuery_matchingFileShowing()
572 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_returnsResultToCallingActivity()
[all …]
/cts/tests/app/src/android/app/cts/
DFragmentReceiveResultTest.java57 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk()
69 startActivityForResult(20, Activity.RESULT_CANCELED, "content 20"); in testStartActivityForResultCanceled()
120 private void startActivityForResult(final int requestCode, final int resultCode, in startActivityForResult() method in FragmentReceiveResultTest
129 mFragment.startActivityForResult(intent, requestCode); in startActivityForResult()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFutureResultActivity.kt51 fun startActivityForResult(intent: Intent): CompletableFuture<Int> { in startActivityForResult() method in com.android.compatibility.common.util.FutureResultActivity
55 startActivityForResult(intent, requestCode) in startActivityForResult()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
DPocActivity.java40 startActivityForResult(intent, 1); in startOverlayService()
69 startActivityForResult(intent, 2); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DTelecomDefaultDialerTestActivity.java99 startActivityForResult(intent, REQUEST_DIALER_ROLE); in onCreate()
109 startActivityForResult(intent, REQUEST_LOCK_SCREEN); in onCreate()
116 startActivityForResult(intent, REQUEST_ADD_ADMIN); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DResourceManagerStubActivity.java86 startActivityForResult(intent1, mRequestCodes[0]); in testReclaimResource()
91 startActivityForResult(intent2, mRequestCodes[1]); in testReclaimResource()
/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/app/app/src/android/app/stubs/
DLaunchpadActivity.java289 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
296 startActivityForResult(intent, FORWARDED_RESULT); in onResume()
302 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
381 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
387 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
393 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
399 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
DActivityMonitorTestActivity.java49 startActivityForResult(intent, 42); in startInstrumentationTestActivity()
/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/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/admin/tapjacking/
DDeviceAdminTapjackingTestActivity.java91 startActivityForResult(securitySettingsIntent, REQUEST_ENABLE_ADMIN); in onClick()
96 startActivityForResult(new Intent(this, OverlayingActivity.class), in onClick()
/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/permission3/src/android/permission3/cts/
DStartForFutureActivity.kt28 startActivityForResult(intent, 1) in startActivityForFuture()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java96 mActivity.startActivityForResult(intent, 0, options); in testOnSharedElementsArrived()
206 mActivity.startActivityForResult(intent, 0, options);
241 mActivity.startActivityForResult(intent, 0, options);
275 mActivity.startActivityForResult(intent, 0, options);
310 mActivity.startActivityForResult(intent, 0, options);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java81 startActivityForResult(intent, PICK_SERVER_DEVICE_REQUEST); in startDevicePickerActivity()
86 startActivityForResult(intent, ENABLE_BLUETOOTH_REQUEST); in startEnableBluetoothActivity()
/cts/tests/tests/role/CtsRoleTestApp/src/android/app/role/cts/app/
DChangeDefaultDialerActivity.java39 startActivityForResult(intent, REQUEST_CODE_CHANGE_DEFAULT_DIALER); in onCreate()
DRequestRoleActivity.java40 startActivityForResult(intent, REQUEST_CODE_REQUEST_ROLE); in onCreate()
DChangeDefaultSmsActivity.java39 startActivityForResult(intent, REQUEST_CODE_CHANGE_DEFAULT_SMS); 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/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityChainExit.java53 startActivityForResult(intent, 0); in onStart()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAutofillActivity.java44 startActivityForResult(launchIntent, 42); in onCreate()
DContentSuggestionsActivity.java47 startActivityForResult(launchIntent, 42); in onCreate()
/cts/tests/tests/role/src/android/app/role/cts/
DWaitForResultActivity.java42 startActivityForResult(intent, REQUEST_CODE_WAIT_FOR_RESULT); in startActivityToWaitForResult()

1234