Home
last modified time | relevance | path

Searched refs:getActivities (Results 1 – 22 of 22) sorted by relevance

/cts/tests/app/PendingIntentApi33/src/android/app/cts/pendingintentapi33/
DPendingIntentApi33Test.java81 PendingIntent.getActivities(mContext, 1, intents, in testGetActivities()
91 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_IMMUTABLE); in testGetActivities()
94 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE in testGetActivities()
98 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE in testGetActivities()
102 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE); in testGetActivities()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityStackApisTests.java165 splitInfo.getPrimaryActivityStack().getActivities().contains(activityA)) in testFinishActivityStacks_finishAllSecondaryStacks_primaryStackExpand()
185 if (splitInfo.getPrimaryActivityStack().getActivities().contains(primaryActivity) in getSplitInfo()
186 && splitInfo.getSecondaryActivityStack().getActivities() in getSplitInfo()
DSplitAttributesRuntimeApisTests.java164 if (info.getPrimaryActivityStack().getActivities().contains(activityA) in testUpdateSplitAttributes()
165 && info.getSecondaryActivityStack().getActivities().contains(activityB)) { in testUpdateSplitAttributes()
DActivityEmbeddingLaunchTests.java108 .getActivities()); in testSplitWithPrimaryActivity()
161 assertEquals(1, splitInfo.getPrimaryActivityStack().getActivities().size()); in testPrimaryActivityLaunchToSideClearTop()
162 assertEquals(1, splitInfo.getSecondaryActivityStack().getActivities().size()); in testPrimaryActivityLaunchToSideClearTop()
368 .getActivities()); in testSecondaryActivityLaunchAbove()
DActivityEmbeddingLifecycleTests.java507 final List<Activity> activities = primaryStack.getActivities(); in testLaunchActivityInActivityStack()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DSplitActivityLifecycleTest.java185 taskFragTokenA, info -> info.getActivities().size() == 2, in testActivityLaunchInSameSplitTaskFragment()
197 .that(taskFragmentA.getActivities()) in testActivityLaunchInSameSplitTaskFragment()
225 taskFragTokenB, info -> info.getActivities().size() == 2, in testActivityLaunchInAdjacentSplitTaskFragment()
237 .that(taskFragmentB.getActivities()) in testActivityLaunchInAdjacentSplitTaskFragment()
265 taskFragTokenB, info -> info.getActivities().size() == 2, in testActivityLaunchFromBottomTaskFragment()
277 .that(taskFragmentB.getActivities()) in testActivityLaunchFromBottomTaskFragment()
DTaskFragmentOrganizerPolicyTest.java265 fragmentToken, info -> info.getActivities().size() == 1, in testStartActivityInTaskFragment_organizedTaskFragment()
898 .that(task.getActivities()) in waitAndAssertActivityLaunchOnTask()
927 info -> info.getActivities().size() == 1, in testStartAnotherAppActivityWithEmbeddedTaskFragments()
936 assertEquals(1, info.getActivities().size()); in testStartAnotherAppActivityWithEmbeddedTaskFragments()
998 assertEquals(1, info.getActivities().size()); in testApplyHierarchyOpsInLockTaskMode()
1010 assertEquals(1, info.getActivities().size()); in testApplyHierarchyOpsInLockTaskMode()
DTaskFragmentOrganizerTestBase.java122 .that(info.getActivities()).isEmpty(); in assertEmptyTaskFragment()
136 .that(info.getActivities()).containsAtLeastElementsIn(expectedActivityTokens); in assertNotEmptyTaskFragment()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java227 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
241 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
245 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
251 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
258 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
268 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
272 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
276 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
280 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DActivityEmbeddingUtil.java264 .getActivities(); in startActivityCrossUidInSplit()
268 assertTrue(topSplit.getSecondaryActivityStack().getActivities().isEmpty()); in startActivityCrossUidInSplit()
510 List<Activity> primaryActivityStack = splitInfo.getPrimaryActivityStack().getActivities(); in getPrimaryStackTopActivity()
520 .getActivities(); in getSecondaryStackTopActivity()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java387 List<WindowManagerState.Activity> embeddedActivities = fragments.get(0).getActivities(); in thenAssertEmbeddingTaskStack()
388 List<WindowManagerState.Activity> rootActivity = fragments.get(1).getActivities(); in thenAssertEmbeddingTaskStack()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java141 TestappProtos.Activity activityEntry = app.getActivities(i); in loadApk()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java553 for (WindowManagerState.Activity activity : state.getActivities()) { in TaskState()
573 public List<ActivityState> getActivities() { in getActivities() method in Persistence.TaskState
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DActivityManagementTest.java137 PendingIntent pendingIntent = PendingIntent.getActivities( in launchPendingIntent_multipleActivities_shouldLaunchOnSameDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java735 secondFrontRootTask.getActivities().size()); in testLaunchSameAffinityLaunchesSameDisplay()
808 2, secondFrontRootTask.getActivities().size()); in testLaunchDisplayAffinityMatch()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityTests.java405 .getActivities() in testStartActivitiesTaskOverlayStayOnTop()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DActivityManagerHelperTest.java545 List<WindowManagerState.Activity> allActivities = rootTask.getActivities(); in findSimpleActivityInType()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1076 assertEquals(1, task.getActivities().size()); in testEnterPipFromTaskWithMultipleActivities()
1094 assertEquals(1, task.getActivities().size()); in testAutoEnterPipFromTaskWithMultipleActivities()
1110 assertEquals(2, task.getActivities().size()); in testPipFromTaskWithMultipleActivitiesAndExpandPip()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java1583 public ArrayList<Activity> getActivities() { in getActivities() method in WindowManagerState.Task
1705 public List<Activity> getActivities() {
DActivityManagerTestBase.java1163 if (rootTask.getActivities().size() != 0) { in moveActivityToRootTaskOrOnTop()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt4208 method @NonNull public java.util.List<android.os.IBinder> getActivities();
Dcurrent.txt7131 …method public static android.app.PendingIntent getActivities(android.content.Context, int, @NonNul…
7132 …method public static android.app.PendingIntent getActivities(android.content.Context, int, @NonNul…