Home
last modified time | relevance | path

Searched refs:overlayPaths (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigTest.java480 assertEquals(2, i0.overlayPaths.size()); in testIdmapInvocationsFrameworkImmutable()
481 assertTrue(i0.overlayPaths.get(0).endsWith("/vendor/overlay/one.apk")); in testIdmapInvocationsFrameworkImmutable()
482 assertTrue(i0.overlayPaths.get(1).endsWith("/vendor/overlay/two.apk")); in testIdmapInvocationsFrameworkImmutable()
487 assertEquals(1, i1.overlayPaths.size()); in testIdmapInvocationsFrameworkImmutable()
488 assertTrue(i1.overlayPaths.get(0).endsWith("/product/overlay/four.apk")); in testIdmapInvocationsFrameworkImmutable()
516 assertEquals(2, i0.overlayPaths.size()); in testIdmapInvocationsDifferentTargetSdk()
517 assertTrue(i0.overlayPaths.get(0).endsWith("/product/overlay/one.apk")); in testIdmapInvocationsDifferentTargetSdk()
518 assertTrue(i0.overlayPaths.get(1).endsWith("/product/overlay/two.apk")); in testIdmapInvocationsDifferentTargetSdk()
522 assertEquals(1, i1.overlayPaths.size()); in testIdmapInvocationsDifferentTargetSdk()
523 assertTrue(i1.overlayPaths.get(0).endsWith("/product/overlay/three.apk")); in testIdmapInvocationsDifferentTargetSdk()
[all …]
/frameworks/base/core/java/android/content/res/
DResourcesKey.java70 @Nullable String[] overlayPaths, in ResourcesKey() argument
78 mOverlayPaths = overlayPaths; in ResourcesKey()
101 @Nullable String[] overlayPaths, in ResourcesKey() argument
106 this(resDir, splitResDirs, overlayPaths, libDirs, displayId, overrideConfig, compatInfo, in ResourcesKey()
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java58 PackageUserStateWrite setOverlayPaths(@Nullable OverlayPaths overlayPaths); in setOverlayPaths() argument
62 @Nullable OverlayPaths overlayPaths); in setOverlayPathsForLibrary() argument
DPackageStateMutator.java399 public PackageUserStateWrite setOverlayPaths(@NonNull OverlayPaths overlayPaths) { in setOverlayPaths() argument
401 mUserState.setOverlayPaths(overlayPaths); in setOverlayPaths()
409 @Nullable OverlayPaths overlayPaths) { in setOverlayPathsForLibrary() argument
411 mUserState.setSharedLibraryOverlayPaths(libraryName, overlayPaths); in setOverlayPathsForLibrary()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1044 public String[] overlayPaths; field in ApplicationInfo
1694 if (overlayPaths != null) { in dump()
1695 pw.println(prefix + "overlayPaths=" + Arrays.toString(overlayPaths)); in dump()
1812 if (overlayPaths != null) { in dumpDebug()
1813 for (String dir : overlayPaths) { in dumpDebug()
1977 overlayPaths = orig.overlayPaths; in ApplicationInfo()
2071 dest.writeString8Array(overlayPaths); in writeToParcel()
2174 overlayPaths = source.createString8Array(); in ApplicationInfo()
2714 splitSourceDirs, sharedLibraryFiles, resourceDirs, overlayPaths in getAllApkPaths()
DPackageParser.java8020 final OverlayPaths overlayPaths = state.getAllOverlayPaths(); in updateApplicationInfo() local
8021 if (overlayPaths != null) { in updateApplicationInfo()
8022 ai.resourceDirs = overlayPaths.getResourceDirs().toArray(new String[0]); in updateApplicationInfo()
8023 ai.overlayPaths = overlayPaths.getOverlayPaths().toArray(new String[0]); in updateApplicationInfo()
8686 androidAppInfo.overlayPaths, in readConfigUseRoundIcon()
/frameworks/base/core/java/android/app/
DResourcesManager.java940 @Nullable String[] overlayPaths, in createBaseTokenResources() argument
953 combinedOverlayPaths(legacyOverlayDirs, overlayPaths), in createBaseTokenResources()
1201 @Nullable String[] overlayPaths, in getResources() argument
1213 combinedOverlayPaths(legacyOverlayDirs, overlayPaths), in getResources()
1690 appInfo.overlayPaths); in applyNewResourceDirsLocked()
1743 @Nullable String[] overlayPaths) { in combinedOverlayPaths() argument
1745 return ArrayUtils.cloneOrNull(overlayPaths); in combinedOverlayPaths()
1746 } else if(overlayPaths == null) { in combinedOverlayPaths()
1749 final var paths = new ArrayList<String>(overlayPaths.length + resourceDirs.length); in combinedOverlayPaths()
1750 for (final String path : overlayPaths) { in combinedOverlayPaths()
[all …]
DContextImpl.java3017 final String[] overlayPaths = packageInfo.getOverlayPaths(); in createWindowContextResources() local
3026 splitResDirs, legacyOverlayDirs, overlayPaths, libDirs, displayId, in createWindowContextResources()
DLoadedApk.java405 mOverlayPaths = aInfo.overlayPaths; in setApplicationInfo()
DActivityThread.java2791 String[] overlayPaths, String[] libDirs, LoadedApk pkgInfo, in getTopLevelResources() argument
2794 overlayPaths, libDirs, null, overrideConfig, pkgInfo.getCompatibilityInfo(), in getTopLevelResources()
2989 ArrayUtils.defeatNullable(appInfo.overlayPaths), in isLoadedApkResourceDirsUpToDate()
DApplicationPackageManager.java2104 app.resourceDirs, app.overlayPaths, app.sharedLibraryFiles, in getResourcesForApplication()
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java471 public final ArrayList<String> overlayPaths = new ArrayList<>(); field in OverlayConfig.IdmapInvocation
482 String.join(", ", overlayPaths)); in toString()
523 invocation.overlayPaths.add(overlay.parsedConfig.parsedInfo.path.getAbsolutePath()); in getImmutableFrameworkOverlayIdmapInvocations()
544 invocation.overlayPaths.toArray(new String[0]), in createImmutableFrameworkIdmapsInZygote()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesThemePerfTest.java98 ai.splitSourceDirs, ai.resourceDirs, ai.overlayPaths, ai.sharedLibraryFiles, in setToDifferentAssetManager()
/frameworks/base/services/core/java/com/android/server/pm/
DUpdateOwnershipHelper.java96 appInfo.overlayPaths, appInfo.sharedLibraryFiles, null, Configuration.EMPTY, in readUpdateOwnerDenyList()
DPackageSetting.java841 boolean setOverlayPathsForLibrary(String libName, OverlayPaths overlayPaths, int userId) {
843 .setSharedLibraryOverlayPaths(libName, overlayPaths);
DSettings.java5433 final OverlayPaths overlayPaths = userState.getOverlayPaths();
5434 if (overlayPaths != null) {
5435 if (!overlayPaths.getOverlayPaths().isEmpty()) {
5438 for (String path : overlayPaths.getOverlayPaths()) {
5444 if (!overlayPaths.getResourceDirs().isEmpty()) {
5447 for (String path : overlayPaths.getResourceDirs()) {
DPackageManagerService.java7362 mAndroidApplication.overlayPaths = mPlatformPackageOverlayPaths; in applyUpdatedSystemOverlayPaths()
7366 mResolveActivity.applicationInfo.overlayPaths = mReplacedResolverPackageOverlayPaths; in applyUpdatedSystemOverlayPaths()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java415 final OverlayPaths overlayPaths = state.getAllOverlayPaths(); in updateApplicationInfo() local
416 if (overlayPaths != null) { in updateApplicationInfo()
417 ai.resourceDirs = overlayPaths.getResourceDirs().toArray(new String[0]); in updateApplicationInfo()
418 ai.overlayPaths = overlayPaths.getOverlayPaths().toArray(new String[0]); in updateApplicationInfo()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java1172 assertArrayEquals(a.overlayPaths, that.overlayPaths); in assertApplicationInfoEqual()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3893 oldAppInfo.overlayPaths = newAppInfo.overlayPaths == null in applyResourceOverlaysToWidgetsLocked()
3894 ? null : newAppInfo.overlayPaths.clone(); in applyResourceOverlaysToWidgetsLocked()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java3339 androidAppInfo.overlayPaths,
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13036 Landroid/content/pm/PackageUserState;->overlayPaths:[Ljava/lang/String;