Home
last modified time | relevance | path

Searched refs:installLock (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DLockGuard.java180 public static Object installLock(Object lock, String label) { in installLock() method in LockGuard
189 public static Object installLock(Object lock, int index) { in installLock() method in LockGuard
190 return installLock(lock, index, /*doWtf=*/ false); in installLock()
196 public static Object installLock(Object lock, int index, boolean doWtf) { in installLock() method in LockGuard
210 installLock(lock, index, doWtf); in installNewLock()
/frameworks/base/services/core/java/com/android/server/pm/
DFreeStorageHelper.java110 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage() argument
142 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage() argument
175 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeStorage() argument
194 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in freeCacheForInstallation() argument
DPackageDexOptimizer.java145 PackageDexOptimizer(Installer installer, PackageManagerTracedLock installLock, Context context, in PackageDexOptimizer() argument
157 }, installer, installLock, context, wakeLockTag); in PackageDexOptimizer()
171 PackageManagerTracedLock installLock, Context context, String wakeLockTag) { in PackageDexOptimizer() argument
174 this.mInstallLock = installLock; in PackageDexOptimizer()
234 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) { in performDexOpt() argument
872 PackageManagerTracedLock installLock, Context context, String wakeLockTag) { in ForcedUpdatePackageDexOptimizer() argument
873 super(installer, installLock, context, wakeLockTag); in ForcedUpdatePackageDexOptimizer()
DRemovePackageHelper.java86 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removeCodePath() argument
136 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removePackage() argument
359 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in removePackageData() argument
491 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanUpResources() argument
531 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanUpForMoveInstall() argument
DStorageEventHelper.java159 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in loadPrivatePackagesInner() argument
197 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in loadPrivatePackagesInner() argument
250 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in unloadPrivatePackagesInner() argument
DPackageManagerServiceInjector.java147 Installer installer, PackageManagerTracedLock installLock, PackageAbiHelper abiHelper, in PackageManagerServiceInjector() argument
189 mInstallLock = installLock; in PackageManagerServiceInjector()
DAppDataHelper.java348 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
508 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
544 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) {
DOtaDexoptService.java510 PackageManagerTracedLock installLock, Context context) { in OTADexoptPackageDexOptimizer() argument
511 super(installer, installLock, context, "*otadexopt*"); in OTADexoptPackageDexOptimizer()
DDeletePackageHelper.java244 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deletePackageX() argument
283 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deletePackageX() argument
438 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in executeDeletePackage() argument
684 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in deleteInstalledSystemPackage() argument
DInstallPackageHelper.java759 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in installExistingPackageAsUser() argument
988 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in installPackagesTraced() argument
2593 PackageManagerTracedLock.RawLock installLock = mPm.mInstallLock.getRawLock(); in executePostCommitStepsLIF() local
2594 installLock.unlock(); in executePostCommitStepsLIF()
2614 installLock.lock(); in executePostCommitStepsLIF()
2938 try (var installLock = mPm.mInstallLock.acquireLock()) { in handlePackagePostInstall() argument
3085 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in enableCompressedPackage() argument
3248 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in restoreDisabledSystemPackageLIF() argument
3482 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in cleanupDisabledPackageSettings() argument
3691 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in checkExistingBetterPackages() argument
DMovePackageHelper.java209 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in movePackageInternal() argument
DPackageManagerService.java1675 final PackageManagerTracedLock installLock = new PackageManagerTracedLock("mInstallLock"); in main() local
1684 context, lock, installer, installLock, new PackageAbiHelperImpl(), in main()
1691 new UserDataPreparer(installer, installLock, context), lock), in main()
1983 LockGuard.installLock(mLock, LockGuard.INDEX_PACKAGES); in PackageManagerService()
2141 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) { in PackageManagerService() argument
2906 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4413 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4739 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4786 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
4929 try (PackageManagerTracedLock installLock = mInstallLock.acquireLock()) {
[all …]
DInstallingSession.java376 try (PackageManagerTracedLock installLock = mPm.mInstallLock.acquireLock()) { in copyApkForMoveInstall() argument
DSharedLibrariesImpl.java732 try (var installLock = mPm.mInstallLock.acquireLock()) {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java241 TestUserDataPreparer(Installer installer, PackageManagerTracedLock installLock, in TestUserDataPreparer() argument
243 super(installer, installLock, context); in TestUserDataPreparer()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceHibernationTests.kt88 rule.mocks().installLock, in setup()
DMockSystem.kt190 val installLock = PackageManagerTracedLock() constant in com.android.server.pm.Mocks
280 whenever(mocks.injector.installLock).thenReturn(mocks.installLock) in stageNominalSystemState()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java117 import static com.android.server.LockGuard.installLock;
1238 installLock(this, INDEX_WINDOW); in WindowManagerService()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1005 LockGuard.installLock(this, LockGuard.INDEX_APP_OPS); in AppOpsService()
/frameworks/base/services/
Dart-wear-profile2397 HSPLcom/android/server/LockGuard;->installLock(Ljava/lang/Object;I)Ljava/lang/Object;
2398 HSPLcom/android/server/LockGuard;->installLock(Ljava/lang/Object;IZ)Ljava/lang/Object;