/frameworks/base/services/tests/servicestests/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 | 75 private Installer mInstaller; field in UserDataPreparerTest 85 mUserDataPreparer = new TestUserDataPreparer(mInstaller, mInstallLock, mContextMock, false, in setup() 105 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 123 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 161 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 179 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 204 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ViewCompiler.java | 29 private final Installer mInstaller; field in ViewCompiler 33 mInstaller = installer; in ViewCompiler() 47 return mInstaller.compileLayouts(apkPath, packageName, outDexFile, in compileLayouts()
|
D | ArtManagerService.java | 92 private final Installer mInstaller; field in ArtManagerService 104 mInstaller = installer; in ArtManagerService() 263 if (!mInstaller.createProfileSnapshot(appId, packageName, profileName, classpath)) { in createProfileSnapshot() 301 mInstaller.destroyProfileSnapshot(packageName, profileName); in destroyProfileSnapshot() 416 synchronized (mInstaller) { in prepareAppProfiles() 417 boolean result = mInstaller.prepareAppProfile(pkg.packageName, user, appId, in prepareAppProfiles() 448 mInstaller.clearAppProfiles(pkg.packageName, profileName); in clearAppProfiles() 466 mInstaller.dumpProfiles(sharedGid, pkg.packageName, profileName, codePath); in dumpProfiles() 497 return mInstaller.compileLayouts(apkPath, packageName, outDexFile, in compileLayouts()
|
D | DynamicCodeLogger.java | 62 private final Installer mInstaller; field in DynamicCodeLogger 73 mInstaller = installer; in DynamicCodeLogger() 141 hash = mInstaller.hashSecondaryDexFile(filePath, packageName, appInfo.uid, in logDynamicCodeLoading()
|
D | DexManager.java | 103 private final Installer mInstaller; field in DexManager 131 mInstaller = installer; in DexManager() 560 dexStillExists = mInstaller.reconcileSecondaryDexFile(dexPath, packageName, in reconcileSecondaryDexFiles()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 48 private final Installer mInstaller; field in AppDataRollbackHelper 51 mInstaller = installer; in AppDataRollbackHelper() 73 long ceSnapshotInode = mInstaller.snapshotAppData( in snapshotAppData() 122 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), appId, seInfo, in restoreAppData() 145 mInstaller.destroyAppDataSnapshot(packageRollbackInfo.getPackageName(), user, in destroyAppDataSnapshot() 255 long ceSnapshotInode = mInstaller.snapshotAppData(info.getPackageName(), in commitPendingBackupAndRestoreForUser() 275 mInstaller.restoreAppDataSnapshot(info.getPackageName(), ri.appId, in commitPendingBackupAndRestoreForUser()
|
D | RollbackManagerServiceImpl.java | 126 private final Installer mInstaller; field in RollbackManagerServiceImpl 140 mInstaller = new Installer(mContext); in RollbackManagerServiceImpl() 141 mInstaller.onStart(); in RollbackManagerServiceImpl() 151 mAppDataRollbackHelper = new AppDataRollbackHelper(mInstaller); in RollbackManagerServiceImpl()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 101 private final Installer mInstaller; field in StorageStatsService 112 mInstaller = new Installer(context); in StorageStatsService() 113 mInstaller.onStart(); in StorageStatsService() 136 mInstaller.invalidateMounts(); in invalidateMounts() 161 return mInstaller.isQuotaSupported(volumeUuid); in isQuotaSupported() 288 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForPackage() 334 mInstaller.getAppSize(volumeUuid, packageNames, userId, getDefaultFlags(), in queryStatsForUid() 339 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForUid() 362 mInstaller.getUserSize(volumeUuid, userId, getDefaultFlags(), appIds, stats); in queryStatsForUser() 366 mInstaller.getUserSize(volumeUuid, userId, 0, appIds, manualStats); in queryStatsForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 55 private final Installer mInstaller; field in IdmapManager 74 mInstaller = installer; in IdmapManager() 100 mInstaller.idmap(targetPath, overlayPath, sharedGid); in createIdmap() 118 mInstaller.removeIdmap(oi.baseCodePath); in removeIdmap()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 331 private final IPackageInstaller mInstaller; field in PackageInstaller 340 mInstaller = installer; in PackageInstaller() 372 return mInstaller.createSession(params, installerPackage, mUserId); in createSession() 393 return new Session(mInstaller.openSession(sessionId)); in openSession() 413 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon() 429 mInstaller.updateSessionAppLabel(sessionId, val); in updateSessionAppLabel() 446 mInstaller.abandonSession(sessionId); in abandonSession() 461 return mInstaller.getSessionInfo(sessionId); in getSessionInfo() 472 return mInstaller.getAllSessions(mUserId).getList(); in getAllSessions() 483 return mInstaller.getMySessions(mInstallerPackageName, mUserId).getList(); in getMySessions() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | RulesManagerService.java | 107 private final TimeZoneDistroInstaller mInstaller; field in RulesManagerService 130 mInstaller = timeZoneDistroInstaller; in RulesManagerService() 150 baseVersion = mInstaller.readBaseVersion(); in getRulesStateInternal() 162 installedDistroVersion = mInstaller.getInstalledDistroVersion(); in getRulesStateInternal() 184 stagedDistroOperation = mInstaller.getStagedDistroOperation(); in getRulesStateInternal() 283 int installerResult = mInstaller.stageInstallWithErrorCode(distro); in run() 373 int uninstallResult = mInstaller.stageUninstall(); in run()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 57 private final Installer mInstaller; field in UserDataPreparer 63 mInstaller = installer; in UserDataPreparer() 100 mInstaller.createUserData(volumeUuid, userId, userSerial, flags); in prepareUserDataLI() 139 mInstaller.destroyUserData(volumeUuid, userId, flags); in destroyUserDataLI()
|
D | PackageDexOptimizer.java | 91 private final Installer mInstaller; field in PackageDexOptimizer 100 this.mInstaller = installer; in PackageDexOptimizer() 108 this.mInstaller = from.mInstaller; in PackageDexOptimizer() 289 mInstaller.dexopt(path, uid, pkg.packageName, isa, dexoptNeeded, oatDir, dexoptFlags, in dexOptPath() 422 mInstaller.dexopt(path, info.uid, info.packageName, isa, /*dexoptNeeded*/ 0, in dexOptSecondaryDexPathLI() 633 return mInstaller.mergeProfiles(uid, pkg.packageName, profileName); in isProfileUpdated() 664 mInstaller.createOatDir(oatDir.getAbsolutePath(), dexInstructionSet); in createOatDirIfSupported()
|
D | OtaDexoptService.java | 104 ota.moveAbArtifacts(packageManagerService.mInstaller); in main()
|
D | PackageInstallerSession.java | 1896 mPm.mInstaller.createOatDir(fromDir.getAbsolutePath(), instructionSet); in createOatDirs() 1908 mPm.mInstaller.linkFile(relativePath, fromDir.getAbsolutePath(), in linkFiles() 2282 mPm.mInstaller.rmPackageDir(stageDir.getAbsolutePath()); in destroyInternal() 2295 mPm.mInstaller.rmPackageDir(stageDir.getAbsolutePath()); in cleanStageDir()
|
D | PackageManagerService.java | 660 final Installer mInstaller; field in PackageManagerService 808 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths() 2403 mInstaller = installer; in PackageManagerService() 2412 new UserDataPreparer(mInstaller, mInstallLock, mContext, mOnlyCore), mPackages); in PackageManagerService() 2463 mViewCompiler = new ViewCompiler(mInstallLock, mInstaller); in PackageManagerService() 3133 mInstaller.rmdex(codePathString, in PackageManagerService() 3198 mInstaller.fixupAppData(StorageManager.UUID_PRIVATE_INTERNAL, in PackageManagerService() 3373 mInstaller.setWarnIfHeld(mPackages); in PackageManagerService() 4825 mInstaller.freeCache(volumeUuid, bytes, reservedBytes, in freeStorage() 4852 mInstaller.freeCache(volumeUuid, bytes, reservedBytes, in freeStorage() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 90 PackageInstaller mInstaller; field in PackageInstallerActivity 295 mInstaller = mPm.getPackageInstaller(); in onCreate() 312 final PackageInstaller.SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate() 388 mInstaller.setPermissionsResult(mSessionId, true); in bindUi() 400 mInstaller.setPermissionsResult(mSessionId, false); in bindUi() 550 mInstaller.setPermissionsResult(mSessionId, false); in onBackPressed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 86 @Mock Installer mInstaller; field in DynamicCodeLoggerTests 109 mDynamicCodeLogger = new DynamicCodeLogger(mPM, mInstaller, packageDynamicCodeLoading) { in setup() 293 stubber.when(mInstaller).hashSecondaryDexFile( in whenFileIsHashed()
|
D | DexManagerTests.java | 73 @Mock Installer mInstaller; field in DexManagerTests 112 mInstaller, mInstallLock); in setup()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 89 private final Installer mInstaller; field in CacheQuotaStrategy 100 mInstaller = Preconditions.checkNotNull(installer); in CacheQuotaStrategy() 227 mInstaller.setAppQuota(request.getVolumeUuid(), in pushProcessedQuotas()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 132 private PackageInstaller mInstaller; field in ApplicationPackageManager 2694 if (mInstaller == null) { in getPackageInstaller() 2696 mInstaller = new PackageInstaller(mPM.getPackageInstaller(), in getPackageInstaller() 2702 return mInstaller; in getPackageInstaller()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 557 private Installer mInstaller; field in ActivityManagerService 2591 mInstaller = installer; in setInstaller() 5210 mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); in finishBooting()
|