Home
last modified time | relevance | path

Searched refs:newIntent (Results 1 – 7 of 7) sorted by relevance

/cts/tests/framework/base/activitymanager/util/src/android/server/am/
DActivityLauncher.java104 final Intent newIntent = new Intent().setComponent(TextUtils.isEmpty(targetComponent) in launchActivityFromExtras() local
108 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_LAUNCH_ADJACENT); in launchActivityFromExtras()
113 newIntent.setData(data); in launchActivityFromExtras()
117 newIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras()
120 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK); in launchActivityFromExtras()
124 newIntent.addFlags(FLAG_ACTIVITY_REORDER_TO_FRONT); in launchActivityFromExtras()
132 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras()
145 newIntent, 0, optionsBundle); in launchActivityFromExtras()
148 launchContext.startActivity(newIntent, optionsBundle); in launchActivityFromExtras()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java68 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in call() local
69 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in call()
70 context.startActivity(newIntent); in call()
73 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in call() local
74 context.startService(newIntent); in call()
/cts/tests/fragment/src/android/fragment/cts/
DNewIntentActivity.java26 public final CountDownLatch newIntent = new CountDownLatch(1); field in NewIntentActivity
49 newIntent.countDown(); in onNewIntent()
DFragmentTransactionTest.java389 assertTrue(newIntentActivity.newIntent.await(1, TimeUnit.SECONDS)); in newIntentUnlocks()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DVpnTestActivity.java95 Intent newIntent = VpnService.prepare(this); in testVpnEstablishFails() local
96 if (newIntent != null) { in testVpnEstablishFails()
97 startActivityForResult(newIntent, REQUEST_VPN_CODE); in testVpnEstablishFails()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerService.java188 Intent newIntent = new Intent(BLE_PRIVACY_NEW_MAC_RECEIVE); in onScanResult() local
189 sendBroadcast(newIntent); in onScanResult()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java91 ClipData intentData = ClipData.newIntent("IntentLabel", intent); in testSetPrimaryClip_intent()