Home
last modified time | relevance | path

Searched refs:getReceivers (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java454 assertEquals(1, p.getReceivers().size()); in assertOneComponentOfEachType()
456 0 /* intents */, p.getReceivers().get(0)); in assertOneComponentOfEachType()
518 assertMetadata(p.getReceivers().get(0).getMetaData(), in checkPackageWithComponents()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java120 mReceiverProperties = addComponentProperties(pkg.getReceivers(), mReceiverProperties); in addAllProperties()
129 mReceiverProperties = removeComponentProperties(pkg.getReceivers(), mReceiverProperties); in removeAllProperties()
DScanPackageUtils.java661 if (!pkg.getReceivers().isEmpty()) { in assertStaticSharedLibraryIsValid()
716 assertPackageProcesses(pkg, pkg.getReceivers(), procs, "receiver"); in assertProcessesAreValid()
828 for (int i = ArrayUtils.size(pkg.getReceivers()) - 1; i >= 0; i--) { in configurePackageComponents()
829 final ParsedActivity component = pkg.getReceivers().get(i); in configurePackageComponents()
DAppsFilterUtils.java150 if (matchesAnyComponents(intent, potentialTarget.getReceivers(), protectedBroadcasts)) { in matchesPackage()
DResolveIntentHelper.java420 intent, resolvedType, flags, pkg.getReceivers(), userId); in queryIntentReceiversInternal()
DPackageManagerService.java3478 for (int i = 0; i < pkg.getReceivers().size(); i++) {
3479 resetSettings.accept(pkg.getReceivers().get(i));
DSettings.java5853 dumpComponents(pw, prefix, "receivers:", ps.getPkg().getReceivers());
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java672 final List<ParsedActivity> receivers = pkg.getReceivers(); in testParseReceiverProperties()
803 for (ParsedActivity receiver : pkg.getReceivers()) { in testNoComponentMetadataIsCoercedToNullForInfoObject()
959 assertEquals(ArrayUtils.size(a.getReceivers()), ArrayUtils.size(b.getReceivers())); in assertPackagesEqual()
960 for (int i = 0; i < ArrayUtils.size(a.getReceivers()); ++i) { in assertPackagesEqual()
961 assertActivitiesEqual(a, a.getReceivers().get(i), b, b.getReceivers().get(i)); in assertPackagesEqual()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java189 List<ParsedActivity> receivers = pkg.getReceivers(); in hasComponentClassName()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java363 final int receiversSize = ArrayUtils.size(pkg.getReceivers()); in addReceiversLocked()
366 ParsedActivity a = pkg.getReceivers().get(i); in addReceiversLocked()
742 componentSize = ArrayUtils.size(pkg.getReceivers()); in removeAllComponentsLocked()
745 ParsedActivity a = pkg.getReceivers().get(i); in removeAllComponentsLocked()
1282 return pkg.getReceivers(); in getResolveList()
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java1112 List<ParsedActivity> getReceivers(); in getReceivers() method
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java242 final int size = pkg.getReceivers().size(); in generate()
247 final ParsedActivity a = pkg.getReceivers().get(i); in generate()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java470 List<ParsedActivity> getReceivers(); in getReceivers() method
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt413 AndroidPackage::getReceivers, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java292 final int size = pkg.getReceivers().size(); in generateWithComponents()
297 final ParsedActivity a = pkg.getReceivers().get(i); in generateWithComponents()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java1232 public List<ParsedActivity> getReceivers() { in getReceivers() method in PackageImpl