Home
last modified time | relevance | path

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

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt80 val activityIntent = intent.getParcelableExtra<Intent>(EXTRA_INTENT) in <lambda>() constant
81 activityIntent!!.addFlags(FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK) in <lambda>()
82 installDialogStarter.activity.startActivityForResult(activityIntent, 0) in <lambda>()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt74 val activityIntent = intent.getParcelableExtra<Intent>(Intent.EXTRA_INTENT) in <lambda>() constant
75 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in <lambda>()
76 context.startActivity(activityIntent) in <lambda>()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java453 Intent activityIntent = new Intent(a, CameraCtsActivity.class); in forceCtsActivityToTop() local
454 activityIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in forceCtsActivityToTop()
455 a.startActivity(activityIntent); in forceCtsActivityToTop()
516 Intent activityIntent = new Intent(a, klass); in startRemoteProcess() local
517 a.startActivity(activityIntent); in startRemoteProcess()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1968 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPost() local
1969 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndPost()
1970 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPost()
1971 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPost()
1972 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testNotificationDelegate_grantAndPost()
1975 mContext.startActivity(activityIntent); in testNotificationDelegate_grantAndPost()
1995 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndReadChannels() local
1996 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndReadChannels()
1997 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndReadChannels()
1998 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndReadChannels()
[all …]
DActivityManagerProcessStateTest.java874 final Intent activityIntent = new Intent(); in testBackgroundCheckActivityService() local
875 activityIntent.setClassName(SIMPLE_PACKAGE_NAME, in testBackgroundCheckActivityService()
877 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundCheckActivityService()
900 activityIntent.putExtra("service", mServiceIntent); in testBackgroundCheckActivityService()
901 mContext.startActivity(activityIntent); in testBackgroundCheckActivityService()
1139 final Intent activityIntent = new Intent(); in testCantSaveStateLaunchAndBackground() local
1140 activityIntent.setPackage(CANT_SAVE_STATE_1_PACKAGE_NAME); in testCantSaveStateLaunchAndBackground()
1141 activityIntent.setAction(Intent.ACTION_MAIN); in testCantSaveStateLaunchAndBackground()
1142 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testCantSaveStateLaunchAndBackground()
1143 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testCantSaveStateLaunchAndBackground()
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java120 Intent activityIntent = new Intent(ACTIVITY_ACTION_NAME); in testQuery() local
124 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, 0); in testQuery()
129 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, 0); in testQuery()
134 mPackageManager.queryIntentActivities(activityIntent, 0); in testQuery()