Home
last modified time | relevance | path

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

12345

/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java86 intent.setAction(TEST_ACTION); in testConstructor()
127 mIntent.setAction(TEST_ACTION); in testReadFromParcel()
615 mIntent.setAction(TEST_ACTION); in testAccessAction()
644 mIntent.setAction(TEST_ACTION); in testClone()
672 mIntent.setAction(TEST_ACTION); in testCloneFilter()
818 mIntent.setAction(TEST_ACTION); in testGetIntent()
915 mIntent.setAction(TEST_ACTION); in testToURI()
988 new Intent().setAction("android.test.FOO")); in testUris()
992 new Intent().setAction(Intent.ACTION_VIEW).addCategory("android.test.FOO")); in testUris()
996 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/tests/telephony/current/src/android/telephony/cts/
DSmsReceiverHelper.java35 intent.setAction(MESSAGE_SENT_ACTION); in getMessageSentPendingIntent()
42 intent.setAction(MESSAGE_DELIVERED_ACTION); in getMessageDeliveredPendingIntent()
/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()
DLaunchpadActivity.java138 private Intent mData = new Intent().setAction("No result received");
378 intent.setAction(action); in onResume()
384 intent.setAction(action); in onResume()
390 intent.setAction(action); in onResume()
423 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
430 .setAction("Unexpected request code: " + requestCode)); in onActivityResult()
514 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
DTestedScreen.java42 intent.setAction(DELIVER_RESULT); in onCreate()
47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
/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.java115 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
152 mIntent.setAction(action); in startLaunchpadActivity()
227 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
DLaunchpadActivity.java144 private Intent mData = new Intent().setAction("No result received");
385 intent.setAction(action); in onResume()
391 intent.setAction(action); in onResume()
397 intent.setAction(action); in onResume()
430 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
437 .setAction("Unexpected request code: " + requestCode)); in onActivityResult()
522 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
DTestedScreen.java42 intent.setAction(DELIVER_RESULT); in onCreate()
47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java318 intent.setAction(ACTION_INSTALL_CERT); in installCaCert()
327 intent.setAction(ACTION_REMOVE_CERT); in removeCaCert()
336 intent.setAction(ACTION_VERIFY_CERT); in verifyCaCert()
368 intent.setAction(ACTION_INSTALL_KEYPAIR); in installKeyPair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
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()
DBleCocSecureServerStartActivity.java29 mIntent.setAction(BleCocServerService.BLE_ACTION_COC_SERVER_SECURE); in onCreate()
DBleSecureServerStartActivity.java29 mIntent.setAction(BleServerService.BLE_ACTION_SERVER_SECURE); in onCreate()
DBleCocInsecureServerStartActivity.java29 mIntent.setAction(BleCocServerService.BLE_ACTION_COC_SERVER_INSECURE); in onCreate()
DBleInsecureServerStartActivity.java29 mIntent.setAction(BleServerService.BLE_ACTION_SERVER_NON_SECURE); in onCreate()
DBleInsecureEncryptedClientTestActivity.java29 mIntent.setAction(BleEncryptedClientService.ACTION_CONNECT_WITHOUT_SECURE); in onCreate()
DBleSecureEncryptedServerTestActivity.java29 mIntent.setAction(BleEncryptedServerService.ACTION_CONNECT_WITH_SECURE); in onCreate()
DBleInsecureClientStartActivity.java34 mIntent.setAction(BleClientService.BLE_CLIENT_ACTION_CLIENT_CONNECT); in onCreate()
DBleCocInsecureClientStartActivity.java34 mIntent.setAction(BleCocClientService.BLE_COC_CLIENT_ACTION_LE_INSECURE_CONNECT); in onCreate()
DBleSecureConnectionPriorityClientTestActivity.java30 mIntent.setAction(BleConnectionPriorityClientService.ACTION_CLIENT_CONNECT_SECURE); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerPackageTest.java120 intent.setAction(ACTION_SET_INSTALLER_PACKAGE_NAME); in testSetInstallPackageConflictingInstaller()
137 intent.setAction(ACTION_SET_INSTALLER_PACKAGE_NAME); in testSetInstallPackageConflictingInstaller()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java192 mContext.startActivity(mSharedPrefActivityIntent.setAction(INIT_ACTION)); in launchSharedPrefActivity()
201 mContext.startActivity(mSharedPrefActivityIntent.setAction(UPDATE_ACTION)); in updateSharedPrefActivity()
210 mContext.startActivity(mSharedPrefActivityIntent.setAction(TEST_ACTION)); in checkSharedPrefActivity()

12345