/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityRecordInputSinkTestsActivity.java | 71 Intent activityIntent = new Intent(); 72 activityIntent.setComponent(intent.getParcelableExtra(COMPONENT_EXTRA, 74 activityIntent.replaceExtras(intent.getBundleExtra(EXTRA_EXTRA)); 75 startActivity(activityIntent);
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceTest.kt | 50 val activityIntent = Intent(context, AttributionSourceActivity::class.java) in testRemoteProcessActivityPidCheck() constant 51 activityIntent.putExtra(ATTRIBUTION_SOURCE_KEY, context.getAttributionSource()) in testRemoteProcessActivityPidCheck() 54 val thread = LaunchActivityThread(activityIntent) in testRemoteProcessActivityPidCheck() 132 private class LaunchActivityThread(activityIntent: Intent) : Thread() { 133 private val mActivityIntent = activityIntent
|
/cts/tests/app/shared/src/android/app/cts/ |
D | NotificationTemplateTestBase.kt | 62 val activityIntent = Intent(context, NotificationHostActivity::class.java) in <lambda>() constant 63 activityIntent.putExtra(NotificationHostActivity.EXTRA_REMOTE_VIEWS, views) in <lambda>() 65 activityIntent.putExtra( in <lambda>() 70 ActivityScenario.launch<NotificationHostActivity>(activityIntent).use { scenario -> in <lambda>()
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 115 val activityIntent = intent.getParcelableExtra<Intent>(Intent.EXTRA_INTENT) in <lambda>() constant 116 activityIntent!!.addFlags( in <lambda>() 118 context.startActivity(activityIntent) in <lambda>()
|
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 71 val activityIntent = intent.getParcelableExtra<Intent>(Intent.EXTRA_INTENT) in <lambda>() constant 72 activityIntent!!.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in <lambda>() 73 context.startActivity(activityIntent) in <lambda>()
|
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/ |
D | PackageInstallerTestBase.kt | 81 val activityIntent = intent.getParcelableExtra<Intent>(EXTRA_INTENT) in <lambda>() constant 82 activityIntent!!.addFlags(FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK) in <lambda>() 83 installDialogStarter.activity.startActivityForResult(activityIntent) in <lambda>()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | PackageInstallerTestBase.kt | 81 val activityIntent = intent.getParcelableExtra<Intent>(EXTRA_INTENT) in <lambda>() constant 82 activityIntent!!.addFlags(FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK) in <lambda>() 83 installDialogStarter.activity.startActivityForResult(activityIntent) in <lambda>()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 388 Intent activityIntent = new Intent(Intent.ACTION_MAIN); in doStartActivity() local 389 sActivityIntent.put(targetPackage, activityIntent); in doStartActivity() 390 activityIntent.putExtras(commandIntent); in doStartActivity() 391 activityIntent.setComponent(new ComponentName(targetPackage, ACTIVITY_NAME)); in doStartActivity() 392 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in doStartActivity() 393 context.startActivity(activityIntent); in doStartActivity() 398 Intent activityIntent = sActivityIntent.remove(targetPackage); in doStopActivity() local 399 activityIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); in doStopActivity() 400 activityIntent.putExtra("finish", true); in doStopActivity() 401 context.startActivity(activityIntent); in doStopActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 114 Intent activityIntent = activity.getIntent(); in createResult() local 116 if (activityIntent.hasExtra(TEST_START_TIME)) { in createResult() 117 data.putExtra(TEST_START_TIME, activityIntent.getLongExtra(TEST_START_TIME, 0)); in createResult()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PreapprovalInstallTest.kt | 156 val activityIntent = in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() constant 158 assertThat(activityIntent!!.action).isEqualTo( in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() 161 assertThat(activityIntent.extras!!.keySet().size).isEqualTo(1) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() 162 activityIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() 164 installDialogStarter.activity.startActivityForResult(activityIntent) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
|
D | PackageInstallerTestBase.kt | 135 val activityIntent = intent.getParcelableExtra(EXTRA_INTENT, Intent::class.java) in <lambda>() constant 136 Assert.assertEquals(activityIntent!!.extras!!.keySet().size, 1) in <lambda>() 137 activityIntent.addFlags(FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK) in <lambda>() 138 installDialogStarter.activity.startActivityForResult(activityIntent) in <lambda>()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 716 Intent activityIntent = new Intent(a, CameraCtsActivity.class); in forceCtsActivityToTop() local 717 activityIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in forceCtsActivityToTop() 718 a.startActivity(activityIntent); in forceCtsActivityToTop() 816 Intent activityIntent = new Intent(a, klass); in startRemoteProcess() local 817 activityIntent.putExtra(TestConstants.EXTRA_IGNORE_CAMERA_ACCESS, true); in startRemoteProcess() 818 activityIntent.putExtra(TestConstants.EXTRA_IGNORE_TOP_ACTIVITY_RESUMED, true); in startRemoteProcess() 819 activityIntent.putExtra(TestConstants.EXTRA_IGNORE_ACTIVITY_PAUSED, true); in startRemoteProcess() 820 a.startActivity(activityIntent); in startRemoteProcess()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 1787 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPost() local 1788 activityIntent.setPackage(TEST_APP); in testNotificationDelegate_grantAndPost() 1789 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPost() 1790 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPost() 1792 activity.startActivityForResult(activityIntent, REQUEST_CODE); in testNotificationDelegate_grantAndPost() 1817 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPostAndCancel() local 1818 activityIntent.setPackage(TEST_APP); in testNotificationDelegate_grantAndPostAndCancel() 1819 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPostAndCancel() 1820 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPostAndCancel() 1822 activity.startActivityForResult(activityIntent, REQUEST_CODE); in testNotificationDelegate_grantAndPostAndCancel() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 993 final Intent activityIntent = new Intent(); in testBackgroundCheckActivityService() local 994 activityIntent.setClassName(SIMPLE_PACKAGE_NAME, in testBackgroundCheckActivityService() 996 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundCheckActivityService() 1021 activityIntent.putExtra("service", mServiceIntent); in testBackgroundCheckActivityService() 1022 startActivity(mTargetContext, activityIntent); in testBackgroundCheckActivityService() 1244 final Intent activityIntent = new Intent() in testBgRestrictedForegroundService() local 1263 activityIntent.putExtra("service", serviceStartIntent); in testBgRestrictedForegroundService() 1281 activityIntent.setAction(ACTION_SIMPLE_ACTIVITY_START_FG); in testBgRestrictedForegroundService() 1282 startActivity(mTargetContext, activityIntent); in testBgRestrictedForegroundService() 1304 activityIntent.setAction(ACTION_FINISH_EVERYTHING); in testBgRestrictedForegroundService() [all …]
|
D | PendingIntentTest.java | 897 Intent activityIntent = new Intent(); in testGetIntentComponentAndType() local 898 activityIntent.setClass(mContext, MockActivity.class); in testGetIntentComponentAndType() 900 activityIntent, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE); in testGetIntentComponentAndType()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DialogTests.java | 108 final Intent activityIntent = mTestAppInterface.awaitTestActivityStart(); in testInterceptorActivity_unsuspend() local 109 assertNotNull("Test activity did not start on neutral button tap", activityIntent); in testInterceptorActivity_unsuspend()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | OfflineSessionTest.java | 863 Intent activityIntent = new Intent(activity, REMOTE_PROCESS_CLASS); in startRemoteOfflineTestProcess() local 866 activityIntent.putExtras(b); in startRemoteOfflineTestProcess() 867 activity.startActivity(activityIntent); in startRemoteOfflineTestProcess()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentOrganizerTestBase.java | 514 private void onActivityReparentedToTask(int taskId, @NonNull Intent activityIntent, in onActivityReparentedToTask() argument
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 384 Intent activityIntent = new Intent(ACTIVITY_ACTION_NAME); in testQuery() local 388 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, in testQuery() 394 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, in testQuery() 400 mPackageManager.queryIntentActivities(activityIntent, in testQuery()
|