Home
last modified time | relevance | path

Searched refs:testIntent (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DShareIdentityTest.java407 Intent testIntent = getTestIntent(testId, EXPLICIT_OPT_IN_TEST_CASE); in testShareIdentity_explicitIdentityShared_identityAvailableToActivity() local
409 mContext.startActivity(testIntent); in testShareIdentity_explicitIdentityShared_identityAvailableToActivity()
423 Intent testIntent = getTestIntent(testId, DEFAULT_SHARING_TEST_CASE); in testShareIdentity_defaultIdentityNotShared_identityNotAvailableToActivity() local
425 mContext.startActivity(testIntent); in testShareIdentity_defaultIdentityNotShared_identityNotAvailableToActivity()
444 Intent testIntent = getTestIntent(testId, EXPLICIT_OPT_OUT_TEST_CASE); in testShareIdentity_explicitIdentityNotShared_identityNotAvailableToActivity() local
446 mContext.startActivity(testIntent); in testShareIdentity_explicitIdentityNotShared_identityNotAvailableToActivity()
498 Intent testIntent = getTestIntent(testId, START_ACTIVITY_FOR_RESULT_TEST_CASE); in testShareIdentity_startActivityForResult_identityNotAvailableToActivity() local
500 mContext.startActivity(testIntent); in testShareIdentity_startActivityForResult_identityNotAvailableToActivity()
522 Intent testIntent = getTestIntent(testId, SEND_BROADCAST_RUNTIME_RECEIVER_OPT_IN_TEST_CASE); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityShared_identityAvailable() local
524 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityShared_identityAvailable()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DActivityManagerMemoryClassLaunchActivity.java50 Intent testIntent = new Intent(this, ActivityManagerMemoryClassTestActivity.class); in onCreate() local
51 testIntent.putExtra(MEMORY_CLASS_EXTRA, memoryClass); in onCreate()
52 startActivityForResult(testIntent, TEST_ACTIVITY_REQUEST_CODE); in onCreate()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationCarExtenderTest.java124 final Intent testIntent = new Intent("testIntent") in testCarExtender_UnreadConversationAndBuilder() local
127 PendingIntent.getBroadcast(mContext, 0, testIntent, in testCarExtender_UnreadConversationAndBuilder()
130 PendingIntent.getBroadcast(mContext, 0, testIntent, in testCarExtender_UnreadConversationAndBuilder()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java294 int testInstructionResId, Intent testIntent) { in DialogTestListItem() argument
295 super(context.getString(nameResId), testId, testIntent, null, null, null); in DialogTestListItem() local
327 int testInstructionResId, Intent testIntent, int imageResId) { in DialogTestListItemWithIcon() argument
328 super(context, nameResId, testId, testInstructionResId, testIntent); in DialogTestListItemWithIcon()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeliveryGroupTest.java172 final Intent testIntent = new Intent(testAction) in initializeQueue() local
174 getContext().sendBroadcast(testIntent); in initializeQueue()
/cts/tests/tests/content/src/android/content/cts/
DActivityRequireContentUriPermissionFromCallerTest.java524 Intent testIntent = new Intent(getIntent()); in onStart() local
525 testIntent.setComponent(testedAttributeActivity.mComponent); in onStart()
526 testIntent.putExtra(EXTRA_IS_RESULT, true); in onStart()
527 testIntent.setFlags(0); in onStart()
531 startActivityForResult(testIntent, 0); in onStart()