Home
last modified time | relevance | path

Searched refs:PackageManagerTracedLock (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterLocked.java31 protected final PackageManagerTracedLock mForceQueryableLock =
32 new PackageManagerTracedLock();
33 protected final PackageManagerTracedLock mQueriesViaPackageLock =
34 new PackageManagerTracedLock();
35 protected final PackageManagerTracedLock mQueriesViaComponentLock =
36 new PackageManagerTracedLock();
40 protected final PackageManagerTracedLock mImplicitlyQueryableLock =
41 new PackageManagerTracedLock();
42 protected final PackageManagerTracedLock mQueryableViaUsesLibraryLock =
43 new PackageManagerTracedLock();
[all …]
DPackageManagerTracedLock.java29 public class PackageManagerTracedLock implements AutoCloseable { class
34 public PackageManagerTracedLock(@Nullable String lockName) { in PackageManagerTracedLock() method in PackageManagerTracedLock
38 public PackageManagerTracedLock() { in PackageManagerTracedLock() method in PackageManagerTracedLock
52 public PackageManagerTracedLock acquireLock() { in acquireLock()
DPackageManagerServiceInjector.java87 private final PackageManagerTracedLock mLock;
89 private final PackageManagerTracedLock mInstallLock;
146 PackageManagerServiceInjector(Context context, PackageManagerTracedLock lock, in PackageManagerServiceInjector()
147 Installer installer, PackageManagerTracedLock installLock, PackageAbiHelper abiHelper, in PackageManagerServiceInjector()
257 public PackageManagerTracedLock getInstallLock() { in getInstallLock()
269 public PackageManagerTracedLock getLock() { in getLock()
DFreeStorageHelper.java110 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage()
142 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage()
175 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage()
194 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeCacheForInstallation()
DCrossProfileIntentFilterHelper.java32 private final PackageManagerTracedLock mLock;
35 PackageManagerTracedLock lock, UserManagerInternal userManagerInternal, in CrossProfileIntentFilterHelper()
DRemovePackageHelper.java86 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removeCodePath()
136 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removePackage()
359 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removePackageData()
491 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanUpResources()
531 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanUpForMoveInstall()
DStorageEventHelper.java159 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in loadPrivatePackagesInner()
197 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in loadPrivatePackagesInner()
250 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in unloadPrivatePackagesInner()
DPackageDexOptimizer.java126 private final PackageManagerTracedLock mInstallLock;
145 PackageDexOptimizer(Installer installer, PackageManagerTracedLock installLock, Context context, in PackageDexOptimizer()
171 PackageManagerTracedLock installLock, Context context, String wakeLockTag) { in PackageDexOptimizer()
234 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) { in performDexOpt()
872 PackageManagerTracedLock installLock, Context context, String wakeLockTag) { in ForcedUpdatePackageDexOptimizer()
DPendingPackageBroadcasts.java37 private final Object mLock = new PackageManagerTracedLock();
DAppDataHelper.java348 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
508 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
544 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
DDeletePackageHelper.java244 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deletePackageX()
283 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deletePackageX()
438 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in executeDeletePackage()
684 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deleteInstalledSystemPackage()
DPackageManagerService.java627 final PackageManagerTracedLock mInstallLock;
634 final PackageManagerTracedLock mLock;
637 private final PackageManagerTracedLock mOverlayPathsLock = new PackageManagerTracedLock();
640 private final PackageManagerTracedLock mPackageStateWriteLock;
1674 final PackageManagerTracedLock lock = new PackageManagerTracedLock("mLock"); in main()
1675 final PackageManagerTracedLock installLock = new PackageManagerTracedLock("mInstallLock"); in main()
2141 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) { in PackageManagerService()
2906 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4413 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4739 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
[all …]
DOtaDexoptService.java510 PackageManagerTracedLock installLock, Context context) { in OTADexoptPackageDexOptimizer()
DMovePackageHelper.java209 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in movePackageInternal()
DInstallPackageHelper.java759 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in installExistingPackageAsUser()
988 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in installPackagesTraced()
2593 PackageManagerTracedLock.RawLock installLock = mPm.mInstallLock.getRawLock(); in executePostCommitStepsLIF()
3085 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in enableCompressedPackage()
3248 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in restoreDisabledSystemPackageLIF()
3482 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanupDisabledPackageSettings()
3691 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in checkExistingBetterPackages()
DInstallingSession.java376 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in copyApkForMoveInstall()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerTracedLockTest.java37 PackageManagerTracedLock mLock = new PackageManagerTracedLock();
38 PackageManagerTracedLock.RawLock mRawLock = mLock.getRawLock();
DMockSystem.kt189 val lock = PackageManagerTracedLock()
190 val installLock = PackageManagerTracedLock()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionSettings.java31 import com.android.server.pm.PackageManagerTracedLock;
62 private final PackageManagerTracedLock mLock = new PackageManagerTracedLock();
DPermissionManagerServiceImpl.java141 import com.android.server.pm.PackageManagerTracedLock;
258 private final PackageManagerTracedLock mLock = new PackageManagerTracedLock();
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverLocked.java32 import com.android.server.pm.PackageManagerTracedLock;
40 protected final PackageManagerTracedLock mLock = new PackageManagerTracedLock();
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java74 private PackageManagerTracedLock mInstallLock;
82 mInstallLock = new PackageManagerTracedLock(); in setup()
241 TestUserDataPreparer(Installer installer, PackageManagerTracedLock installLock, in TestUserDataPreparer()
DPackageManagerSettingsDeviceTests.java155 new PackageManagerTracedLock()); in makeSettings()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt35 import com.android.server.pm.PackageManagerTracedLock in <lambda>()
391 whenever(this.lock) { PackageManagerTracedLock() } in <lambda>()
/frameworks/base/services/core/
DAndroid.bp250 …m/android/server/wm/WindowManagerGlobalLock;,Lcom/android/server/pm/PackageManagerTracedLock;\" " +

12