Home
last modified time | relevance | path

Searched refs:mActivities (Results 1 – 13 of 13) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivities.java31 private Set<ActivityInfo> mActivities = null; field in TestAppActivities
44 if (mActivities != null) { in activities()
45 return mActivities; in activities()
48 mActivities = new HashSet<>( in activities()
49 mInstance.testApp().mDetails.mActivities.stream().filter( in activities()
52 return mActivities; in activities()
DTestAppQueryBuilder.java47 SetQueryHelper<TestAppQueryBuilder, ActivityInfo, ActivityQuery<?>> mActivities = field in TestAppQueryBuilder
132 return mActivities; in whereActivities()
189 if (!SetQueryHelper.matches(mActivities, details.mActivities)) { in matches()
240 mActivities.describeQuery("activities"), in describeQuery()
DTestAppDetails.java35 final Set<ActivityInfo> mActivities = new HashSet<>(); field in TestAppDetails
57 + ", mActivities=" + mActivities in toString()
DTestAppProvider.java119 details.mActivities.add(ActivityInfo.builder() in loadApk()
DTestApp.java204 return mDetails.mActivities; in activities()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java532 private final List<ActivityState> mActivities = new ArrayList<>(); field in Persistence.TaskState
544 mActivities.add(activity); in TaskState()
554 this.mActivities.add(new ActivityState(activity)); in TaskState()
561 for (ActivityState activity : mActivities) { in toJson()
574 return mActivities; in getActivities()
583 && Objects.equals(mActivities, task.mActivities); in equals()
588 return Objects.hash(mResumedActivity, mActivities); in hashCode()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java562 if (!topTask.mActivities.isEmpty()) { in getTopActivityName()
563 return topTask.mActivities.get(0).name; in getTopActivityName()
842 return homeTask != null ? homeTask.mActivities.get(homeTask.mActivities.size() - 1) : null; in getHomeActivity()
847 return recentsTask != null ? recentsTask.mActivities.get(recentsTask.mActivities.size() - 1) in getRecentsActivity()
908 return task.mActivities.size(); in getActivityCountInTask()
912 for (Activity activity : task.mActivities) { in getActivityCountInTask()
1437 ArrayList<Activity> mActivities = new ArrayList<>(); field in WindowManagerState.Task
1477 collectChildrenOfType(Activity.class, this, mActivities); in Task()
1481 return mTasks.isEmpty() && mTaskFragments.isEmpty() && mActivities.isEmpty(); in isEmpty()
1527 return mActivities; in getActivities()
[all …]
DWindowManagerStateHelper.java754 .that(t.mTasks.size() + t.mTaskFragments.size() + t.mActivities.size())
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSplitActivityLifecycleTest.java183 .that(taskFragmentA.mActivities).containsExactly(mWmState.getActivity(mActivityA), in testActivityLaunchInSameSplitTaskFragment()
221 .that(taskFragmentB.mActivities).containsExactly(mWmState.getActivity(mActivityB), in testActivityLaunchInAdjacentSplitTaskFragment()
260 .that(taskFragmentB.mActivities).containsExactly(mWmState.getActivity(mActivityB), in testActivityLaunchFromBottomTaskFragment()
DStartActivityTests.java376 .mActivities in testStartActivitiesTaskOverlayStayOnTop()
DPinnedStackTests.java1013 assertEquals(1, task.mActivities.size()); in testEnterPipFromTaskWithMultipleActivities()
1028 assertEquals(2, task.mActivities.size()); in testPipFromTaskWithMultipleActivitiesAndExpandPip()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java103 private final ArrayList<Activity> mActivities = new ArrayList<>(); field in PixelCopyTest.FullscreenActivityRule
110 mActivities.add(activity); in launch()
116 if (mActivities.isEmpty()) return; in after()
118 for (final Activity activity : mActivities) { in after()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java846 sourceComponent).mActivities; in assertTaskStack()