Home
last modified time | relevance | path

Searched refs:PackageFreezer (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageFreezerTest.kt91 val freezer = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage()
107 val freezer1 = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage_twice()
109 val freezer2 = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage_twice()
130 var freezer: PackageFreezer? = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage_withoutClosing()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageFreezer.java33 final class PackageFreezer implements AutoCloseable { class
51 PackageFreezer(PackageManagerService pm, @Nullable InstallRequest request) { in PackageFreezer() method in PackageFreezer
63 PackageFreezer(String packageName, int userId, String killReason, in PackageFreezer() method in PackageFreezer
68 PackageFreezer(String packageName, int userId, String killReason, in PackageFreezer() method in PackageFreezer
DStorageEventHelper.java144 final ArrayList<PackageFreezer> freezers = new ArrayList<>(); in loadPrivatePackagesInner()
225 for (PackageFreezer freezer : freezers) { in loadPrivatePackagesInner()
260 try (PackageFreezer freezer = mPm.freezePackageForDelete(ps.getPackageName(), in unloadPrivatePackagesInner()
DInstallRequest.java118 private PackageFreezer mFreezer;
820 public void setFreezer(PackageFreezer freezer) { in setFreezer()
DMovePackageHelper.java160 final PackageFreezer freezer; in movePackageInternal()
DInstallPackageHelper.java1124 PackageFreezer freezer = freezePackageForInstall(packageName, in installPackagesLI()
1696 PackageFreezer freezer = null; in preparePackageLI()
2156 private PackageFreezer freezePackageForInstall(String packageName, int userId, int installFlags, in freezePackageForInstall()
2159 return new PackageFreezer(mPm, request); in freezePackageForInstall()
3087 try (PackageFreezer freezer = in enableCompressedPackage()
3111 try (PackageFreezer freezer = in enableCompressedPackage()
4192 try (@SuppressWarnings("unused") PackageFreezer freezer = mPm.freezePackage( in scanSystemPackageLI()
DPackageManagerService.java4350 public PackageFreezer freezePackage(String packageName, int userId, String killReason,
4356 private PackageFreezer freezePackage(String packageName, int userId, String killReason,
4358 return new PackageFreezer(packageName, userId, killReason, this, exitInfoReason, request,
4362 public PackageFreezer freezePackageForDelete(String packageName, int userId, int deleteFlags,
4365 return new PackageFreezer(this, null /* request */);
4735 try (PackageFreezer ignored =
4782 try (PackageFreezer freezer = freezePackage(packageName, UserHandle.USER_ALL,
DDeletePackageHelper.java246 try (PackageFreezer freezer = mPm.freezePackageForDelete(packageName, freezeUser, in deletePackageX()