Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedActivityTest.kt20 import com.android.internal.pm.pkg.component.ParsedActivity in <lambda>()
26 ParsedActivity::class, in <lambda>()
35 ParsedActivity::getPermission, in <lambda>()
36 ParsedActivity::getColorMode, in <lambda>()
37 ParsedActivity::getConfigChanges, in <lambda>()
38 ParsedActivity::getDocumentLaunchMode, in <lambda>()
39 ParsedActivity::getLaunchMode, in <lambda>()
40 ParsedActivity::getLockTaskLaunchMode, in <lambda>()
41 ParsedActivity::getMaxAspectRatio, in <lambda>()
42 ParsedActivity::getMaxRecents, in <lambda>()
[all …]
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DComponentMutateUtils.java30 public static void setMaxAspectRatio(@NonNull ParsedActivity activity, int resizeMode, in setMaxAspectRatio()
35 public static void setMinAspectRatio(@NonNull ParsedActivity activity, int resizeMode, in setMinAspectRatio()
40 public static void setSupportsSizeChanges(@NonNull ParsedActivity activity, in setSupportsSizeChanges()
45 public static void setResizeMode(@NonNull ParsedActivity activity, int resizeMode) { in setResizeMode()
DParsedActivity.java27 public interface ParsedActivity extends ParsedMainComponent { interface
DParsedActivityUtils.java87 public static ParseResult<ParsedActivity> parseActivityOrReceiver(String[] separateProcesses, in parseActivityOrReceiver()
260 public static ParseResult<ParsedActivity> parseActivityAlias(ParsingPackage pkg, Resources res, in parseActivityAlias()
278 ParsedActivity target = null; in parseActivityAlias()
280 List<ParsedActivity> activities = pkg.getActivities(); in parseActivityAlias()
283 ParsedActivity t = activities.get(i); in parseActivityAlias()
342 private static ParseResult<ParsedActivity> parseActivityOrAlias(ParsedActivityImpl activity, in parseActivityOrAlias()
621 ParsedActivity activity, ParseInput input) { in resolveActivityWindowLayout()
DParsedActivityImpl.java51 public class ParsedActivityImpl extends ParsedMainComponentImpl implements ParsedActivity,
166 static ParsedActivityImpl makeAlias(String targetActivityName, ParsedActivity target) { in makeAlias()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverApi.java28 import com.android.internal.pm.pkg.component.ParsedActivity;
42 ParsedActivity getActivity(@NonNull ComponentName component); in getActivity()
48 ParsedActivity getReceiver(@NonNull ComponentName component); in getReceiver()
62 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities()
88 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> receivers, in queryReceivers()
DComponentResolver.java49 import com.android.internal.pm.pkg.component.ParsedActivity;
193 final ArrayList<Pair<ParsedActivity, ParsedIntentInfo>> newIntents = new ArrayList<>(); in addAllComponents()
203 final Pair<ParsedActivity, ParsedIntentInfo> pair = newIntents.get(i); in addAllComponents()
208 final List<ParsedActivity> systemActivities = in addAllComponents()
277 List<Pair<ParsedActivity, ParsedIntentInfo>> newIntents, boolean chatty) { in addActivitiesLocked() argument
281 ParsedActivity a = pkg.getActivities().get(i); in addActivitiesLocked()
366 ParsedActivity a = pkg.getReceivers().get(i); in addReceiversLocked()
459 private static ParsedActivity findMatchingActivity( in findMatchingActivity()
460 List<ParsedActivity> activityList, ParsedActivity activityInfo) { in findMatchingActivity()
461 for (ParsedActivity sysActivity : activityList) { in findMatchingActivity()
[all …]
DComponentResolverLocked.java27 import com.android.internal.pm.pkg.component.ParsedActivity;
55 public ParsedActivity getActivity(@NonNull ComponentName component) { in getActivity()
71 public ParsedActivity getReceiver(@NonNull ComponentName component) { in getReceiver()
104 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities()
161 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> receivers, in queryReceivers()
DComponentResolverBase.java31 import com.android.internal.pm.pkg.component.ParsedActivity;
96 public ParsedActivity getActivity(@NonNull ComponentName component) { in getActivity()
108 public ParsedActivity getReceiver(@NonNull ComponentName component) { in getReceiver()
136 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities()
251 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> receivers, in queryReceivers()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java30 import com.android.internal.pm.pkg.component.ParsedActivity;
175 List<ParsedActivity> activities = pkg.getActivities();
184 ParsedActivity activity = activities.get(activityIndex);
203 ParsedActivity activity = activities.get(activityIndex);
243 List<ParsedActivity> activities = pkg.getActivities();
247 ParsedActivity activity = activities.get(activityIndex);
DDomainVerificationService.java63 import com.android.internal.pm.pkg.component.ParsedActivity;
1856 List<ParsedActivity> activities = pkg.getActivities(); in indexOfIntentFilterEntry()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt28 import com.android.internal.pm.pkg.component.ParsedActivity
78 ParsedActivity::getIntents,
79 ParsedActivity::getKnownActivityEmbeddingCerts,
80 ParsedActivity::getProperties,
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java36 import com.android.internal.pm.pkg.component.ParsedActivity;
61 ParsingPackage addActivity(ParsedActivity parsedActivity); in addActivity()
98 ParsingPackage addReceiver(ParsedActivity parsedReceiver); in addReceiver()
421 List<ParsedActivity> getActivities(); in getActivities()
470 List<ParsedActivity> getReceivers(); in getReceivers()
DParsingPackageUtils.java97 import com.android.internal.pm.pkg.component.ParsedActivity;
859 ParseResult<ParsedActivity> activityResult =
863 ParsedActivity activity = activityResult.getResult();
899 ParsedActivity activity = activityResult.getResult();
2220 ParseResult<ParsedActivity> activityResult =
2226 ParsedActivity activity = activityResult.getResult();
2276 ParsedActivity activity = activityResult.getResult();
2309 ParseResult<ParsedActivity> a = generateAppDetailsHiddenActivity(input, pkg);
2833 private static ParseResult<ParsedActivity> generateAppDetailsHiddenActivity(ParseInput input,
2858 final List<ParsedActivity> activities = pkg.getActivities();
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java84 import com.android.internal.pm.pkg.component.ParsedActivity;
370 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityRequiredDisplayCategoryValid()
371 for (ParsedActivity activity : activities) { in testParseActivityRequiredDisplayCategoryValid()
388 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityRequiredDisplayCategoryInvalid()
389 for (ParsedActivity activity : activities) { in testParseActivityRequiredDisplayCategoryInvalid()
410 final List<ParsedActivity> activities = pkg.getActivities(); in testParseUriRelativeFilterGroups()
618 final List<ParsedActivity> activities = pkg.getActivities(); in testParseActivityProperties()
619 for (ParsedActivity activity : activities) { in testParseActivityProperties()
672 final List<ParsedActivity> receivers = pkg.getReceivers(); in testParseReceiverProperties()
673 for (ParsedActivity receiver : receivers) { in testParseReceiverProperties()
[all …]
DAppsFilterImplTest.java54 import com.android.internal.pm.pkg.component.ParsedActivity;
157 ParsedActivity activity = createActivity(packageName, filters); in pkg()
162 ParsedActivity receiver = createActivity(packageName, filters); in pkgWithReceiver()
181 private static ParsedActivity createActivity(String packageName, IntentFilter[] filters) { in createActivity()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java35 import com.android.internal.pm.pkg.component.ParsedActivity;
181 List<ParsedActivity> activities = pkg.getActivities(); in hasComponentClassName()
189 List<ParsedActivity> receivers = pkg.getReceivers(); in hasComponentClassName()
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java50 import com.android.internal.pm.pkg.component.ParsedActivity;
697 List<ParsedActivity> getActivities(); in getActivities()
1112 List<ParsedActivity> getReceivers(); in getReceivers()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt30 import com.android.internal.pm.pkg.component.ParsedActivity in <lambda>()
337 var mockActivity: ParsedActivity? = null in <lambda>()
342 mockActivity = mock<ParsedActivity> { in <lambda>()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java52 import com.android.internal.pm.pkg.component.ParsedActivity;
229 final ParsedActivity a = pkg.getActivities().get(i); in generate()
247 final ParsedActivity a = pkg.getReceivers().get(i); in generate()
345 private static ActivityInfo generateActivityInfo(ParsedActivity a, in generateActivityInfo()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java59 import com.android.internal.pm.pkg.component.ParsedActivity;
277 final ParsedActivity a = pkg.getActivities().get(i); in generateWithComponents()
297 final ParsedActivity a = pkg.getReceivers().get(i); in generateWithComponents()
531 public static ActivityInfo generateActivityInfo(AndroidPackage pkg, ParsedActivity a, in generateActivityInfo()
543 public static ActivityInfo generateActivityInfo(AndroidPackage pkg, ParsedActivity a, in generateActivityInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DScanPackageUtils.java79 import com.android.internal.pm.pkg.component.ParsedActivity;
821 final ParsedActivity component = pkg.getActivities().get(i); in configurePackageComponents()
829 final ParsedActivity component = pkg.getReceivers().get(i); in configurePackageComponents()
DComputerEngine.java129 import com.android.internal.pm.pkg.component.ParsedActivity;
915 ParsedActivity a = mComponentResolver.getActivity(component); in getActivityInfoInternalBody()
2290 final ParsedActivity activity = mComponentResolver.getActivity(component); in isComponentVisibleToInstantApp()
2301 final ParsedActivity activity = mComponentResolver.getReceiver(component); in isComponentVisibleToInstantApp()
3781 ParsedActivity a = mComponentResolver.getActivity(component); in activitySupportsIntentAsUser()
3813 ParsedActivity a = mComponentResolver.getReceiver(component); in getReceiverInfo()
5064 ParsedActivity activity = pkg.getActivities().get(n); in getAllIntentFilters()
DInstallPackageHelper.java164 import com.android.internal.pm.pkg.component.ParsedActivity;
4269 final List<ParsedActivity> activities = parsedPackage.getActivities(); in hasLauncherEntry()
4271 final ParsedActivity activity = activities.get(indexActivity); in hasLauncherEntry()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java57 import com.android.internal.pm.pkg.component.ParsedActivity;
170 protected List<ParsedActivity> activities = emptyList();
174 protected List<ParsedActivity> receivers = emptyList();
494 public PackageImpl addActivity(ParsedActivity parsedActivity) { in addActivity()
655 public PackageImpl addReceiver(ParsedActivity parsedReceiver) { in addReceiver()
863 public List<ParsedActivity> getActivities() { in getActivities()
1232 public List<ParsedActivity> getReceivers() { in getReceivers()
3052 ParsedActivity receiver = receivers.get(index);

12