Home
last modified time | relevance | path

Searched refs:mApexManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java65 private ApexManager mApexManager; field in ApexManagerTest
75 mApexManager = managerImpl; in setUp()
81 final PackageInfo activePkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchActivePackage()
87 final PackageInfo factoryPkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchActivePackage()
96 PackageInfo factoryPkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchFactoryPackage()
102 final PackageInfo activePkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchFactoryPackage()
112 assertThat(mApexManager.getPackageInfo(TEST_APEX_PKG, 0)).isNull(); in testGetPackageInfo_setFlagsNone()
119 assertThat(mApexManager.getActivePackages()).isNotEmpty(); in testGetActivePackages()
126 assertThat(mApexManager.getActivePackages()).isEmpty(); in testGetActivePackages_noneActivePackages()
133 assertThat(mApexManager.getFactoryPackages()).isNotEmpty(); in testGetFactoryPackages()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java80 private final ApexManager mApexManager; field in StagingManager
90 mApexManager = am; in StagingManager()
139 final PackageInfo existingApexPkg = mApexManager.getPackageInfo(packageName, in validateApexSignature()
182 final ApexInfoList apexInfoList = mApexManager.submitStagedSession(session.sessionId, in submitSessionToApexService()
198 final PackageInfo activePackage = mApexManager.getPackageInfo(packageInfo.packageName, in submitSessionToApexService()
221 if (!mApexManager.abortStagedSession(session.sessionId)) { in checkRequiredVersionCode()
240 if (!mApexManager.abortStagedSession(session.sessionId)) { in checkDowngrade()
283 mApexManager.revertActiveSessions(); in abortCheckpoint()
289 mApexManager.revertActiveSessions(); in abortCheckpoint()
309 apexSessionInfo = mApexManager.getStagedSessionInfo(session.sessionId); in resumeSession()
[all …]
DPackageInstallerService.java134 private final ApexManager mApexManager; field in PackageInstallerService
209 mApexManager = am; in PackageInstallerService()
526 if (!mApexManager.isApexSupported()) { in createSessionInternal()
DPackageManagerService.java750 private final ApexManager mApexManager; field in PackageManagerService
2630 mApexManager = ApexManager.create(mContext); in PackageManagerService()
2634 mDirsToScanAsSystem.addAll(mApexManager.getActiveApexInfos().stream() in PackageManagerService()
3248 mInstallerService = new PackageInstallerService(context, this, mApexManager); in PackageManagerService()
4148 return mApexManager.getPackageInfo(packageName,
4191 return mApexManager.getPackageInfo(packageName, ApexManager.MATCH_ACTIVE_PACKAGE);
8487 list.addAll(mApexManager.getFactoryPackages());
8489 list.addAll(mApexManager.getActivePackages());
8492 list.addAll(mApexManager.getInactivePackages());
11738 && mApexManager.isApexPackage(pkg.packageName)) {
[all …]