/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastDeliveryGroupTest.java | 48 final Intent intent2 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_policyAll() local 52 cmdReceiver1.sendBroadcast(intent2, null /* options */); in testDeliveryGroupPolicy_policyAll() 55 List.of(intent1, intent2), true); in testDeliveryGroupPolicy_policyAll() 82 final Intent intent2 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_withForceDelay_policyAll() local 86 cmdReceiver1.sendBroadcast(intent2, null /* options */); in testDeliveryGroupPolicy_withForceDelay_policyAll() 89 List.of(intent1, intent2), true); in testDeliveryGroupPolicy_withForceDelay_policyAll() 111 final Intent intent2 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_policyMostRecent() local 118 cmdReceiver1.sendBroadcast(intent2, options.toBundle()); in testDeliveryGroupPolicy_policyMostRecent() 121 List.of(intent2), false); in testDeliveryGroupPolicy_policyMostRecent() 148 final Intent intent2 = new Intent(TEST_ACTION1) in testDeliveryGroupPolicy_withForceDelay_policyMostRecent() local [all …]
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerStubActivity.java | 162 Intent intent2 = new Intent(context, ResourceManagerTestActivity2.class); in testReclaimResource() 163 intent2.putExtra("test-type", mType2); in testReclaimResource() 164 intent2.putExtra("high-resolution", highResolutionForActivity2); in testReclaimResource() 165 startActivityForResult(intent2, mRequestCodes[1]); in testReclaimResource() 238 Intent intent2 = new Intent(context, ResourceManagerTestActivity2.class); in doTestReclaimResource() 239 intent2.putExtra("test-type", mType2); in doTestReclaimResource() 240 intent2.putExtra("name", codecName); in doTestReclaimResource() 241 intent2.putExtra("mime", mimeType); in doTestReclaimResource() 242 intent2.putExtra("width", width); in doTestReclaimResource() 243 intent2.putExtra("height", height); in doTestReclaimResource() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | DelayFillTest.java | 272 Intent intent2 = new Intent() 278 .sendIntent(getContext(), 0, intent2, null, null, null)); 362 Intent intent2 = new Intent() 366 fillRequest2.delayFillIntentSender.sendIntent(getContext(), 0, intent2, null, null, null);
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayEventTest.java | 392 Intent intent2 = new Intent(Intent.ACTION_MAIN); in makeTestActivityCached() local 393 intent2.setClass(mContext, SimpleActivity2.class); in makeTestActivityCached() 394 intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in makeTestActivityCached() 398 mInstrumentation.startActivitySync(intent2); in makeTestActivityCached()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassificationTest.java | 78 final PendingIntent intent2 = PendingIntent.getActivity( in testTextClassification() local 92 .addAction(new RemoteAction(icon2, label2, description2, intent2)) in testTextClassification() 120 assertEquals(intent2, classification.getActions().get(1).getActionIntent()); in testTextClassification()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransactionTest.java | 382 Intent intent2 = new Intent(mActivity, FragmentTestActivity.class); in newIntentUnlocks() local 383 intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in newIntentUnlocks() 384 Activity coveringActivity = instrumentation.startActivitySync(intent2); in newIntentUnlocks()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 116 final Intent intent2 = new Intent(Intent.ACTION_OPEN_DOCUMENT); in setUp() local 117 intent2.addCategory(Intent.CATEGORY_OPENABLE); in setUp() 118 intent2.setType("*/*"); in setUp() 119 final ResolveInfo ri = pm.resolveActivity(intent2, 0); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 785 final Intent intent2 = new Intent(mContext, GetResultActivity.class); in setUpForActivity() local 786 intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUpForActivity() 788 intent2); in setUpForActivity()
|
/cts/tests/process/src/android/os/cts/process/ |
D | ProcessTest2.java | 173 final Intent intent2 = new Intent(Consts.ACTION_SEND_BACK_START_TIME) in testStartTime_sharedProcess() local
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 1511 Intent intent2 = new Intent(Intent.ACTION_MAIN); in runFreezerTest() local 1512 intent2.setClassName(STUB_PACKAGE_NAME, STUB_PACKAGE_NAME + ".NonLauncherActivity"); in runFreezerTest() 1513 intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runFreezerTest() 1514 mContext.startActivity(intent2); in runFreezerTest()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 1248 Intent intent2 = new Intent(); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() local 1249 intent2.setClassName(TEST_SDK1_PACKAGE, TEST_SDK1_PACKAGE + ".FakeService"); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() 1251 getPackageManager().queryIntentServices(intent2, 0); in testSdkBlockSdkLibsBeAppsNoComponentRegistered() 1290 Intent intent2 = new Intent(); in testSdkLibsBeAppsComponentRegistered() local 1291 intent2.setClassName(TEST_SDK1_PACKAGE, TEST_SDK1_PACKAGE + ".FakeService"); in testSdkLibsBeAppsComponentRegistered() 1293 getPackageManager().queryIntentServices(intent2, 0); in testSdkLibsBeAppsComponentRegistered()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleTests.java | 456 final Intent intent2 = new Intent(mContext, SecondProcessCallbackTrackingActivity.class) in testTrampolineWithAnotherProcess() local 459 .putExtra(EXTRA_START_ACTIVITY_IN_ON_CREATE, intent2) in testTrampolineWithAnotherProcess()
|