/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | TestActivityWithSameAffinity.java | 45 Intent launchIntent = new Intent(); in onCreate() local 46 launchIntent.setComponent(ComponentName.unflattenFromString(launchActivityComponent)); in onCreate() 47 startActivity(launchIntent); in onCreate()
|
D | AssistantActivity.java | 49 final Intent launchIntent = new Intent(); in onCreate() local 50 launchIntent.setComponent(launchActivity) in onCreate() 56 startActivity(launchIntent, displayOptions.toBundle()); in onCreate() 58 startActivity(launchIntent); in onCreate()
|
D | PipActivity.java | 281 Intent launchIntent = new Intent(); in onCreate() local 282 launchIntent.setComponent(ComponentName.unflattenFromString(launchActivityComponent)); in onCreate() 283 startActivity(launchIntent); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AutofillActivity.java | 42 final Intent launchIntent = new Intent(); in onCreate() local 43 launchIntent.setComponent(new ComponentName(AUTOFILL_PACKAGE_NAME, AUTOFILL_ACTIVITY_NAME)); in onCreate() 44 startActivityForResult(launchIntent, 42); in onCreate()
|
D | ContentCaptureRestrictionsTest.java | 60 final Intent launchIntent = new Intent(); in testDisallowContentCapture_allowed() local 61 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testDisallowContentCapture_allowed() 62 launchIntent.setClassName(CONTENT_CAPTURE_PACKAGE_NAME, CONTENT_CAPTURE_ACTIVITY_NAME); in testDisallowContentCapture_allowed()
|
D | AutofillRestrictionsTest.java | 77 final Intent launchIntent = new Intent(); in launchActivityAndGetEnabled() local 78 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchActivityAndGetEnabled() 79 launchIntent.setClassName(AUTOFILL_PACKAGE_NAME, AUTOFILL_ACTIVITY_NAME); in launchActivityAndGetEnabled()
|
D | ContentCaptureActivity.java | 54 final Intent launchIntent = new Intent(); in onCreate() local 55 launchIntent.setComponent( in onCreate() 57 startActivityForResult(launchIntent, 42); in onCreate()
|
D | MeteredDataRestrictionTest.java | 119 final Intent launchIntent = new Intent() in verifyAppNetworkState() local 123 mContext.startActivity(launchIntent); in verifyAppNetworkState()
|
/cts/hostsidetests/packagemanager/extractnativelibs/apps/app_no_extract/src/com/android/cts/extractnativelibs/app/noextract/ |
D | ExtractNativeLibsFalseDeviceTest.java | 67 Intent launchIntent = mContext.getPackageManager().getLaunchIntentForPackage( in launchActivity() local 69 Assert.assertNotNull(launchIntent); in launchActivity() 70 mContext.startActivity(launchIntent); in launchActivity()
|
/cts/hostsidetests/packagemanager/extractnativelibs/apps/app_extract/src/com/android/cts/extractnativelibs/app/extract/ |
D | ExtractNativeLibsTrueDeviceTest.java | 74 Intent launchIntent = mContext.getPackageManager().getLaunchIntentForPackage( in launchActivity() local 76 Assert.assertNotNull(launchIntent); in launchActivity() 77 mContext.startActivity(launchIntent); in launchActivity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | LaunchSequence.java | 174 public ConsecutiveLaunch(LaunchSequence previous, LaunchIntent launchIntent, in ConsecutiveLaunch() argument 177 mLaunchIntent = launchIntent; in ConsecutiveLaunch() 222 public RootLaunch(LaunchIntent launchIntent) { in RootLaunch() argument 223 mLaunchIntent = launchIntent; in RootLaunch()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | PermissionUtils.java | 131 Intent launchIntent = new Intent(); in launchActivityWithAction() local 132 launchIntent.setComponent(new ComponentName(packageName, activityName)); in launchActivityWithAction() 133 launchIntent.putExtra(EXTRA_PERMISSION, permission); in launchActivityWithAction() 134 launchIntent.setAction(action); in launchActivityWithAction() 135 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityWithAction() 136 Log.d(LOG_TAG, "Launching activity (with intent " + launchIntent + ") for permission " in launchActivityWithAction() 138 getContext().startActivity(launchIntent); in launchActivityWithAction()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TabHostTest.java | 115 final Intent launchIntent = new Intent(Intent.ACTION_MAIN); in testSetup1() local 116 launchIntent.setClassName("android.widget.cts", CtsActivity.class.getName()); in testSetup1() 117 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testSetup1() 118 final Activity activity = mInstrumentation.startActivitySync(launchIntent); in testSetup1() 149 final Intent launchIntent = new Intent(Intent.ACTION_MAIN); in testSetup2() local 150 launchIntent.setClassName("android.widget.cts", ActivityGroup.class.getName()); in testSetup2() 151 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testSetup2() 153 (ActivityGroup) mInstrumentation.startActivitySync(launchIntent); in testSetup2()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResourcesHardeningTest.java | 356 final Intent launchIntent = new Intent(Intent.ACTION_MAIN); in start() local 357 launchIntent.setClassName(TestUtils.TEST_APP_PACKAGE, TestUtils.TEST_ACTIVITY_NAME); in start() 358 launchIntent.putExtra(TestUtils.TEST_NAME_EXTRA_KEY, mTestName); in start() 359 launchIntent.putExtra(TestUtils.TEST_ASSERT_SUCCESS_EXTRA_KEY, assertSuccess); in start() 360 launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in start() 363 getContext().startActivity(launchIntent); in start()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 285 final Intent launchIntent = new Intent(Intent.ACTION_VIEW).setComponent(componentName); in checkActivityStartOnDisplay() local 288 .isActivityStartAllowedOnDisplay(context, displayId, launchIntent); in checkActivityStartOnDisplay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 373 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate() local 374 if (launchIntent != null) { in onCreate() 375 startActivity(launchIntent); in onCreate()
|