Home
last modified time | relevance | path

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

123

/cts/hostsidetests/services/activityandwindowmanager/activitymanager/appSecondUid/src/android/server/cts/second/
DLaunchBroadcastReceiver.java49 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in onReceive()
51 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
/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/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
DAssistantActivity.java49 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onCreate()
74 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchActivityIntoAssistantStack()
DFreeformActivity.java33 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in onResume()
DTrampolineActivity.java40 intent.setFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK); in onCreate()
DAlwaysFocusablePipActivity.java31 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchAlwaysFocusablePipActivity()
DTranslucentAssistantActivity.java35 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK); in launchActivityIntoAssistantStack()
/cts/tests/acceleration/src/android/acceleration/
DWindowFlagHardwareAcceleratedActivity.java27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DLaunchpadActivity.java283 intent.setFlags(0); in onResume()
289 intent.setFlags(0); in onResume()
295 intent.setFlags(0); in onResume()
374 intent.setFlags(0); in onResume()
379 intent.setFlags(0); in onResume()
385 intent.setFlags(0); in onResume()
391 intent.setFlags(0); in onResume()
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java283 intent.setFlags(0); in onResume()
289 intent.setFlags(0); in onResume()
295 intent.setFlags(0); in onResume()
374 intent.setFlags(0); in onResume()
379 intent.setFlags(0); in onResume()
385 intent.setFlags(0); in onResume()
391 intent.setFlags(0); in onResume()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerStartShortcutTest.java96 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) in testStartSingle()
122 .setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) in testStartMultiple()
126 .setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in testStartMultiple()
198 .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/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityStartService.java47 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService()
/cts/tests/tests/media/src/android/media/cts/
DFaceDetectorTest.java37 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUp()
DAudioAttributesTest.java49 .setFlags(AudioAttributes.FLAG_AUDIBILITY_ENFORCED).build(); in testParcelableWriteToParcelCreate()
DFaceDetector_FaceTest.java38 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUp()
DAudioManagerStub.java86 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onResume()
/cts/hostsidetests/incident/apps/storagedapp/src/com/android/server/cts/storaged/
DStoragedTest.java45 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | in testForegroundIO()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DSecureActivity.java36 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
/cts/libs/wrappedgtest/src/
DWrappedGTestInstrumentation.java60 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onStart()
/cts/tests/app/src/android/app/cts/
DBaseProcessInstrumentation.java48 intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DLockTaskUtilityActivity.java88 intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in sendLocalBroadcast()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFinishSessionTest.java71 .setFlags(SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE) in removeViewsBaseTest()
188 .setFlags(SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE) in activityToBackgroundShouldNotTriggerSave()
DLoginActivity.java254 void setFlags(int flags) { in setFlags() method in LoginActivity
256 syncRunOnUiThread(() -> getWindow().setFlags(flags, flags)); in setFlags()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPersistentIntentResolvingTest.java116 exampleIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in sendExampleIntent()

123