/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleFreeformTests.java | 75 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testLaunchInFreeform() 97 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testMultiLaunchInFreeform() 101 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testMultiLaunchInFreeform() 105 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testMultiLaunchInFreeform() 133 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testLaunchOccludingInFreeform() 139 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testLaunchOccludingInFreeform() 190 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testLaunchTranslucentInFreeform() 197 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testLaunchTranslucentInFreeform() 254 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testPreQTopProcessResumedActivityInFreeform() 261 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testPreQTopProcessResumedActivityInFreeform()
|
D | ActivityLifecycleSplitScreenTests.java | 126 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testOccludingMovedBetweenStacks() 137 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testOccludingMovedBetweenStacks() 170 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testTranslucentMovedBetweenStacks() 182 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testTranslucentMovedBetweenStacks() 235 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testResultInNonFocusedStack() 265 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testResumedWhenRestartedFromInNonFocusedStack() 314 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testResumedTranslucentWhenRestartedFromInNonFocusedStack()
|
D | ActivityLifecyclePipTests.java | 154 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testLaunchBelowPip() 225 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testSplitScreenBelowPip() 240 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testSplitScreenBelowPip() 262 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testPipAboveSplitScreen()
|
D | ActivityLifecycleTopResumedStateTests.java | 314 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testTopPositionSwitchToAnotherVisibleActivity() 341 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testTopPositionSwitchBetweenVisibleActivities() 487 new Intent().setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK)); in testTopPositionSwitchOnTap() 751 defaultDisplayIntent.setFlags(FLAG_ACTIVITY_NEW_TASK); in testTopPositionSwitchAcrossDisplays() 768 newDisplayIntent.setFlags(FLAG_ACTIVITY_NEW_TASK); in testTopPositionSwitchAcrossDisplays() 801 defaultDisplayIntent.setFlags(FLAG_ACTIVITY_NEW_TASK); in testTopPositionSwitchAcrossDisplaysOnTap() 816 newDisplayIntent.setFlags(FLAG_ACTIVITY_NEW_TASK); in testTopPositionSwitchAcrossDisplaysOnTap() 881 defaultDisplaySlowIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() 951 defaultDisplaySlowIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()
|
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/ |
D | ErrorsTests.java | 69 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testException() 88 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testANR() 110 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testNativeCrash() 128 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testTombstone()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 299 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal() 313 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal() 328 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal() 365 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral() 376 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MATCH_EXTERNAL); in testStartEphemeral() 388 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral() 400 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MATCH_EXTERNAL); in testStartEphemeral() 412 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral() 426 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FillResponseTest.java | 127 assertThrows(IllegalArgumentException.class, () -> mBuilder.setFlags(-1)); in testBuilder_setFlag_invalid() 132 mBuilder.setFlags(0); in testBuilder_setFlag_valid() 133 mBuilder.setFlags(FLAG_TRACK_CONTEXT_COMMITED); in testBuilder_setFlag_valid() 134 mBuilder.setFlags(FLAG_DISABLE_ACTIVITY_ONLY); in testBuilder_setFlag_valid() 206 mBuilder.setFlags(FLAG_DISABLE_ACTIVITY_ONLY).setFieldClassificationIds(mAutofillId); in testBuilder_setFieldClassificationIds_addsFlag() 256 assertThrows(IllegalStateException.class, () -> mBuilder.setFlags(0)); in testNoMoreInteractionsAfterBuild()
|
D | CustomDescriptionWithLinkTestCase.java | 68 intent.setFlags( in startActivity() 259 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startActivityOnNewTask() 272 intent.setFlags(Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS | Intent.FLAG_ACTIVITY_NEW_DOCUMENT); in newCustomDescriptionBuilder()
|
D | SaveInfoTest.java | 131 .setFlags(FLAG_DONT_SAVE_ON_FINISH).build()); in testBuild_invalid() 145 assertThat(new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC).setFlags(FLAG_DELAY_SAVE) in testBuild_valid()
|
D | SessionLifecycleTest.java | 141 OutOfProcessLoginActivity.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startAndWaitExternalActivity() 349 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testDatasetVisibleWhileAutofilledAppIsLifecycled() 401 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | RecursiveActivity.java | 35 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in onCreate() 40 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in onCreate()
|
D | AssistantActivity.java | 48 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onCreate() 80 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchActivityIntoAssistantStack()
|
D | TrampolineActivity.java | 39 intent.setFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK); in onCreate()
|
D | FreeformActivity.java | 33 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in onResume()
|
D | TranslucentAssistantActivity.java | 36 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchActivityIntoAssistantStack()
|
/cts/tests/ProcessTest/src/com/android/cts/process/ |
D | ProcessTest.java | 58 sharePidIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testPid() 66 sharePidStubIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testPid() 76 noSharePidIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testPid()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LaunchpadActivity.java | 281 intent.setFlags(0); in onResume() 287 intent.setFlags(0); in onResume() 293 intent.setFlags(0); in onResume() 372 intent.setFlags(0); in onResume() 377 intent.setFlags(0); in onResume() 383 intent.setFlags(0); in onResume() 389 intent.setFlags(0); in onResume()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LaunchpadActivity.java | 287 intent.setFlags(0); in onResume() 294 intent.setFlags(0); in onResume() 300 intent.setFlags(0); in onResume() 379 intent.setFlags(0); in onResume() 384 intent.setFlags(0); in onResume() 390 intent.setFlags(0); in onResume() 396 intent.setFlags(0); in onResume()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 103 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) in testStartSingle() 132 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) in testStartMultiple() 136 .setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in testStartMultiple() 211 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) in testShortcutWrongId()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ReadableUriExtraToClipDataTest.java | 87 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testUriExtraStreamMigratedToClipData_sendIntent() 99 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | OutOfProcessActivity.java | 118 OutOfProcessActivity.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startAndWaitOutOfProcessActivity() 129 OutOfProcessActivity.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startActivity()
|
/cts/tests/acceleration/src/android/acceleration/ |
D | WindowFlagHardwareAcceleratedActivity.java | 27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | SecureActivity.java | 30 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BinderExploitTest.java | 111 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchActivity() 163 in.setFlags(in.getFlags() | Intent.FLAG_ACTIVITY_NEW_DOCUMENT); in setUpBundle()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleActivityStartService.java | 47 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService()
|