Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 49) sorted by relevance

12

/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java81 intent.setAction(TEST_ACTION); in testConstructor()
122 mIntent.setAction(TEST_ACTION); in testReadFromParcel()
589 mIntent.setAction(TEST_ACTION); in testAccessAction()
618 mIntent.setAction(TEST_ACTION); in testClone()
644 mIntent.setAction(TEST_ACTION); in testCloneFilter()
787 mIntent.setAction(TEST_ACTION); in testGetIntent()
879 mIntent.setAction(TEST_ACTION); in testToURI()
950 new Intent().setAction("android.test.FOO")); in testUris()
954 new Intent().setAction(Intent.ACTION_VIEW).addCategory("android.test.FOO")); in testUris()
958 new Intent().setAction("android.test.FOO").setFlags(0x20)); in testUris()
[all …]
DAvailableIntentsTest.java149 intent.setAction(MediaStore.ACTION_VIDEO_CAPTURE); in testCamera()
152 intent.setAction(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); in testCamera()
155 intent.setAction(MediaStore.INTENT_ACTION_VIDEO_CAMERA); in testCamera()
/cts/tests/app/app/src/android/app/stubs/
DClearTop.java33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DActivityTestsBase.java110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
138 mIntent.setAction(action); in startLaunchpadActivity()
209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
DTestedScreen.java42 intent.setAction(DELIVER_RESULT); in onCreate()
47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
DLaunchpadActivity.java140 private Intent mData = new Intent().setAction("No result received");
380 intent.setAction(action); in onResume()
386 intent.setAction(action); in onResume()
392 intent.setAction(action); in onResume()
425 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
432 .setAction("Unexpected request code: " + requestCode)); in onActivityResult()
517 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
/cts/tests/tests/os/src/android/os/cts/
DClearTop.java33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DActivityTestsBase.java110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
138 mIntent.setAction(action); in startLaunchpadActivity()
209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
DTestedScreen.java42 intent.setAction(DELIVER_RESULT); in onCreate()
47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
DLaunchpadActivity.java140 private Intent mData = new Intent().setAction("No result received");
380 intent.setAction(action); in onResume()
386 intent.setAction(action); in onResume()
392 intent.setAction(action); in onResume()
425 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
432 .setAction("Unexpected request code: " + requestCode)); in onActivityResult()
517 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java261 intent.setAction(ACTION_INSTALL_CERT); in installCaCert()
270 intent.setAction(ACTION_REMOVE_CERT); in removeCaCert()
279 intent.setAction(ACTION_VERIFY_CERT); in verifyCaCert()
304 intent.setAction(ACTION_INSTALL_KEYPAIR); in installKeyPair()
/cts/tests/tests/assist/src/android/assist/cts/
DTestStartActivity.java94 intent.setAction("android.intent.action.START_TEST_" + testCaseName); in startTest()
103 intent.setAction("android.intent.action.TEST_APP_" + testCaseName); in start3pApp()
110 intent.setAction("android.intent.action.TEST_APP_" + testCaseName); in start3pAppWithColor()
/cts/tests/app/src/android/app/cts/
DActivityManagerRecentTaskInfoTest.java59 baseIntent.setAction(Intent.ACTION_CALL); in testWriteToParcel()
93 baseIntent.setAction(Intent.ACTION_CALL); in testReadFromParcel()
DSearchManagerTest.java29 intent.setAction(action); in setupActivity()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityImmediateExit.java49 reply.setAction(ACTIVITY_EXIT_ACTION); in onStop()
DSimpleActivity.java44 reply.setAction(ACTIVITY_LAUNCHED_ACTION); in onStart()
DSimpleActivityChainExit.java77 reply.setAction(ACTIVITY_CHAIN_EXIT_ACTION); in onStop()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java140 mMotionEvent1.setAction(MotionEvent.ACTION_UP); in testAccessAction()
143 mMotionEvent1.setAction(MotionEvent.ACTION_MOVE); in testAccessAction()
146 mMotionEvent1.setAction(MotionEvent.ACTION_CANCEL); in testAccessAction()
149 mMotionEvent1.setAction(MotionEvent.ACTION_DOWN); in testAccessAction()
334 mMotionEvent2.setAction(MotionEvent.ACTION_DOWN); in testGetHistorySize()
337 mMotionEvent2.setAction(MotionEvent.ACTION_MOVE); in testGetHistorySize()
343 mMotionEvent2.setAction(MotionEvent.ACTION_MOVE); in testRecycle()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java42 intent.setAction(Intent.ACTION_SEND); in getTextShareIntent()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DTestStartActivity.java42 intent.setAction("android.intent.action.START_TEST"); in onResume()
DLocalVoiceInteractionTest.java60 intent.setAction("android.intent.action.TEST_LOCAL_INTERACTION_ACTIVITY"); in startTestActivity()
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/
DTestStartActivity.java45 intent.setAction("android.intent.action.VIMAIN_" + testCaseType); in startTest()
/cts/tests/tests/permission/src/android/permission/cts/
DNoBroadcastPackageRemovedPermissionTest.java100 intent.setAction(action); in createIntent()
/cts/libs/deviceutil/src/android/cts/util/
DBroadcastTestStartActivity.java46 intent.setAction("android.intent.action.VIMAIN_" + testCaseType); in startTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java111 intent.setAction(Intent.ACTION_SEND); in createFileAndShare()

12