Home
last modified time | relevance | path

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

12345678910>>...20

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
H A DSubSettingLauncherTest.java95 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch_shouldIncludeAllParams()
107 assertThat(intent.getFlags()).isEqualTo(Intent.FLAG_ACTIVITY_NEW_TASK); in launch_shouldIncludeAllParams()
124 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch_hasRequestListener_shouldStartActivityForResult()
142 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch_hasUserHandle_shouldStartActivityAsUser()
161 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch_hasUserHandleAndRequestCode_shouldStartActivityForResultAsUser()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DTestLauncherActivity.java20 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
32 .addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); in getTargetIntent()
/aosp12/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/
H A DSendDpcBroadcastServiceTest.java127 assertThat(launchedActivityIntent.getFlags()).isEqualTo(Intent.FLAG_ACTIVITY_NEW_TASK); in onStartCommand_legacyFlow_launchesDpcProvisioningSuccessful()
142 assertThat(launchedActivityIntent.getFlags()).isEqualTo(Intent.FLAG_ACTIVITY_NEW_TASK); in onStartCommand_adminIntegratedFlow_launchesDpcPolicyCompliance()
209 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createDpcLaunchIntent()
217 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createPolicyComplianceIntent()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DShortcutController.kt76 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
93 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
132 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
141 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
/aosp12/packages/apps/Traceur/src/com/android/traceur/
H A DFileSender.java51 sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in postNotification()
56 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_RECEIVER_FOREGROUND); in postNotification()
87 sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in send()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppReceiver.java98 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
148 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); in onReceive()
159 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); in onReceive()
168 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); in onReceive()
177 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); in onReceive()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DRecentTasksTest.java286 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
289 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
353 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
362 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
377 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
387 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
401 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleWindowingMode_expectRemove()
409 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleWindowingMode_expectRemove()
425 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskIncompatibleWindowingMode_expectNoRemove()
432 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskIncompatibleWindowingMode_expectNoRemove()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/activities/
H A DSimImportActivityTest.java144 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in shouldDisplaySimContacts()
160 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in shouldHaveEmptyState()
173 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in smokeRotateInEmptyState()
191 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in smokeRotateInNonEmptyState()
264 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in selectionsAreImportedAndDisabledOnSubsequentImports()
326 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in selectionsAreImportedAndDisabledOnSubsequentImports()
/aosp12/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
H A DClusterOsDoubleApplication.java19 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
59 intent.addFlags(FLAG_ACTIVITY_NEW_TASK); in onCreate()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java267 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getParentalControlsIntent()
309 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getWorkPolicyInfoIntentDO()
333 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getWorkPolicyInfoIntentPO()
352 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in onClick()
/aosp12/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/
H A DPermissionHub2Test.kt25 import android.content.Intent.FLAG_ACTIVITY_NEW_TASK
80 .setFlags(FLAG_ACTIVITY_NEW_TASK))
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenRuleStarredContactsPreferenceController.java47 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in ZenRuleStarredContactsPreferenceController()
51 mFallbackIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in ZenRuleStarredContactsPreferenceController()
H A DZenModePrioritySendersPreferenceController.java58 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
61 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
63 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/core/
H A DLifecycleEventHandlingTest.java19 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
69 .addFlags(FLAG_ACTIVITY_NEW_TASK) in launchDashboard_shouldSeeFooter()
/aosp12/packages/apps/Camera2/tests/src/com/android/camera/functional/
H A DCameraTest.java39 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testVideoCaptureIntentFdLeak()
59 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in checkActivityLeak()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/ui/
H A DMoreOptionsFragment.java73 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in onCreate()
202 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in updateEnabler()
215 Intent.FLAG_ACTIVITY_NEW_TASK)); in updateDownloader()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DImageActionUtils.java19 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
103 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in shareImage()
268 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in getShareIntentForImageUri()
273 return new Intent[]{Intent.createChooser(intent, null).addFlags(FLAG_ACTIVITY_NEW_TASK)}; in getShareIntentForImageUri()
/aosp12/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
H A DCameraTest.java45 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testVideoCaptureIntentFdLeak()
65 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in checkActivityLeak()
/aosp12/packages/apps/Camera2/tests/src/com/android/camera/stress/
H A DVideoCapture.java90 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackVideoCapture()
104 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testFrontVideoCapture()
H A DImageCapture.java97 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackImageCapture()
111 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testFrontImageCapture()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DUIIntentsImpl.java132 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getConversationActivityIntent()
178 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchConversationActivityNewTask()
282 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in launchClassZeroActivity()
414 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getPendingIntentForSendingMessageToConversation()
485 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getWirelessAlertsIntent()
569 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getWidgetPendingIntentForConversationActivity()
587 configureIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_HISTORY); in getWidgetPendingIntentForConfigurationActivity()
/aosp12/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
H A DImageCapture.java100 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackImageCapture()
115 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testFrontImageCapture()
H A DVideoCapture.java94 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackVideoCapture()
109 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testFrontVideoCapture()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSettingsInitializeTest.java76 assertThat(flags & Intent.FLAG_ACTIVITY_NEW_TASK).isEqualTo(Intent.FLAG_ACTIVITY_NEW_TASK); in refreshExistingShortcuts_shouldUpdateLaunchIntentFlagsForExistingShortcut()
/aosp12/packages/apps/Settings/src/com/android/settings/search/
H A DSearchResultTrampoline.java105 intent.setFlags(intent.getFlags() & ~Intent.FLAG_ACTIVITY_NEW_TASK); in onCreate()
118 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in onCreate()

12345678910>>...20