Home
last modified time | relevance | path

Searched refs:getIntents (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt78 ParsedActivity::getIntents,
81 ParsedInstrumentation::getIntents,
82 ParsedInstrumentation::getIntents,
85 ParsedPermission::getIntents,
87 ParsedPermissionGroup::getIntents,
90 ParsedProvider::getIntents,
94 ParsedService::getIntents,
/frameworks/base/core/java/android/app/
DTaskStackBuilder.java222 return mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle); in startActivities()
275 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(), in getPendingIntent()
290 return PendingIntent.getActivitiesAsUser(mSourceContext, requestCode, getIntents(), flags, in getPendingIntent()
302 public Intent[] getIntents() { in getIntents() method in TaskStackBuilder
/frameworks/base/services/core/java/com/android/server/pm/
DSaferIntentUtils.java237 if (comp != null && !comp.getIntents().isEmpty() in blockNullAction()
295 if (comp == null || comp.getIntents().isEmpty()) { in enforceIntentFilterMatching()
313 for (int j = 0, size = comp.getIntents().size(); j < size; ++j) { in enforceIntentFilterMatching()
314 IntentFilter intentFilter = comp.getIntents().get(j).getIntentFilter(); in enforceIntentFilterMatching()
345 comp.getIntents().forEach(f -> f.getIntentFilter().dump(logPrinter, " ")); in enforceIntentFilterMatching()
DAppsFilterUtils.java177 List<ParsedIntentInfo> intents = component.getIntents(); in matchesAnyFilter()
DShortcutService.java3384 return si.getIntents();
3419 cb.complete(si.getIntents());
3426 cb.complete(si == null ? null : si.getIntents());
DComputerEngine.java3793 for (int i=0; i< a.getIntents().size(); i++) { in activitySupportsIntentAsUser()
3794 if (a.getIntents().get(i).getIntentFilter() in activitySupportsIntentAsUser()
5065 List<ParsedIntentInfo> intentInfos = activity.getIntents(); in getAllIntentFilters()
DInstallPackageHelper.java4275 final List<ParsedIntentInfo> intents = activity.getIntents(); in hasLauncherEntry()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedComponent.java44 List<ParsedIntentInfo> getIntents(); in getIntents() method
DParsedServiceUtils.java179 boolean hasIntentFilters = service.getIntents().size() > 0; in parseService()
DParsedComponentImpl.java149 public List<ParsedIntentInfo> getIntents() { in getIntents() method in ParsedComponentImpl
DParsedActivityUtils.java494 boolean hasIntentFilters = activity.getIntents().size() > 0; in parseActivityOrAlias()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java185 List<ParsedIntentInfo> intents = activity.getIntents();
204 List<ParsedIntentInfo> intents = activity.getIntents();
248 List<ParsedIntentInfo> intents = activity.getIntents();
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java590 new ArrayList<>(foundActivity.getIntents()); in adjustPriority()
1012 intentFilters = activity.getIntents(); in queryIntentForPackage()
1032 final int intentsSize = a.getIntents().size(); in addActivity()
1034 ParsedIntentInfo intent = a.getIntents().get(j); in addActivity()
1056 final int intentsSize = a.getIntents().size(); in removeActivity()
1058 ParsedIntentInfo intent = a.getIntents().get(j); in removeActivity()
1338 intentFilters = provider.getIntents(); in queryIntentForPackage()
1362 final int intentsSize = p.getIntents().size(); in addProvider()
1365 ParsedIntentInfo intent = p.getIntents().get(j); in addProvider()
1384 final int intentsSize = p.getIntents().size(); in removeProvider()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedComponentTest.kt63 ParsedComponent::getIntents, in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java411 final List<ParsedIntentInfo> intents = activities.get(0).getIntents(); in testParseUriRelativeFilterGroups()
1031 if (a.getIntents() != null && b.getIntents() != null) { in assertComponentsEqual()
1032 assertEquals(a.getIntents().size(), b.getIntents().size()); in assertComponentsEqual()
1033 } else if (a.getIntents() == null || b.getIntents() == null) { in assertComponentsEqual()
1037 for (int i = 0; i < a.getIntents().size(); ++i) { in assertComponentsEqual()
1038 ParsedIntentInfo aIntent = a.getIntents().get(i); in assertComponentsEqual()
1039 ParsedIntentInfo bIntent = b.getIntents().get(i); in assertComponentsEqual()
/frameworks/base/core/java/com/android/internal/app/
DNoCrossProfileEmptyStateProvider.java61 .hasCrossProfileIntents(resolverListAdapter.getIntents(), in getEmptyState()
DResolverListAdapter.java783 protected List<Intent> getIntents() {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java435 assertEquals(numIntents, component.getIntents().size()); in assertComponent()
564 List<ParsedIntentInfo> intentInfos = p.getActivities().get(0).getIntents(); in checkPackageWithIntentFilters()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java342 .setIntents(shortcutInfo.getIntents()) in instance()
DShortcutInfo.java1727 public Intent[] getIntents() { in getIntents() method in ShortcutInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java7484 assertEquals(1, si.getIntents().length); in testManifestShortcuts_intentDefinitions()
7492 assertEquals("action1", si.getIntents()[0].getAction()); in testManifestShortcuts_intentDefinitions()
7493 assertEquals("value1", si.getIntents()[0].getStringExtra("key1")); in testManifestShortcuts_intentDefinitions()
7496 Intent.FLAG_ACTIVITY_TASK_ON_HOME, si.getIntents()[0].getFlags()); in testManifestShortcuts_intentDefinitions()
7500 assertEquals(2, si.getIntents().length); in testManifestShortcuts_intentDefinitions()
7507 final Intent i1 = si.getIntents()[0]; in testManifestShortcuts_intentDefinitions()
7508 final Intent i2 = si.getIntents()[1]; in testManifestShortcuts_intentDefinitions()
DShortcutManagerTest2.java1537 final Intent[] actual = si.getIntents();
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java566 for (int i = component.getIntents().size() - 1; i >= 0; i--) { in addMimeGroupsFromComponent()
567 IntentFilter filter = component.getIntents().get(i).getIntentFilter(); in addMimeGroupsFromComponent()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java2862 List<ParsedIntentInfo> filters = activity.getIntents();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12