/cts/tests/app/shared/src/android/app/cts/ |
D | NotificationTemplateTestBase.kt | 53 val activityIntent = Intent(context, NotificationHostActivity::class.java) in <lambda>() constant 54 activityIntent.putExtra(NotificationHostActivity.EXTRA_REMOTE_VIEWS, views) in <lambda>() 56 activityIntent.putExtra(NotificationHostActivity.EXTRA_HEIGHT, in <lambda>() 59 ActivityScenario.launch<NotificationHostActivity>(activityIntent).use { scenario -> in <lambda>()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 273 Intent activityIntent = new Intent(Intent.ACTION_MAIN); in doStartActivity() local 274 sActivityIntent.put(targetPackage, activityIntent); in doStartActivity() 275 activityIntent.putExtras(commandIntent); in doStartActivity() 276 activityIntent.setComponent(new ComponentName(targetPackage, ACTIVITY_NAME)); in doStartActivity() 277 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in doStartActivity() 278 context.startActivity(activityIntent); in doStartActivity() 283 Intent activityIntent = sActivityIntent.remove(targetPackage); in doStopActivity() local 284 activityIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); in doStopActivity() 285 activityIntent.putExtra("finish", true); in doStopActivity() 286 context.startActivity(activityIntent); in doStopActivity()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 104 Intent activityIntent = activity.getIntent(); in createResult() local 106 if (activityIntent.hasExtra(TEST_START_TIME)) { in createResult() 107 data.putExtra(TEST_START_TIME, activityIntent.getLongExtra(TEST_START_TIME, 0)); in createResult()
|
/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/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 79 val activityIntent = intent.getParcelableExtra<Intent>(Intent.EXTRA_INTENT) in onReceive() constant 80 activityIntent!!.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in onReceive() 81 context.startActivity(activityIntent) in onReceive()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PackageInstallerTestBase.kt | 85 val activityIntent = intent.getParcelableExtra<Intent>(EXTRA_INTENT) in <lambda>() constant 86 activityIntent!!.addFlags(FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK) in <lambda>() 87 installDialogStarter.activity.startActivityForResult(activityIntent) in <lambda>()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DialogTests.java | 127 final Intent activityIntent = mTestAppInterface.awaitTestActivityStart(); in testInterceptorActivity_unsuspend() local 128 assertNotNull("Test activity did not start on neutral button tap", activityIntent); in testInterceptorActivity_unsuspend() 130 extrasForStart, activityIntent.getExtras()); in testInterceptorActivity_unsuspend()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 2539 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPost() local 2540 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndPost() 2541 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPost() 2542 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPost() 2543 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testNotificationDelegate_grantAndPost() 2546 mContext.startActivity(activityIntent); in testNotificationDelegate_grantAndPost() 2565 final Intent activityIntent = new Intent(); in testNotificationDelegate_grantAndPostAndCancel() local 2566 activityIntent.setPackage(DELEGATOR); in testNotificationDelegate_grantAndPostAndCancel() 2567 activityIntent.setAction(Intent.ACTION_MAIN); in testNotificationDelegate_grantAndPostAndCancel() 2568 activityIntent.addCategory(Intent.CATEGORY_LAUNCHER); in testNotificationDelegate_grantAndPostAndCancel() [all …]
|
D | ActivityManagerProcessStateTest.java | 950 final Intent activityIntent = new Intent(); in testBackgroundCheckActivityService() local 951 activityIntent.setClassName(SIMPLE_PACKAGE_NAME, in testBackgroundCheckActivityService() 953 activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundCheckActivityService() 978 activityIntent.putExtra("service", mServiceIntent); in testBackgroundCheckActivityService() 979 mTargetContext.startActivity(activityIntent); in testBackgroundCheckActivityService() 1201 final Intent activityIntent = new Intent() in testBgRestrictedForegroundService() local 1220 activityIntent.putExtra("service", serviceStartIntent); in testBgRestrictedForegroundService() 1238 activityIntent.setAction(ACTION_SIMPLE_ACTIVITY_START_FG); in testBgRestrictedForegroundService() 1239 mTargetContext.startActivity(activityIntent); in testBgRestrictedForegroundService() 1261 activityIntent.setAction(ACTION_FINISH_EVERYTHING); in testBgRestrictedForegroundService() [all …]
|
D | PendingIntentTest.java | 700 Intent activityIntent = new Intent(); in testGetIntentComponentAndType() local 701 activityIntent.setClass(mContext, MockActivity.class); in testGetIntentComponentAndType() 703 activityIntent, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE); in testGetIntentComponentAndType()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 528 Intent activityIntent = new Intent(a, CameraCtsActivity.class); in forceCtsActivityToTop() local 529 activityIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in forceCtsActivityToTop() 530 a.startActivity(activityIntent); in forceCtsActivityToTop() 591 Intent activityIntent = new Intent(a, klass); in startRemoteProcess() local 592 a.startActivity(activityIntent); in startRemoteProcess()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 187 Intent activityIntent = new Intent(ACTIVITY_ACTION_NAME); in testQuery() local 191 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, 0); in testQuery() 196 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, 0); in testQuery() 201 mPackageManager.queryIntentActivities(activityIntent, 0); in testQuery()
|