Searched refs:launchIntent (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 235 Intent launchIntent = new Intent(); in assertPermissionRequest() local 236 launchIntent.setComponent(new ComponentName(PERMISSION_APP_PACKAGE_NAME, in assertPermissionRequest() 238 launchIntent.putExtra(EXTRA_PERMISSION, PERMISSION_NAME); in assertPermissionRequest() 239 launchIntent.setAction(ACTION_REQUEST_PERMISSION); in assertPermissionRequest() 240 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in assertPermissionRequest() 241 mContext.startActivity(launchIntent); in assertPermissionRequest() 251 Intent launchIntent = new Intent(); in assertPermissionGrantState() local 252 launchIntent.setComponent(new ComponentName(PERMISSION_APP_PACKAGE_NAME, in assertPermissionGrantState() 254 launchIntent.putExtra(EXTRA_PERMISSION, PERMISSION_NAME); in assertPermissionGrantState() 255 launchIntent.setAction(ACTION_CHECK_HAS_PERMISSION); in assertPermissionGrantState() [all …]
|
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 | 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()
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
D | TestActivityWithSameAffinity.java | 52 Intent launchIntent = new Intent(); in onCreate() local 53 launchIntent.setComponent(ComponentName.unflattenFromString(launchActivityComponent)); in onCreate() 54 startActivity(launchIntent); in onCreate()
|
D | PipActivity.java | 204 Intent launchIntent = new Intent(); in onCreate() local 205 launchIntent.setComponent(ComponentName.unflattenFromString(launchActivityComponent)); in onCreate() 206 startActivity(launchIntent); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | LockTaskTest.java | 231 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_withinTask() local 233 lockTaskUtility.putExtra(LockTaskUtilityActivity.START_ACTIVITY, launchIntent); in testStartActivity_withinTask() 253 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_outsideTaskWhitelisted() local 254 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartActivity_outsideTaskWhitelisted() 255 mContext.startActivity(launchIntent); in testStartActivity_outsideTaskWhitelisted() 271 Intent launchIntent = getIntentReceivingActivityIntent(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartActivity_outsideTaskNonWhitelisted() local 272 mContext.startActivity(launchIntent); in testStartActivity_outsideTaskNonWhitelisted()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TabHostTest.java | 103 final Intent launchIntent = new Intent(Intent.ACTION_MAIN); in testSetup1() local 104 launchIntent.setClassName("android.widget.cts", CtsActivity.class.getName()); in testSetup1() 105 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testSetup1() 106 final Activity activity = mInstrumentation.startActivitySync(launchIntent); in testSetup1() 137 final Intent launchIntent = new Intent(Intent.ACTION_MAIN); in testSetup2() local 138 launchIntent.setClassName("android.widget.cts", ActivityGroup.class.getName()); in testSetup2() 139 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testSetup2() 141 (ActivityGroup) mInstrumentation.startActivitySync(launchIntent); in testSetup2()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 914 final Intent launchIntent = getIntentForComponent(type); in launchComponentAndAssertNetworkAccess() local 918 launchIntent.putExtras(extras); in launchComponentAndAssertNetworkAccess() 919 mContext.startActivity(launchIntent); in launchComponentAndAssertNetworkAccess() 938 final Intent launchIntent = getIntentForComponent(TYPE_COMPONENT_FOREGROUND_SERVICE); in startForegroundService() local 939 mContext.startForegroundService(launchIntent); in startForegroundService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 353 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate() local 354 startActivity(launchIntent); in onCreate()
|