/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/ |
D | SendPendingIntentReceiver.java | 46 Intent newIntent = new Intent(); in onReceive() local 47 newIntent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in onReceive() 48 newIntent.putExtra(START_ACTIVITY_DELAY_MS_EXTRA, startActivityDelayMs); in onReceive() 50 newIntent, PendingIntent.FLAG_UPDATE_CURRENT); in onReceive() 53 Intent newIntent = new Intent(); in onReceive() local 54 newIntent.setComponent(APP_A_BACKGROUND_ACTIVITY); in onReceive() 55 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive() 58 newIntent, PendingIntent.FLAG_UPDATE_CURRENT); in onReceive()
|
D | ForegroundActivity.java | 65 final Intent newIntent = new Intent(); in onCreate() local 66 newIntent.setClass(this, BackgroundActivity.class); in onCreate() 68 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onCreate() 71 startActivity(newIntent); in onCreate() 75 startActivity(newIntent); in onCreate() 83 Intent newIntent = new Intent(); in onCreate() local 84 newIntent.setClass(this, SecondBackgroundActivity.class); in onCreate() 85 startActivity(newIntent); in onCreate()
|
D | StartBackgroundActivityReceiver.java | 45 Intent newIntent = new Intent(context, BackgroundActivity.class); in startActivityNow() local 46 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startActivityNow() 47 context.startActivity(newIntent); in startActivityNow()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 142 final Intent newIntent = new Intent().setComponent(TextUtils.isEmpty(targetComponent) in launchActivityFromExtras() local 146 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_LAUNCH_ADJACENT); in launchActivityFromExtras() 151 newIntent.setData(data); in launchActivityFromExtras() 155 newIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras() 158 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK); in launchActivityFromExtras() 162 newIntent.addFlags(FLAG_ACTIVITY_REORDER_TO_FRONT); in launchActivityFromExtras() 167 newIntent.putExtras(intentExtras); in launchActivityFromExtras() 176 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras() 180 launchInjector.setupIntent(newIntent); in launchActivityFromExtras() 191 newIntent.addFlags(intentFlags); in launchActivityFromExtras() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | UtilsProvider.java | 68 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | VpnTestActivity.java | 95 Intent newIntent = VpnService.prepare(this); in testVpnEstablishFails() local 96 if (newIntent != null) { in testVpnEstablishFails() 97 startActivityForResult(newIntent, REQUEST_VPN_CODE); in testVpnEstablishFails()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | NewIntentActivity.java | 26 public final CountDownLatch newIntent = new CountDownLatch(1); field in NewIntentActivity 49 newIntent.countDown(); in onNewIntent()
|
D | FragmentTransactionTest.java | 390 assertTrue(newIntentActivity.newIntent.await(1, TimeUnit.SECONDS)); in newIntentUnlocks()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleTopResumedStateTests.java | 383 final Intent newIntent = new Intent(mContext, SingleTopActivity.class); in testTopPositionNewIntent() local 384 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK); in testTopPositionNewIntent() 385 mTargetContext.startActivity(newIntent); in testTopPositionNewIntent() 406 final Intent newIntent = new Intent(mContext, SingleTopActivity.class); in testTopPositionNewIntentForStopped() local 407 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP); in testTopPositionNewIntentForStopped() 408 mTargetContext.startActivity(newIntent); in testTopPositionNewIntentForStopped() 440 final Intent newIntent = new Intent(mContext, SingleTopActivity.class); in testTopPositionNewIntentForPaused() local 441 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP); in testTopPositionNewIntentForPaused() 442 mTargetContext.startActivity(newIntent); in testTopPositionNewIntentForPaused()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerService.java | 188 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/ |
D | ClipboardManagerTest.java | 101 ClipData intentData = ClipData.newIntent("IntentLabel", intent); in testSetPrimaryClip_intent()
|