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.java2008 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPost() local
2009 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndPost()
2010 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPost()
2011 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPost()
2012 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testNotificationDelegate_grantAndPost()
2015 mContext.startActivity(activityIntent); in testNotificationDelegate_grantAndPost()
2035 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndReadChannels() local
2036 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndReadChannels()
2037 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndReadChannels()
2038 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndReadChannels()
[all …]
DActivityManagerProcessStateTest.java902 final Intent activityIntent = new Intent(); in testBackgroundCheckActivityService() local
903 activityIntent.setClassName(SIMPLE_PACKAGE_NAME, in testBackgroundCheckActivityService()
905 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundCheckActivityService()
928 activityIntent.putExtra("service", mServiceIntent); in testBackgroundCheckActivityService()
929 mContext.startActivity(activityIntent); in testBackgroundCheckActivityService()
1145 final Intent activityIntent = new Intent() in testBgRestrictedForegroundService() local
1162 activityIntent.putExtra("service", serviceStartIntent); in testBgRestrictedForegroundService()
1180 activityIntent.setAction(ACTION_SIMPLE_ACTIVITY_START_FG); in testBgRestrictedForegroundService()
1181 mContext.startActivity(activityIntent); in testBgRestrictedForegroundService()
1203 activityIntent.setAction(ACTION_FINISH_EVERYTHING); in testBgRestrictedForegroundService()
[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()