Home
last modified time | relevance | path

Searched refs:OverlayPaths (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/content/pm/overlay/
DOverlayPaths.java31 public class OverlayPaths { class
50 final OverlayPaths mPaths = new OverlayPaths();
54 public Builder(@NonNull OverlayPaths base) { in Builder()
77 public Builder addAll(@Nullable OverlayPaths other) { in addAll()
89 public OverlayPaths build() { in build()
107 private OverlayPaths() { in OverlayPaths() method in OverlayPaths
168 OverlayPaths that = (OverlayPaths) o; in equals()
/frameworks/base/core/java/android/content/pm/pkg/
DFrameworkPackageUserState.java22 import android.content.pm.overlay.OverlayPaths;
42 OverlayPaths getAllOverlayPaths(); in getAllOverlayPaths()
68 OverlayPaths getOverlayPaths(); in getOverlayPaths()
71 Map<String, OverlayPaths> getSharedLibraryOverlayPaths(); in getSharedLibraryOverlayPaths()
DFrameworkPackageUserStateDefault.java22 import android.content.pm.overlay.OverlayPaths;
47 public Map<String, OverlayPaths> getSharedLibraryOverlayPaths() { in getSharedLibraryOverlayPaths()
97 public OverlayPaths getOverlayPaths() { in getOverlayPaths()
149 public OverlayPaths getAllOverlayPaths() { in getAllOverlayPaths()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserState.java24 import android.content.pm.overlay.OverlayPaths;
79 OverlayPaths getAllOverlayPaths(); in getAllOverlayPaths()
151 OverlayPaths getOverlayPaths(); in getOverlayPaths()
158 Map<String, OverlayPaths> getSharedLibraryOverlayPaths(); in getSharedLibraryOverlayPaths()
DPackageUserStateDefault.java24 import android.content.pm.overlay.OverlayPaths;
49 public Map<String, OverlayPaths> getSharedLibraryOverlayPaths() { in getSharedLibraryOverlayPaths()
104 public OverlayPaths getOverlayPaths() { in getOverlayPaths()
171 public OverlayPaths getAllOverlayPaths() { in getAllOverlayPaths()
DPackageUserStateImpl.java26 import android.content.pm.overlay.OverlayPaths;
109 private OverlayPaths mOverlayPaths;
113 protected WatchedArrayMap<String, OverlayPaths> mSharedLibraryOverlayPaths;
213 public boolean setOverlayPaths(@Nullable OverlayPaths paths) {
232 @Nullable OverlayPaths paths) {
237 final OverlayPaths currentPaths = mSharedLibraryOverlayPaths.get(library);
292 public OverlayPaths getAllOverlayPaths() {
296 final OverlayPaths.Builder newPaths = new OverlayPaths.Builder();
299 for (final OverlayPaths libOverlayPaths : mSharedLibraryOverlayPaths.values()) {
538 @NonNull ArrayMap<String, OverlayPaths> value) {
[all …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java24 import android.content.pm.overlay.OverlayPaths;
58 PackageUserStateWrite setOverlayPaths(@Nullable OverlayPaths overlayPaths); in setOverlayPaths()
62 @Nullable OverlayPaths overlayPaths); in setOverlayPathsForLibrary()
DPackageStateMutator.java25 import android.content.pm.overlay.OverlayPaths;
399 public PackageUserStateWrite setOverlayPaths(@NonNull OverlayPaths overlayPaths) { in setOverlayPaths()
409 @Nullable OverlayPaths overlayPaths) { in setOverlayPathsForLibrary()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java31 import android.content.pm.overlay.OverlayPaths;
376 assertFalse(testState.setOverlayPaths(new OverlayPaths.Builder().build())); in testOverlayPaths()
378 assertTrue(testState.setOverlayPaths(new OverlayPaths.Builder() in testOverlayPaths()
380 assertFalse(testState.setOverlayPaths(new OverlayPaths.Builder() in testOverlayPaths()
383 assertTrue(testState.setOverlayPaths(new OverlayPaths.Builder().build())); in testOverlayPaths()
394 new OverlayPaths.Builder().build())); in testSharedLibOverlayPaths()
396 assertTrue(testState.setSharedLibraryOverlayPaths(LIB_ONE, new OverlayPaths.Builder() in testSharedLibOverlayPaths()
398 assertFalse(testState.setSharedLibraryOverlayPaths(LIB_ONE, new OverlayPaths.Builder() in testSharedLibOverlayPaths()
400 assertTrue(testState.setSharedLibraryOverlayPaths(LIB_TW0, new OverlayPaths.Builder() in testSharedLibOverlayPaths()
404 new OverlayPaths.Builder().build())); in testSharedLibOverlayPaths()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt24 import android.content.pm.overlay.OverlayPaths
100 OverlayPaths::getOverlayPaths,
101 OverlayPaths::getResourceDirs,
179 OverlayPaths.Builder().addApkPath("/test/overlay.apk").build()) in fillMissingData()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java33 import android.content.pm.overlay.OverlayPaths;
609 @NonNull ArrayMap<String, OverlayPaths> pendingChanges, in setEnabledOverlayPackages()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java40 import android.content.pm.overlay.OverlayPaths;
773 OverlayPaths getEnabledOverlayPaths(@NonNull final String targetPackageName, in getEnabledOverlayPaths()
775 final var paths = new OverlayPaths.Builder(); in getEnabledOverlayPaths()
DOverlayManagerService.java58 import android.content.pm.overlay.OverlayPaths;
1561 final ArrayMap<String, OverlayPaths> pendingChanges = in updatePackageManagerLocked()
1564 final OverlayPaths frameworkOverlays = in updatePackageManagerLocked()
1567 final var list = new OverlayPaths.Builder(frameworkOverlays); in updatePackageManagerLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java37 import android.content.pm.overlay.OverlayPaths;
837 OverlayPaths getOverlayPaths(int userId) {
841 boolean setOverlayPathsForLibrary(String libName, OverlayPaths overlayPaths, int userId) {
DPackageManagerService.java120 import android.content.pm.overlay.OverlayPaths;
6874 @NonNull ArrayMap<String, OverlayPaths> pendingChanges, in setEnabledOverlayPackages()
7187 @NonNull ArrayMap<String, OverlayPaths> pendingChanges, in setEnabledOverlayPackages()
7198 final OverlayPaths newOverlayPaths = pendingChanges.valueAt(i); in setEnabledOverlayPackages()
7272 final OverlayPaths newOverlayPaths = pendingChanges.valueAt(i); in setEnabledOverlayPackages()
7309 final OverlayPaths newOverlayPaths = pendingChanges.valueAt(i); in setEnabledOverlayPackages()
7317 private boolean canSetOverlayPaths(OverlayPaths origPaths, OverlayPaths newPaths) { in canSetOverlayPaths()
7328 private void maybeUpdateSystemOverlays(String targetPackageName, OverlayPaths newOverlayPaths) { in maybeUpdateSystemOverlays()
DSettings.java58 import android.content.pm.overlay.OverlayPaths;
5433 final OverlayPaths overlayPaths = userState.getOverlayPaths();
5455 final Map<String, OverlayPaths> sharedLibraryOverlayPaths =
5458 for (Map.Entry<String, OverlayPaths> libOverlayPaths :
5460 final OverlayPaths paths = libOverlayPaths.getValue();
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java46 import android.content.pm.overlay.OverlayPaths;
415 final OverlayPaths overlayPaths = state.getAllOverlayPaths(); in updateApplicationInfo()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java59 import android.content.pm.overlay.OverlayPaths;
8020 final OverlayPaths overlayPaths = state.getAllOverlayPaths(); in updateApplicationInfo()
/frameworks/base/services/
Dart-profile2761 …/PackageUserState;)V+]Landroid/content/pm/overlay/OverlayPaths;Landroid/content/pm/overlay/Overlay…
2812 …roid/content/pm/overlay/OverlayPaths;+]Landroid/content/pm/overlay/OverlayPaths$Builder;Landroid/c…
Dart-wear-profile16741 …ServiceImpl;->getEnabledOverlayPaths(Ljava/lang/String;IZ)Landroid/content/pm/overlay/OverlayPaths;
18747 …;->canSetOverlayPaths(Landroid/content/pm/overlay/OverlayPaths;Landroid/content/pm/overlay/Overlay…
18835 …erService;->maybeUpdateSystemOverlays(Ljava/lang/String;Landroid/content/pm/overlay/OverlayPaths;)V
20555 …rver/pm/pkg/PackageUserStateDefault;->getAllOverlayPaths()Landroid/content/pm/overlay/OverlayPaths;
20573 …/server/pm/pkg/PackageUserStateImpl;->getAllOverlayPaths()Landroid/content/pm/overlay/OverlayPaths;
20589 …oid/server/pm/pkg/PackageUserStateImpl;->getOverlayPaths()Landroid/content/pm/overlay/OverlayPaths;
20623 …id/server/pm/pkg/PackageUserStateImpl;->setOverlayPaths(Landroid/content/pm/overlay/OverlayPaths;)Z
20648 …r$UserStateWriteWrapper;->setOverlayPaths(Landroid/content/pm/overlay/OverlayPaths;)Lcom/android/s…
/frameworks/base/boot/
Dpreloaded-classes1916 android.content.pm.overlay.OverlayPaths
Dboot-image-profile.txt24295 Landroid/content/pm/overlay/OverlayPaths;
/frameworks/base/config/
Dpreloaded-classes1920 android.content.pm.overlay.OverlayPaths
Dboot-image-profile.txt34429 Landroid/content/pm/overlay/OverlayPaths;