Home
last modified time | relevance | path

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

123

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java146 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenSimple()
186 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenVirtual()
228 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateNew()
252 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateExisting()
280 mActivity.startActivityForResult(intent, REQUEST_CODE); in testTree()
356 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_rootsShowing()
382 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContentWithQuery_matchingFileShowing()
399 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_returnsResultToCallingActivity()
428 mActivity.startActivityForResult(intent, REQUEST_CODE); in testTransferDocument()
536 mActivity.startActivityForResult(intent, REQUEST_CODE); in testFindDocumentPathInScopedAccess()
[all …]
/cts/tests/app/src/android/app/cts/
DFragmentReceiveResultTest.java55 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk()
67 startActivityForResult(20, Activity.RESULT_CANCELED, "content 20"); in testStartActivityForResultCanceled()
118 private void startActivityForResult(final int requestCode, final int resultCode, in startActivityForResult() method in FragmentReceiveResultTest
127 mFragment.startActivityForResult(intent, requestCode); in startActivityForResult()
/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()
DActivityManagerMemoryClassLaunchActivity.java52 startActivityForResult(testIntent, TEST_ACTIVITY_REQUEST_CODE); 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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java269 startActivityForResult(installPersonalProfileIntent, REQUEST_INSTALL_PACKAGE); in onCreate()
286 startActivityForResult(captureImageIntent, REQUEST_IMAGE_CAPTURE); in onCreate()
307 startActivityForResult(captureVideoIntent, videoCaptureRequestId); in onCreate()
317 startActivityForResult(captureAudioIntent, REQUEST_AUDIO_CAPTURE); in onCreate()
419 startActivityForResult(installIntent, REQUEST_INSTALL_PACKAGE); in startInstallerActivity()
DUtils.java77 activity.startActivityForResult(sending, requestCode); in provisionManagedProfile()
120 activity.startActivityForResult(intent, requestCode)) in setScreenLock()
/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/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java132 startActivityForResult(securitySettingsIntent, REQUEST_ENABLE_ADMIN); in onClick()
136 startActivityForResult(appDetails, REQUEST_UNINSTALL_ADMIN); in onClick()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt82 installDialogStarter.activity.startActivityForResult(activityIntent, 0) in <lambda>()
165 installDialogStarter.activity.startActivityForResult(intent, 0) in <lambda>()
/cts/tests/tests/role/CtsRoleTestApp/src/android/app/role/cts/app/
DChangeDefaultDialerActivity.java39 startActivityForResult(intent, REQUEST_CODE_CHANGE_DEFAULT_DIALER); in onCreate()
DChangeDefaultSmsActivity.java39 startActivityForResult(intent, REQUEST_CODE_CHANGE_DEFAULT_SMS); in onCreate()
DRequestRoleActivity.java44 startActivityForResult(intent, REQUEST_CODE_REQUEST_ROLE); 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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAutofillActivity.java44 startActivityForResult(launchIntent, 42); in onCreate()
DContentSuggestionsActivity.java47 startActivityForResult(launchIntent, 42); in onCreate()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityChainExit.java53 startActivityForResult(intent, 0); in onStart()
/cts/tests/tests/role/src/android/app/role/cts/
DWaitForResultActivity.java42 startActivityForResult(intent, REQUEST_CODE_WAIT_FOR_RESULT); in startActivityToWaitForResult()

123