Home
last modified time | relevance | path

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

/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
DLaunchToSideActivity.java19 Intent newIntent = new Intent(); in onNewIntent() local
23 newIntent.setComponent(new ComponentName(packageName, in onNewIntent()
26 newIntent.setClass(this, TestActivity.class); in onNewIntent()
28 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_LAUNCH_ADJACENT); in onNewIntent()
30 newIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in onNewIntent()
36 newIntent.setData(data); in onNewIntent()
38 startActivity(newIntent); in onNewIntent()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DGrantUriPermission.java57 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in onReceive() local
58 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
59 context.startActivity(newIntent); in onReceive()
62 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in onReceive() local
63 context.startService(newIntent); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DVpnTestActivity.java94 Intent newIntent = VpnService.prepare(this); in testVpnEstablishFails() local
95 if (newIntent != null) { in testVpnEstablishFails()
96 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.java74 ClipData intentData = ClipData.newIntent("IntentLabel", intent); in testSetPrimaryClip_intent()