Searched refs:intent1 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerStubActivity.java | 155 Intent intent1 = new Intent(context, ResourceManagerTestActivity1.class); in testReclaimResource() 156 intent1.putExtra("test-type", mType1); in testReclaimResource() 157 intent1.putExtra("wait-for-reclaim", mWaitForReclaim); in testReclaimResource() 158 intent1.putExtra("high-resolution", highResolutionForActivity1); in testReclaimResource() 159 startActivityForResult(intent1, mRequestCodes[0]); in testReclaimResource() 228 Intent intent1 = new Intent(context, ResourceManagerTestActivity1.class); in doTestReclaimResource() 229 intent1.putExtra("test-type", mType1); in doTestReclaimResource() 230 intent1.putExtra("wait-for-reclaim", mWaitForReclaim); in doTestReclaimResource() 231 intent1.putExtra("name", codecName); in doTestReclaimResource() 232 intent1.putExtra("mime", mimeType); in doTestReclaimResource() [all …]
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastDeliveryGroupTest.java | 45 final Intent intent1 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_policyAll() local 51 cmdReceiver1.sendBroadcast(intent1, null /* options */); in testDeliveryGroupPolicy_policyAll() 55 List.of(intent1, intent2), true); in testDeliveryGroupPolicy_policyAll() 79 final Intent intent1 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_withForceDelay_policyAll() local 85 cmdReceiver1.sendBroadcast(intent1, null /* options */); in testDeliveryGroupPolicy_withForceDelay_policyAll() 89 List.of(intent1, intent2), true); in testDeliveryGroupPolicy_withForceDelay_policyAll() 108 final Intent intent1 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_policyMostRecent() local 117 cmdReceiver1.sendBroadcast(intent1, options.toBundle()); in testDeliveryGroupPolicy_policyMostRecent() 145 final Intent intent1 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_withForceDelay_policyMostRecent() local 154 cmdReceiver1.sendBroadcast(intent1, options.toBundle()); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassificationTest.java | 70 final PendingIntent intent1 = PendingIntent.getActivity( in testTextClassification() local 91 .addAction(new RemoteAction(icon1, label1, description1, intent1)) in testTextClassification() 116 assertEquals(intent1, classification.getActions().get(0).getActionIntent()); in testTextClassification()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransactionTest.java | 376 Intent intent1 = new Intent(mActivity, NewIntentActivity.class) in newIntentUnlocks() local 379 (NewIntentActivity) instrumentation.startActivitySync(intent1); in newIntentUnlocks()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 1504 Intent intent1 = new Intent(Intent.ACTION_MAIN); in runFreezerTest() local 1505 intent1.setClassName(STUB_PACKAGE_NAME, STUB_PACKAGE_NAME + SIMPLE_ACTIVITY); in runFreezerTest() 1506 intent1.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runFreezerTest() 1507 mContext.startActivity(intent1); in runFreezerTest()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 1240 Intent intent1 = new Intent(); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() local 1241 intent1.setClassName(TEST_SDK1_PACKAGE, TEST_SDK1_PACKAGE + ".MainActivity"); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() 1243 getPackageManager().queryIntentActivities(intent1, 0); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() 1281 Intent intent1 = new Intent(); in testSdkLibsBeAppsComponentRegistered() local 1282 intent1.setClassName(TEST_SDK1_PACKAGE, TEST_SDK1_PACKAGE + ".MainActivity"); in testSdkLibsBeAppsComponentRegistered() 1284 getPackageManager().queryIntentActivities(intent1, 0); in testSdkLibsBeAppsComponentRegistered()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleTests.java | 458 final Intent intent1 = new Intent(mContext, SecondProcessCallbackTrackingActivity.class) in testTrampolineWithAnotherProcess() local 463 .putExtra(EXTRA_START_ACTIVITY_WHEN_IDLE, intent1)); in testTrampolineWithAnotherProcess()
|