/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | InstallerTest.java | 44 private Installer mInstaller; field in InstallerTest 79 mInstaller = new Installer(getContext()); in setUp() 80 mInstaller.onStart(); in setUp() 89 mInstaller = null; in tearDown() 121 mInstaller.getAppSize(app.volumeUuid, packageNames, userId, 0, in testGetAppSize() 126 mInstaller.getAppSize(app.volumeUuid, packageNames, userId, Installer.FLAG_USE_QUOTA, in testGetAppSize() 143 mInstaller.getUserSize(null, UserHandle.USER_SYSTEM, 0, in testGetUserSize() 148 mInstaller.getUserSize(null, UserHandle.USER_SYSTEM, Installer.FLAG_USE_QUOTA, in testGetUserSize() 161 final long[] stats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, 0, appIds); in testGetExternalSize() 165 final long[] quotaStats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, in testGetExternalSize()
|
D | UserDataPreparerTest.java | 72 private Installer mInstaller; field in UserDataPreparerTest 84 mUserDataPreparer = new TestUserDataPreparer(mInstaller, mInstallLock, mContextMock, in setup() 103 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 120 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 174 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 198 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 228 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 42 private final Installer mInstaller; field in AppDataRollbackHelper 46 mInstaller = installer; in AppDataRollbackHelper() 52 mInstaller = installer; in AppDataRollbackHelper() 131 return mInstaller.snapshotAppData( in doSnapshot() 164 mInstaller.clearAppData(null, packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 169 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 193 mInstaller.destroyAppDataSnapshot(packageRollbackInfo.getPackageName(), user, in destroyAppDataSnapshot()
|
D | RollbackManagerServiceImpl.java | 162 private final Installer mInstaller; field in RollbackManagerServiceImpl 184 mInstaller = new Installer(mContext); in RollbackManagerServiceImpl() 185 mInstaller.onStart(); in RollbackManagerServiceImpl() 192 mAppDataRollbackHelper = new AppDataRollbackHelper(mInstaller); in RollbackManagerServiceImpl() 594 mInstaller.destroyCeSnapshotsNotSpecified(userId, rollbackIds);
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStaging.java | 60 private @Nullable PackageInstaller mInstaller; field in InstallStaging 74 mInstaller = getPackageManager().getPackageInstaller(); in onCreate() 121 final PackageInstaller.SessionInfo info = mInstaller.getSessionInfo( in onResume() 140 mInstaller, getIntent(), pfd, packageUri.toString()); in onResume() 141 mStagedSessionId = mInstaller.createSession(params); in onResume() 228 mInstaller.abandonSession(mStagedSessionId); in cleanupStagingSession() 310 try (PackageInstaller.Session session = mInstaller.openSession(mStagedSessionId); in doInBackground() 345 return mInstaller.getSessionInfo(mStagedSessionId); in doInBackground()
|
D | PackageInstallerActivity.java | 107 PackageInstaller mInstaller; field in PackageInstallerActivity 373 mInstaller = mPm.getPackageInstaller(); in onCreate() 390 final SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate() 406 final SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate() 540 mInstaller.setPermissionsResult(mSessionId, true); in finish() 542 mInstaller.setPermissionsResult(mSessionId, false); in finish()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppDataHelper.java | 71 private final Installer mInstaller; field in AppDataHelper 79 mInstaller = mInjector.getInstaller(); in AppDataHelper() 168 batch.execute(mInstaller); in executeBatchLI() 251 createAppDataResult = mInstaller.createAppData(args); in prepareAppData() 304 mInstaller.linkNativeLibraryDirectory(volumeUuid, packageName, 324 mInstaller.migrateAppData(ps.getVolumeUuid(), ps.getPackageName(), userId, 379 mInstaller.cleanupInvalidPackageDirs(volumeUuid, userId, flags); 405 mInstaller.destroyAppData(volumeUuid, packageName, userId, 422 mInstaller.destroyAppData(volumeUuid, packageName, userId, 518 mInstaller.fixupAppData(StorageManager.UUID_PRIVATE_INTERNAL, [all …]
|
D | FreeStorageHelper.java | 111 mPm.mInstaller.freeCache(volumeUuid, bytes, Installer.FLAG_FREE_CACHE_V2); in freeStorage() 143 mPm.mInstaller.freeCache(volumeUuid, bytes, in freeStorage() 176 mPm.mInstaller.freeCache(volumeUuid, bytes, 0); in freeStorage() 195 mPm.mInstaller.freeCache(null, sizeBytes + lowThreshold, 0); in freeCacheForInstallation()
|
D | PackageDexOptimizer.java | 132 private final Installer mInstaller; field in PackageDexOptimizer 162 this.mInstaller = from.mInstaller; in PackageDexOptimizer() 173 this.mInstaller = installer; in PackageDexOptimizer() 447 if (!mInstaller.isIsolated()) { in prepareCloudProfile() 726 if (!mInstaller.isIsolated()) { in getDexoptNeeded() 905 return mInstaller; in getInstallerLI()
|
D | RemovePackageHelper.java | 67 private final Installer mInstaller; field in RemovePackageHelper 78 mInstaller = mPm.mInjector.getInstaller(); in RemovePackageHelper() 111 mInstaller.rmPackageDir(packageName, codePath.getAbsolutePath()); in removeCodePathLI() 113 mInstaller.rmPackageDir(packageName, codePathParent.getAbsolutePath()); in removeCodePathLI() 543 mPm.mInstaller.destroyAppData(volumeUuid, packageName, userId, flags, in cleanUpForMoveInstall()
|
D | PackageManagerServiceInjector.java | 88 private final Installer mInstaller; field in PackageManagerServiceInjector 187 mInstaller = installer; in PackageManagerServiceInjector() 282 return mInstaller; in getInstaller()
|
D | OtaDexoptService.java | 113 ota.moveAbArtifacts(packageManagerService.mInstaller); in main()
|
D | MovePackageHelper.java | 373 mPm.mInstaller.getAppSize(packageStateInternal.getVolumeUuid(), packageNames, userId, in getPackageSizeInfoLI()
|
D | PackageManagerService.java | 617 final Installer mInstaller; field in PackageManagerService 1866 mInstaller = injector.getInstaller(); in PackageManagerService() 1990 mInstaller = injector.getInstaller(); in PackageManagerService() 2189 mInstaller.setFirstBoot(); in PackageManagerService() 2551 mInstaller.setWarnIfHeld(mLock); in PackageManagerService() 2910 mInstaller.freeCache(volumeUuid, Long.MAX_VALUE, Installer.FLAG_FREE_CACHE_V2 4414 mSettings.createNewUserLI(this, mInstaller, userId, 6957 mInstaller.migrateLegacyObbData(); in migrateLegacyObbData() 8044 ReconcileSdkDataArgs args = mInstaller.buildReconcileSdkDataArgs(volumeUuid, in reconcileSdkData() 8049 mInstaller.reconcileSdkData(args); in reconcileSdkData()
|
D | InstallingSession.java | 377 mPm.mInstaller.moveCompleteApp(mMoveInfo.mFromUuid, mMoveInfo.mToUuid, in copyApkForMoveInstall()
|
D | PackageInstallerSession.java | 399 private final Installer mInstaller; field in PackageInstallerSession 1163 mInstaller = (mPm != null) ? mPm.mInstaller : null; in PackageInstallerSession() 4297 mInstaller.createOatDir(packageName, fromDir.getAbsolutePath(), instructionSet); 4313 mInstaller.linkFile(packageName, relativePath, fromBase, toBase); 5367 mInstaller.rmPackageDir(tempPackageName, stageDir.getAbsolutePath());
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 133 private final Installer mInstaller; field in StorageStatsService 153 mInstaller = new Installer(context); in StorageStatsService() 154 mInstaller.onStart(); in StorageStatsService() 207 mInstaller.invalidateMounts(); in invalidateMounts() 247 return mInstaller.isQuotaSupported(volumeUuid); in isQuotaSupported() 402 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForPackage() 466 mInstaller.getAppSize(volumeUuid, packageNames, userId, getDefaultFlags(), in queryStatsForUid() 471 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForUid() 500 mInstaller.getUserSize(volumeUuid, userId, getDefaultFlags(), appIds, stats); in queryStatsForUser() 504 mInstaller.getUserSize(volumeUuid, userId, 0, appIds, manualStats); in queryStatsForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 68 private final Installer mInstaller; field in DynamicCodeLogger 71 mInstaller = installer; in DynamicCodeLogger() 79 mInstaller = installer; in DynamicCodeLogger() 157 hash = mInstaller.hashSecondaryDexFile(filePath, packageName, appInfo.uid, in logDynamicCodeLoading()
|
D | ArtManagerService.java | 94 private final Installer mInstaller; field in ArtManagerService 105 mInstaller = installer; in ArtManagerService()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 771 private final IPackageInstaller mInstaller; field in PackageInstaller 782 mInstaller = installer; in PackageInstaller() 808 return mInstaller.createSession(params, mInstallerPackageName, mAttributionTag, in createSession() 830 return new Session(mInstaller.openSession(sessionId)); in openSession() 850 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon() 866 mInstaller.updateSessionAppLabel(sessionId, val); in updateSessionAppLabel() 883 mInstaller.abandonSession(sessionId); in abandonSession() 899 return mInstaller.getSessionInfo(sessionId); in getSessionInfo() 913 return mInstaller.getAllSessions(mUserId).getList(); in getAllSessions() 924 return mInstaller.getMySessions(mInstallerPackageName, mUserId).getList(); in getMySessions() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 88 @Mock Installer mInstaller; field in DynamicCodeLoggerTests 111 mDynamicCodeLogger = new DynamicCodeLogger(mPM, mInstaller, packageDynamicCodeLoading) { in setup() 295 stubber.when(mInstaller).hashSecondaryDexFile( in whenFileIsHashed()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 89 private final Installer mInstaller; field in CacheQuotaStrategy 100 mInstaller = Objects.requireNonNull(installer); in CacheQuotaStrategy() 224 mInstaller.setAppQuota(request.getVolumeUuid(), in pushProcessedQuotas()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 477 private final Installer mInstaller; field in StorageManagerService 1541 mInstaller.onPrivateVolumeRemoved(vol.getFsUuid()); 1964 mInstaller = new Installer(mContext); in StorageManagerService() 1965 mInstaller.onStart(); in StorageManagerService() 2406 mInstaller.onPrivateVolumeRemoved(vol.getFsUuid()); in unmount() 3389 mInstaller.tryMountDataMirror(volumeUuid); in prepareUserStorageInternal() 5076 return mInstaller.createFsveritySetupAuthToken(authFd, uid); in createFsveritySetupAuthToken() 5086 return mInstaller.enableFsverity(authToken, filePath, packageName); in enableFsverity()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 81 @Mock Installer mInstaller; field in DexManagerTests 160 mDynamicCodeLogger = new DynamicCodeLogger(mInstaller); in setup()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 186 private volatile PackageInstaller mInstaller; field in ApplicationPackageManager 3345 if (mInstaller == null) { in getPackageInstaller() 3347 mInstaller = new PackageInstaller(mPM.getPackageInstaller(), in getPackageInstaller() 3353 return mInstaller; in getPackageInstaller()
|