Home
last modified time | relevance | path

Searched refs:setFlags (Results 1 – 25 of 114) sorted by relevance

12345

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleFreeformTests.java75 .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()
DActivityLifecycleSplitScreenTests.java126 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()
DActivityLifecyclePipTests.java154 .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()
DActivityLifecycleTopResumedStateTests.java314 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/
DErrorsTests.java69 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/
DClientTest.java299 .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/
DFillResponseTest.java127 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()
DCustomDescriptionWithLinkTestCase.java68 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()
DSaveInfoTest.java131 .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()
DSessionLifecycleTest.java141 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/
DRecursiveActivity.java35 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()
DAssistantActivity.java48 .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()
DTrampolineActivity.java39 intent.setFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK); in onCreate()
DFreeformActivity.java33 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in onResume()
DTranslucentAssistantActivity.java36 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchActivityIntoAssistantStack()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java58 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/
DLaunchpadActivity.java281 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/
DLaunchpadActivity.java287 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/
DShortcutManagerStartShortcutTest.java103 .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/
DReadableUriExtraToClipDataTest.java87 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/
DOutOfProcessActivity.java118 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/
DWindowFlagHardwareAcceleratedActivity.java27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DSecureActivity.java30 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DBinderExploitTest.java111 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/
DSimpleActivityStartService.java47 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService()

12345