Home
last modified time | relevance | path

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

123

/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java83 intent.setAction(TEST_ACTION); in testConstructor()
124 mIntent.setAction(TEST_ACTION); in testReadFromParcel()
591 mIntent.setAction(TEST_ACTION); in testAccessAction()
620 mIntent.setAction(TEST_ACTION); in testClone()
646 mIntent.setAction(TEST_ACTION); in testCloneFilter()
789 mIntent.setAction(TEST_ACTION); in testGetIntent()
881 mIntent.setAction(TEST_ACTION); in testToURI()
952 new Intent().setAction("android.test.FOO")); in testUris()
956 new Intent().setAction(Intent.ACTION_VIEW).addCategory("android.test.FOO")); in testUris()
960 new Intent().setAction("android.test.FOO").setFlags(0x20)); in testUris()
[all …]
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java133 .setAction(ACTION_TYPE_FOR_INTENT_COMMUNICATION); in acquireLock()
154 .setAction(ACTION_TYPE_FOR_INTENT_COMMUNICATION); in acquireLockAndThenWaitThenRelease()
172 .setAction(ACTION_TYPE_FOR_INTENT_COMMUNICATION); in acquireLockAndThenWaitThenRelease()
188 .setAction(ACTION_TYPE_FOR_INTENT_COMMUNICATION); in onDestroy()
/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/DelegateApp/src/com/android/cts/delegate/
DDelegatedScopesReceiverActivity.java100 intent.setAction(ACTION_REPORT_SCOPES); in sendScopeReportBroadcast()
107 intent.setAction(ACTION_RUNNING); in sendRunningBroadcast()
/cts/tests/tests/assist/src/android/assist/cts/
DTestStartActivity.java87 intent.setAction("android.intent.action.START_TEST_" + testCaseName); in startTest()
96 intent.setAction("android.intent.action.TEST_APP_" + testCaseName); in start3pApp()
103 intent.setAction("android.intent.action.TEST_APP_" + testCaseName); in start3pAppWithColor()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java288 intent.setAction(ACTION_INSTALL_CERT); in installCaCert()
297 intent.setAction(ACTION_REMOVE_CERT); in removeCaCert()
306 intent.setAction(ACTION_VERIFY_CERT); in verifyCaCert()
338 intent.setAction(ACTION_INSTALL_KEYPAIR); in installKeyPair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleInsecureClientStartActivity.java29 mIntent.setAction(BleClientService.BLE_CLIENT_ACTION_CLIENT_CONNECT); in onCreate()
DBleInsecureServerStartActivity.java29 mIntent.setAction(BleServerService.BLE_ACTION_SERVER_NON_SECURE); in onCreate()
DBleSecureEncryptedServerTestActivity.java29 mIntent.setAction(BleEncryptedServerService.ACTION_CONNECT_WITH_SECURE); in onCreate()
DBleSecureServerStartActivity.java29 mIntent.setAction(BleServerService.BLE_ACTION_SERVER_SECURE); in onCreate()
DBleInsecureEncryptedClientTestActivity.java29 mIntent.setAction(BleEncryptedClientService.ACTION_CONNECT_WITHOUT_SECURE); in onCreate()
DBleEncryptedClientBaseActivity.java75 … intent.setAction(BleEncryptedClientService.ACTION_WRITE_ENCRYPTED_CHARACTERISTIC); in onCreate()
78 … intent.setAction(BleEncryptedClientService.ACTION_READ_ENCRYPTED_CHARACTERISTIC); in onCreate()
81 intent.setAction(BleEncryptedClientService.ACTION_WRITE_ENCRYPTED_DESCRIPTOR); in onCreate()
84 intent.setAction(BleEncryptedClientService.ACTION_READ_ENCRYPTED_DESCRIPTOR); in onCreate()
DBleConnectionPriorityClientBaseActivity.java164 … intent.setAction(BleConnectionPriorityClientService.ACTION_CONNECTION_PRIORITY_HIGH); in executeNextTestImpl()
174 … intent.setAction(BleConnectionPriorityClientService.ACTION_CONNECTION_PRIORITY_LOW_POWER); in executeNextTestImpl()
184 … intent.setAction(BleConnectionPriorityClientService.ACTION_CONNECTION_PRIORITY_BALANCED); in executeNextTestImpl()
196 intent.setAction(BleConnectionPriorityClientService.ACTION_DISCONNECT); in executeNextTestImpl()
DBleSecureConnectionPriorityClientTestActivity.java30 mIntent.setAction(BleConnectionPriorityClientService.ACTION_CLIENT_CONNECT_SECURE); in onCreate()
DBleSecureEncryptedClientTestActivity.java30 mIntent.setAction(BleEncryptedClientService.ACTION_CONNECT_WITH_SECURE); in onCreate()
DBleSecureClientStartActivity.java35 mIntent.setAction(BleClientService.BLE_CLIENT_ACTION_CLIENT_CONNECT_SECURE); in onCreate()
/cts/tests/app/src/android/app/cts/
DActivityManagerRecentTaskInfoTest.java59 baseIntent.setAction(Intent.ACTION_CALL); in testWriteToParcel()
93 baseIntent.setAction(Intent.ACTION_CALL); in testReadFromParcel()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityImmediateExit.java49 reply.setAction(ACTIVITY_EXIT_ACTION); in onStop()

123