Home
last modified time | relevance | path

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

12345678910>>...12

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibActivityTest.java67 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in launchEventLibActivity_logsActivityCreatedEvent()
81 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName()
95 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in startEventLibActivity_logsActivityStartedEvent()
112 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName()
129 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in stopEventLibActivity_logsActivityStoppedEvent()
146 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName()
163 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in destroyEventLibActivity_logsActivityDestroyedEvent()
180 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName()
197 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in pauseEventLibActivity_logsActivityPausedEvent()
216 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleFreeformTests.java81 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchInFreeform()
102 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testMultiLaunchInFreeform()
107 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testMultiLaunchInFreeform()
112 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testMultiLaunchInFreeform()
139 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchOccludingInFreeform()
146 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchOccludingInFreeform()
195 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchTranslucentInFreeform()
202 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchTranslucentInFreeform()
259 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testPreQTopProcessResumedActivityInFreeform()
266 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in testPreQTopProcessResumedActivityInFreeform()
DActivityLifecyclePipTests.java150 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLaunchBelowPip()
227 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testSplitScreenBelowPip()
233 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testSplitScreenBelowPip()
248 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testSplitScreenBelowPip()
274 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testPipAboveSplitScreen()
DActivityLifecycleTopResumedStateTests.java344 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testTopPositionSwitchToAnotherVisibleActivity()
368 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testTopPositionSwitchBetweenVisibleActivities()
375 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testTopPositionSwitchBetweenVisibleActivities()
390 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testTopPositionSwitchBetweenVisibleActivities()
411 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testTopPositionNewIntent()
433 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP) in testTopPositionNewIntentForStopped()
465 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP) in testTopPositionNewIntentForPaused()
509 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testTopPositionSwitchOnTap()
794 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testTopPositionSwitchAcrossDisplays()
812 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testTopPositionSwitchAcrossDisplays()
[all …]
DActivityLifecycleLegacySplitScreenTests.java99 .setFlags(FLAG_ACTIVITY_MULTIPLE_TASK | FLAG_ACTIVITY_NEW_TASK) in testResumedWhenRecreatedFromInNonFocusedTask()
131 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testOccludingOnSplitSecondaryTask()
143 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testTranslucentOnSplitSecondaryTask()
154 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testTranslucentOnSplitSecondaryTask()
217 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testResumedWhenRestartedFromInNonFocusedTask()
280 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testLifecycleOnMoveToFromSplitScreenRelaunch()
/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.java51 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onCreate()
83 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()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/test-app/src/android/security/cts/CVE_2022_20007/
DPocMainActivity.java37 coverIntent.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_NEW_TASK in onCreate()
41 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_NO_HISTORY); in onCreate()
52 secondVictimIntent.setFlags( in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DFillResponseTest.java136 assertThrows(IllegalArgumentException.class, () -> mBuilder.setFlags(-1)); in testBuilder_setFlag_invalid()
141 mBuilder.setFlags(0); in testBuilder_setFlag_valid()
142 mBuilder.setFlags(FLAG_TRACK_CONTEXT_COMMITED); in testBuilder_setFlag_valid()
143 mBuilder.setFlags(FLAG_DISABLE_ACTIVITY_ONLY); in testBuilder_setFlag_valid()
144 mBuilder.setFlags(FLAG_DELAY_FILL); in testBuilder_setFlag_valid()
216 mBuilder.setFlags(FLAG_DISABLE_ACTIVITY_ONLY).setFieldClassificationIds(mAutofillId); in testBuilder_setFieldClassificationIds_addsFlag()
294 assertThrows(IllegalStateException.class, () -> mBuilder.setFlags(0)); in testNoMoreInteractionsAfterBuild()
/cts/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/
DTaggingTest.java80 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testMemoryTagSyncChecksEnabled()
98 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testMemoryTagAsyncChecksEnabled()
137 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testMemoryTagSyncActivityChecksEnabled()
154 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testMemoryTagAsyncActivityChecksEnabled()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetEventTest.java47 .setLaunchLocation(LOCATION).setFlags(FLAG_IME_SHOWN).build(); in testBuilder()
55 .setLaunchLocation(LOCATION).setFlags(FLAG_IME_SHOWN).build(); in testParcel()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DStartForResultActivity.java27 startActivityForResult(getIntent().setFlags(0).setComponent(null), 100 /* requestCode */); in onCreate()
/cts/tests/acceleration/src/android/acceleration/
DWindowFlagHardwareAcceleratedActivity.java27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivityReference.java69 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in start()
91 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in start()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20475/test-app/src/android/security/cts/CVE_2022_20475/
DDeviceTest.java69 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testCVE_2022_20475()
79 targetIntent.setFlags( in testCVE_2022_20475()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java72 .setFlags(ContentInfo.FLAG_CONVERT_TO_PLAIN_TEXT) in testPartition_multipleItems()
110 .setFlags(ContentInfo.FLAG_CONVERT_TO_PLAIN_TEXT) in testPartition_singleItem()
130 .setFlags(ContentInfo.FLAG_CONVERT_TO_PLAIN_TEXT) in testBuilder_copy()
150 .setFlags(ContentInfo.FLAG_CONVERT_TO_PLAIN_TEXT) in testBuilder_copyAndUpdate()
162 .setFlags(0) in testBuilder_copyAndUpdate()
278 .setFlags(ContentInfo.FLAG_CONVERT_TO_PLAIN_TEXT) in testParcel_withAllMetadata()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java320 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal()
334 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal()
349 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartNormal()
386 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral()
397 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MATCH_EXTERNAL); in testStartEphemeral()
409 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral()
421 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MATCH_EXTERNAL); in testStartEphemeral()
433 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral()
447 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testStartEphemeral()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DSecureActivity.java30 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39794/receiver-app/src/android/security/cts/CVE_2021_39794_receiver/
DPocReceiver.java37 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
/cts/tests/filesystem/src/android/filesystem/cts/
DFileActivity.java34 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startFileActivity()
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundServiceSticky.java52 sendBroadcast(new Intent(ACTION_RESTART_FGS_STICKY_RESULT).setFlags( in onStartCommand()
/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/ActivityManagerApi29Test/src/android/app/cts/
DSimpleActivity.java44 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onResume()

12345678910>>...12