Searched refs:newIntent (Results 1 – 5 of 5) sorted by relevance
19 Intent newIntent = new Intent(); in onNewIntent() local23 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()
57 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in onReceive() local58 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() local63 context.startService(newIntent); in onReceive()
94 Intent newIntent = VpnService.prepare(this); in testVpnEstablishFails() local95 if (newIntent != null) { in testVpnEstablishFails()96 startActivityForResult(newIntent, REQUEST_VPN_CODE); in testVpnEstablishFails()
188 Intent newIntent = new Intent(BLE_PRIVACY_NEW_MAC_RECEIVE); in onScanResult() local189 sendBroadcast(newIntent); in onScanResult()
74 ClipData intentData = ClipData.newIntent("IntentLabel", intent); in testSetPrimaryClip_intent()