Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVITY_NEW_TASK (Results 1 – 25 of 246) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java36 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getTextEditorIntent()
63 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK) in getShareIntent()
77 editIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getImageEditIntent()
92 nearbyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getRemoteCopyIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt68 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createShare()
90 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createEdit()
98 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createLongScreenshotIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt46 Intent.FLAG_ACTIVITY_NEW_TASK or in testCreateShare()
82 Intent.FLAG_ACTIVITY_NEW_TASK or in testCreateShareWithSubject()
106 Intent.FLAG_ACTIVITY_NEW_TASK or in testCreateShareWithText()
138 Intent.FLAG_ACTIVITY_NEW_TASK or in testCreateEdit()
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/bluetooth/
DBluetoothController.kt60 intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK in enableBluetooth()
71 intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK in becomeDiscoverable()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java21 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
152 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in launchEmergencyDialer()
160 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in createBaseIntent()
DSetScreenLockDialogActivity.java21 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
157 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in createBaseIntent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUnarchiveErrorFragment.java19 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
167 null, /* flagsMask= */ 0, FLAG_ACTIVITY_NEW_TASK, /* extraFlags= */ 0); in onClickInternal() local
172 null, /* flagsMask= */ 0, FLAG_ACTIVITY_NEW_TASK, /* extraFlags= */ 0); in onClickInternal() local
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionService.java27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onLaunchVoiceAssistFromKeyguard()
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaRecommendationsInteractorTest.kt139 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in removeRecommendation_noTrampolineActivity()
151 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in removeRecommendation_usingTrampolineActivity()
172 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in startClickIntent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java60 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
70 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DAlwaysOnDisconnectedDialog.java88 … intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onClick()
126 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onClick()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java30 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
289 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
292 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
313 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
316 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
336 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
339 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
356 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
365 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
380 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
[all …]
DActivityLeakTests.java21 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
115 intent.addFlags(flags | FLAG_ACTIVITY_NEW_TASK); in startActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/util/
DWallpaperPickerIntentUtils.kt28 flags = Intent.FLAG_ACTIVITY_NEW_TASK in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java124 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
175 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
271 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startCallActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/logcat/
DLogAccessDialogActivityTest.java83 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getIntent()
88 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getIntent()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DLaunchNewTaskActivity.java40 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in onCreate()
DSplitScreenActivity.java42 intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT | Intent.FLAG_ACTIVITY_NEW_TASK in onPostCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DPanelTaskViewControllerTest.kt26 import android.content.Intent.FLAG_ACTIVITY_NEW_TASK
124 .isEqualTo(FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_MULTIPLE_TASK) in testTaskViewOnInitializeStartsActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DEditWidgetsActivityStarter.kt44 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK) in startActivity()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java44 … .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK), PendingIntent.FLAG_MUTABLE_UNAUDITED)) in onStartCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationDialogFactory.java151 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in reenrollFingerprint()
191 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in reenrollFace()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java24 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
140 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in getContentIntent()

12345678910