Home
last modified time | relevance | path

Searched refs:mInstaller (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DInstallerTest.java34 private Installer mInstaller; field in InstallerTest
69 mInstaller = new Installer(getContext()); in setUp()
70 mInstaller.onStart(); in setUp()
79 mInstaller = null; in tearDown()
109 mInstaller.getAppSize(app.volumeUuid, packageNames, userId, 0, in testGetAppSize()
114 mInstaller.getAppSize(app.volumeUuid, packageNames, userId, Installer.FLAG_USE_QUOTA, in testGetAppSize()
129 mInstaller.getUserSize(null, UserHandle.USER_SYSTEM, 0, in testGetUserSize()
134 mInstaller.getUserSize(null, UserHandle.USER_SYSTEM, Installer.FLAG_USE_QUOTA, in testGetUserSize()
145 final long[] stats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, 0, appIds); in testGetExternalSize()
149 final long[] quotaStats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, in testGetExternalSize()
DUserDataPreparerTest.java74 private Installer mInstaller; field in UserDataPreparerTest
84 mUserDataPreparer = new TestUserDataPreparer(mInstaller, mInstallLock, mContextMock, false, in setup()
104 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
122 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
163 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
186 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
213 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java99 private final Installer mInstaller; field in StorageStatsService
110 mInstaller = new Installer(context); in StorageStatsService()
111 mInstaller.onStart(); in StorageStatsService()
133 mInstaller.invalidateMounts(); in invalidateMounts()
160 return mInstaller.isQuotaSupported(volumeUuid); in isQuotaSupported()
277 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForPackage()
323 mInstaller.getAppSize(volumeUuid, packageNames, userId, getDefaultFlags(), in queryStatsForUid()
328 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, in queryStatsForUid()
351 mInstaller.getUserSize(volumeUuid, userId, getDefaultFlags(), appIds, stats); in queryStatsForUser()
355 mInstaller.getUserSize(volumeUuid, userId, 0, appIds, manualStats); in queryStatsForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java45 private final Installer mInstaller; field in IdmapManager
48 mInstaller = installer; in IdmapManager()
62 mInstaller.idmap(targetPath, overlayPath, sharedGid); in createIdmap()
77 mInstaller.removeIdmap(oi.baseCodePath); in removeIdmap()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java287 private final IPackageInstaller mInstaller; field in PackageInstaller
296 mInstaller = installer; in PackageInstaller()
321 return mInstaller.createSession(params, mInstallerPackageName, mUserId); in createSession()
341 return new Session(mInstaller.openSession(sessionId)); in openSession()
360 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon()
376 mInstaller.updateSessionAppLabel(sessionId, val); in updateSessionAppLabel()
393 mInstaller.abandonSession(sessionId); in abandonSession()
408 return mInstaller.getSessionInfo(sessionId); in getSessionInfo()
419 return mInstaller.getAllSessions(mUserId).getList(); in getAllSessions()
430 return mInstaller.getMySessions(mInstallerPackageName, mUserId).getList(); in getMySessions()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/
DPreloadAppsInstallerTest.java66 private PreloadAppsInstaller mInstaller; field in PreloadAppsInstallerTest
79 mInstaller = new PreloadAppsInstaller(mContext, mIpm, mPreloadsAppsDirectory); in setUp()
102 mInstaller.installApps(TEST_DEMO_USER); in testInstallApps()
124 mInstaller.installApps(TEST_DEMO_USER); in testInstallApps_noPreloads()
133 mInstaller.installApps(TEST_DEMO_USER); in testInstallApps_installationFails()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java80 private final Installer mInstaller; field in PackageDexOptimizer
89 this.mInstaller = installer; in PackageDexOptimizer()
97 this.mInstaller = from.mInstaller; in PackageDexOptimizer()
220 mInstaller.dexopt(path, uid, pkg.packageName, isa, dexoptNeeded, oatDir, dexoptFlags, in dexOptPath()
322 mInstaller.dexopt(path, info.uid, info.packageName, isa, /*dexoptNeeded*/ 0, in dexOptSecondaryDexPathLI()
530 return mInstaller.mergeProfiles(uid, pkg.packageName); in isProfileUpdated()
561 mInstaller.createOatDir(oatDir.getAbsolutePath(), dexInstructionSet); in createOatDirIfSupported()
DUserDataPreparer.java55 private final Installer mInstaller; field in UserDataPreparer
61 mInstaller = installer; in UserDataPreparer()
98 mInstaller.createUserData(volumeUuid, userId, userSerial, flags); in prepareUserDataLI()
129 mInstaller.destroyUserData(volumeUuid, userId, flags); in destroyUserDataLI()
DOtaDexoptService.java106 ota.moveAbArtifacts(packageManagerService.mInstaller); in main()
261 mPackageManagerService.mInstaller.deleteOdex(codePath, isa, getOatDir(pkg)); in deleteOatArtifactsOfPackage()
DPackageInstallerSession.java975 mPm.mInstaller.createOatDir(fromDir.getAbsolutePath(), instructionSet); in createOatDirs()
987 mPm.mInstaller.linkFile(relativePath, fromDir.getAbsolutePath(), in linkFiles()
1197 mPm.mInstaller.rmPackageDir(stageDir.getAbsolutePath()); in destroyInternal()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java90 private final Installer mInstaller; field in CacheQuotaStrategy
101 mInstaller = Preconditions.checkNotNull(installer); in CacheQuotaStrategy()
228 mInstaller.setAppQuota(request.getVolumeUuid(), in pushProcessedQuotas()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java74 private final Installer mInstaller; field in DexManager
88 mInstaller = installer; in DexManager()
422 dexStillExists = mInstaller.reconcileSecondaryDexFile(dexPath, packageName, in reconcileSecondaryDexFiles()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java93 IPackageInstaller mInstaller; field in Pm
131 mInstaller = mPm.getPackageInstaller(); in run()
453 mInstaller.abandonSession(sessionId); in runInstall()
607 final int sessionId = mInstaller.createSession(params, installerPackageName, userId); in doCreateSession()
622 final SessionInfo info = mInstaller.getSessionInfo(sessionId); in doWriteSession()
629 mInstaller.openSession(sessionId)); in doWriteSession()
671 mInstaller.openSession(sessionId)); in doCommitSession()
696 session = new PackageInstaller.Session(mInstaller.openSession(sessionId)); in doAbandonSession()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java119 private PackageInstaller mInstaller; field in ApplicationPackageManager
2400 if (mInstaller == null) { in getPackageInstaller()
2402 mInstaller = new PackageInstaller(mPM.getPackageInstaller(), in getPackageInstaller()
2408 return mInstaller; in getPackageInstaller()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java614 private Installer mInstaller; field in ActivityManagerService
2860 mInstaller = installer; in setInstaller()
7111 mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); in finishBooting()