/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibActivityTest.java | 67 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/ |
D | ActivityLifecycleFreeformTests.java | 81 .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()
|
D | ActivityLifecyclePipTests.java | 150 .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()
|
D | ActivityLifecycleTopResumedStateTests.java | 344 .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 …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 99 .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/ |
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 | 51 .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()
|
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()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/test-app/src/android/security/cts/CVE_2022_20007/ |
D | PocMainActivity.java | 37 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/ |
D | FillResponseTest.java | 136 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/ |
D | TaggingTest.java | 80 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/ |
D | SearchTargetEventTest.java | 47 .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/ |
D | StartForResultActivity.java | 27 startActivityForResult(getIntent().setFlags(0).setComponent(null), 100 /* requestCode */); in onCreate()
|
/cts/tests/acceleration/src/android/acceleration/ |
D | WindowFlagHardwareAcceleratedActivity.java | 27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivityReference.java | 69 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/ |
D | DeviceTest.java | 69 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/ |
D | ContentInfoTest.java | 72 .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/ |
D | ClientTest.java | 320 .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/ |
D | SecureActivity.java | 30 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/ |
D | PocReceiver.java | 37 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileActivity.java | 34 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startFileActivity()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundServiceSticky.java | 52 sendBroadcast(new Intent(ACTION_RESTART_FGS_STICKY_RESULT).setFlags( in onStartCommand()
|
/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/ActivityManagerApi29Test/src/android/app/cts/ |
D | SimpleActivity.java | 44 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onResume()
|