Home
last modified time | relevance | path

Searched refs:launchIntent (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java235 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 …]
DScreenCaptureDisabledTest.java74 Intent launchIntent = new Intent(); in startTestActivity() local
75 launchIntent.setComponent(new ComponentName(PACKAGE_NAME, in startTestActivity()
77 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startTestActivity()
78 mContext.startActivity(launchIntent); in startTestActivity()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DLockTaskTest.java206 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_withinTask() local
208 lockTaskUtility.putExtra(LockTaskUtilityActivity.START_ACTIVITY, launchIntent); in testStartActivity_withinTask()
230 Intent launchIntent = getIntentReceivingActivityIntent(0); in testStartActivity_outsideTaskWhitelisted() local
231 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() local
251 mContext.startActivity(launchIntent); in testStartActivity_outsideTaskNonWhitelisted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java343 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate() local
344 startActivity(launchIntent); in onCreate()