/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | TaskFragmentContainerTest.java | 142 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 …]
|
D | SplitControllerTest.java | 1263 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/ |
D | PackageParserLegacyCoreTest.java | 445 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/ |
D | TaskFragmentContainer.java | 307 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/ |
D | PendingIntent.java | 40 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() method in PendingIntent
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 370 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/ |
D | DomainVerificationCollector.java | 175 List<ParsedActivity> activities = pkg.getActivities(); 243 List<ParsedActivity> activities = pkg.getActivities();
|
D | DomainVerificationService.java | 1856 List<ParsedActivity> activities = pkg.getActivities(); in indexOfIntentFilterEntry()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageProperty.java | 118 mActivityProperties = addComponentProperties(pkg.getActivities(), mActivityProperties); in addAllProperties() 127 mActivityProperties = removeComponentProperties(pkg.getActivities(), mActivityProperties); in removeAllProperties()
|
D | ScanPackageUtils.java | 640 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()
|
D | AppsFilterUtils.java | 147 intent, potentialTarget.getActivities(), null /*protectedBroadcasts*/)) { in matchesPackage()
|
D | ComputerEngine.java | 804 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/ |
D | TaskStackBuilder.java | 275 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(), in getPendingIntent()
|
D | PendingIntent.java | 636 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/ |
D | TaskFragmentInfo.java | 160 public List<IBinder> getActivities() { in getActivities() method in TaskFragmentInfo
|
/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
D | ComponentResolver.java | 209 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/ |
D | AndroidPackageUtils.java | 181 List<ParsedActivity> activities = pkg.getActivities(); in hasComponentClassName()
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 697 List<ParsedActivity> getActivities(); in getActivities() method
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivityUtils.java | 280 List<ParsedActivity> activities = pkg.getActivities(); in parseActivityAlias() 293 + pkg.getActivities() in parseActivityAlias()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 224 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/ |
D | ParsingPackage.java | 421 List<ParsedActivity> getActivities(); in getActivities() method
|
D | ParsingPackageUtils.java | 2858 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/ |
D | TaskFragmentTest.java | 269 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/ |
D | AndroidPackageTest.kt | 397 AndroidPackage::getActivities, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 269 final int N = pkg.getActivities().size(); in generateWithComponents() 277 final ParsedActivity a = pkg.getActivities().get(i); in generateWithComponents()
|