Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskFragmentContainerTest.java142 doReturn(new ArrayList<>()).when(mInfo).getActivities(); in testFinish()
243 doReturn(new ArrayList<>()).when(info).getActivities(); in testIsWaitingActivityAppear()
273 doReturn(new ArrayList<>()).when(info).getActivities(); in testAppearEmptyTimeout()
314 doReturn(runningActivities).when(mInfo).getActivities(); in testCollectNonFinishingActivities()
338 doReturn(runningActivities).when(mInfo).getActivities(); in testCollectNonFinishingActivities_checkIfStable()
387 doReturn(runningActivities).when(mInfo).getActivities(); in testGetBottomMostActivity()
401 doReturn(activities).when(mInfo).getActivities(); in testOnActivityDestroyed()
426 doReturn(activities).when(mInfo).getActivities(); in testIsInIntermediateState()
487 doReturn(activities).when(mInfo).getActivities(); in testHasAppearedActivity()
504 doReturn(activities).when(mInfo).getActivities(); in testHasPendingAppearedActivity()
[all …]
DSplitControllerTest.java1263 assertEquals(1, splitInfo.getPrimaryActivityStack().getActivities().size()); in testSplitInfoCallback_reportSplit()
1264 assertEquals(1, splitInfo.getSecondaryActivityStack().getActivities().size()); in testSplitInfoCallback_reportSplit()
1265 assertEquals(r0, splitInfo.getPrimaryActivityStack().getActivities().get(0)); in testSplitInfoCallback_reportSplit()
1266 assertEquals(r1, splitInfo.getSecondaryActivityStack().getActivities().get(0)); in testSplitInfoCallback_reportSplit()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java445 assertEquals(1, p.getActivities().size()); in assertOneComponentOfEachType()
447 0 /* intents */, p.getActivities().get(0)); in assertOneComponentOfEachType()
512 assertMetadata(p.getActivities().get(0).getMetaData(), in checkPackageWithComponents()
530 for (int i = 0; i < ArrayUtils.size(p.getActivities()); i++) { in findAndRemoveAppDetailsActivity()
531 if (p.getActivities().get(i).getClassName().equals( in findAndRemoveAppDetailsActivity()
534 p.getActivities().remove(i); in findAndRemoveAppDetailsActivity()
563 assertEquals("Expected exactly one activity", 1, p.getActivities().size()); in checkPackageWithIntentFilters()
564 List<ParsedIntentInfo> intentInfos = p.getActivities().get(0).getIntents(); in checkPackageWithIntentFilters()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentContainer.java307 for (IBinder token : mInfo.getActivities()) { in collectNonFinishingActivities()
358 for (IBinder token : mInfo.getActivities()) { in isInIntermediateState()
450 mInfo.getActivities().remove(activityToken); in onActivityDestroyed()
503 return mInfo != null && mInfo.getActivities().contains(activityToken); in hasAppearedActivity()
564 if (mInfo.getRunningActivityCount() != mInfo.getActivities().size()) { in setInfo()
574 List<IBinder> infoActivities = mInfo.getActivities(); in setInfo()
/frameworks/base/errorprone/tests/res/android/app/
DPendingIntent.java40 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() method in PendingIntent
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java370 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityRequiredDisplayCategoryValid()
388 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityRequiredDisplayCategoryInvalid()
410 final List<ParsedActivity> activities = pkg.getActivities(); in testParseUriRelativeFilterGroups()
618 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityProperties()
791 for (ParsedActivity activity : pkg.getActivities()) { in testNoComponentMetadataIsCoercedToNullForInfoObject()
954 assertEquals(ArrayUtils.size(a.getActivities()), ArrayUtils.size(b.getActivities())); in assertPackagesEqual()
955 for (int i = 0; i < ArrayUtils.size(a.getActivities()); ++i) { in assertPackagesEqual()
956 assertActivitiesEqual(a, a.getActivities().get(i), b, b.getActivities().get(i)); in assertPackagesEqual()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java175 List<ParsedActivity> activities = pkg.getActivities();
243 List<ParsedActivity> activities = pkg.getActivities();
DDomainVerificationService.java1856 List<ParsedActivity> activities = pkg.getActivities(); in indexOfIntentFilterEntry()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java118 mActivityProperties = addComponentProperties(pkg.getActivities(), mActivityProperties); in addAllProperties()
127 mActivityProperties = removeComponentProperties(pkg.getActivities(), mActivityProperties); in removeAllProperties()
DScanPackageUtils.java640 if (!pkg.getActivities().isEmpty()) { in assertStaticSharedLibraryIsValid()
714 assertPackageProcesses(pkg, pkg.getActivities(), procs, "activity"); in assertProcessesAreValid()
820 for (int i = ArrayUtils.size(pkg.getActivities()) - 1; i >= 0; i--) { in configurePackageComponents()
821 final ParsedActivity component = pkg.getActivities().get(i); in configurePackageComponents()
DAppsFilterUtils.java147 intent, potentialTarget.getActivities(), null /*protectedBroadcasts*/)) { in matchesPackage()
DComputerEngine.java804 intent, resolvedType, flags, setting.getAndroidPackage().getActivities(), in queryIntentActivitiesInternalBody()
5055 if (pkg == null || ArrayUtils.isEmpty(pkg.getActivities())) { in getAllIntentFilters()
5061 final int count = ArrayUtils.size(pkg.getActivities()); in getAllIntentFilters()
5064 ParsedActivity activity = pkg.getActivities().get(n); in getAllIntentFilters()
/frameworks/base/core/java/android/app/
DTaskStackBuilder.java275 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(), in getPendingIntent()
DPendingIntent.java636 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() method in PendingIntent
638 return getActivities(context, requestCode, intents, flags, null); in getActivities()
687 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() method in PendingIntent
/frameworks/base/core/java/android/window/
DTaskFragmentInfo.java160 public List<IBinder> getActivities() { in getActivities() method in TaskFragmentInfo
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java209 disabledPkg != null ? disabledPkg.getActivities() : null; in addAllComponents()
278 final int activitiesSize = ArrayUtils.size(pkg.getActivities()); in addActivitiesLocked()
281 ParsedActivity a = pkg.getActivities().get(i); in addActivitiesLocked()
689 componentSize = ArrayUtils.size(pkg.getActivities()); in removeAllComponentsLocked()
692 ParsedActivity a = pkg.getActivities().get(i); in removeAllComponentsLocked()
1253 return pkg.getActivities(); in getResolveList()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java181 List<ParsedActivity> activities = pkg.getActivities(); in hasComponentClassName()
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java697 List<ParsedActivity> getActivities(); in getActivities() method
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivityUtils.java280 List<ParsedActivity> activities = pkg.getActivities(); in parseActivityAlias()
293 + pkg.getActivities() in parseActivityAlias()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java224 final int size = pkg.getActivities().size(); in generate()
229 final ParsedActivity a = pkg.getActivities().get(i); in generate()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java421 List<ParsedActivity> getActivities(); in getActivities() method
DParsingPackageUtils.java2858 final List<ParsedActivity> activities = pkg.getActivities();
2897 List<ParsedActivity> activities = pkg.getActivities();
2927 List<ParsedActivity> activities = pkg.getActivities();
2943 List<ParsedActivity> activities = pkg.getActivities();
3124 List<ParsedActivity> activities = pkg.getActivities();
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java269 assertEquals(1, info.getActivities().size()); in testActivityStillReported_NotYetAssignedToProcess()
271 assertEquals(activity.token, info.getActivities().get(0)); in testActivityStillReported_NotYetAssignedToProcess()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt397 AndroidPackage::getActivities, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java269 final int N = pkg.getActivities().size(); in generateWithComponents()
277 final ParsedActivity a = pkg.getActivities().get(i); in generateWithComponents()

12