Searched refs:launchIntent (Results 1 – 4 of 4) sorted by relevance
235 Intent launchIntent = new Intent(); in assertPermissionRequest() local236 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() local252 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 …]
74 Intent launchIntent = new Intent(); in startTestActivity() local75 launchIntent.setComponent(new ComponentName(PACKAGE_NAME, in startTestActivity()77 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startTestActivity()78 mContext.startActivity(launchIntent); in startTestActivity()
206 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_withinTask() local208 lockTaskUtility.putExtra(LockTaskUtilityActivity.START_ACTIVITY, launchIntent); in testStartActivity_withinTask()230 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_outsideTaskWhitelisted() local231 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartActivity_outsideTaskWhitelisted()232 mContext.startActivity(launchIntent); in testStartActivity_outsideTaskWhitelisted()250 Intent launchIntent = getIntentReceivingActivityIntent(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartActivity_outsideTaskNonWhitelisted() local251 mContext.startActivity(launchIntent); in testStartActivity_outsideTaskNonWhitelisted()
343 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate() local344 startActivity(launchIntent); in onCreate()