Home
last modified time | relevance | path

Searched refs:ApexManager (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DApexManagerTest.java87 private ApexManager mApexManager;
98 ApexManager.ApexManagerImpl managerImpl = spy(new ApexManager.ApexManagerImpl()); in setUp()
141 private List<ApexManager.ScanResult> scanApexInfos(ApexInfo[] apexInfos) { in scanApexInfos()
149 private ApexManager.ScanResult findActive(@NonNull List<ApexManager.ScanResult> results) { in findActive()
158 private ApexManager.ScanResult findFactory(@NonNull List<ApexManager.ScanResult> results, in findFactory()
218 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testGetApexSystemServices()
339 final ApexManager.ActiveApexInfo activeApex = mApexManager.getActiveApexInfos().get(0); in testReportErrorWithApkInApex()
343 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testReportErrorWithApkInApex()
364 final ApexManager.ActiveApexInfo activeApex = mApexManager.getActiveApexInfos().get(0); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
372 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
[all …]
DMockSystem.kt204 val apexManager: ApexManager = mock()
228 private val DEFAULT_ACTIVE_APEX_INFO_LIST = emptyList<ApexManager.ActiveApexInfo>()
/frameworks/base/services/core/java/com/android/server/crashrecovery/
DCrashRecoveryHelper.java31 import com.android.server.pm.ApexManager;
44 private final ApexManager mApexManager;
52 mApexManager = ApexManager.getInstance(); in CrashRecoveryHelper()
/frameworks/base/services/core/java/com/android/server/pm/
DInitAppsHelper.java75 private final ApexManager mApexManager;
99 InitAppsHelper(PackageManagerService pm, ApexManager apexManager, in InitAppsHelper()
130 final List<ApexManager.ActiveApexInfo> activeApexInfos = mApexManager.getActiveApexInfos(); in getApexScanPartitions()
141 ApexManager.ActiveApexInfo apexInfo) { in resolveApexToScanPartition()
155 private List<ApexManager.ScanResult> scanApexPackagesTraced(PackageParser2 packageParser) { in scanApexPackagesTraced()
175 final List<ApexManager.ScanResult> apexScanResults = scanApexPackagesTraced(packageParser); in initSystemApps()
182 for (ApexManager.ActiveApexInfo apexInfo : mApexManager.getActiveApexInfos()) { in initSystemApps()
370 @Nullable ApexManager.ActiveApexInfo apexInfo) { in scanDirTracedLI()
DScanPartition.java45 public final ApexManager.ActiveApexInfo apexInfo;
59 @Nullable ApexManager.ActiveApexInfo apexInfo) { in ScanPartition()
DModuleInfoProvider.java65 private final ApexManager mApexManager;
74 mApexManager = ApexManager.getInstance(); in ModuleInfoProvider()
80 XmlResourceParser metadata, Resources resources, ApexManager apexManager) { in ModuleInfoProvider()
DApexManager.java73 public abstract class ApexManager { class
80 private static final Singleton<ApexManager> sApexManagerSingleton =
81 new Singleton<ApexManager>() {
83 protected ApexManager create() {
92 public static ApexManager getInstance() { in getInstance()
403 protected static class ApexManagerImpl extends ApexManager {
DPackageManagerServiceInjector.java112 private final Singleton<ApexManager> mApexManagerProducer;
161 Producer<ApexManager> apexManagerProducer, in PackageManagerServiceInjector()
329 public ApexManager getApexManager() { in getApexManager()
DPackageManagerServiceTestParams.java47 public ApexManager apexManager;
DStagingManager.java84 private final ApexManager mApexManager;
134 this(context, ApexManager.getInstance()); in StagingManager()
138 StagingManager(Context context, ApexManager apexManager) { in StagingManager()
DDexOptHelper.java25 import static com.android.server.pm.ApexManager.ActiveApexInfo;
546 ApexManager apexManager = ApexManager.getInstance(); in hasBcpApexesChanged()
DOWNERS9 per-file ApexManager.java = dariofreni@google.com, ioffe@google.com, olilan@google.com
DPackageSessionVerifier.java67 private final ApexManager mApexManager;
76 ApexManager apexManager, Supplier<PackageParser2> packageParserSupplier, in PackageSessionVerifier()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java26 import com.android.server.pm.ApexManager;
43 private final ApexManager mApexManager;
47 mApexManager = ApexManager.getInstance(); in AppDataRollbackHelper()
51 AppDataRollbackHelper(Installer installer, ApexManager apexManager) { in AppDataRollbackHelper()
DRollbackPackageHealthObserver.java50 import com.android.server.pm.ApexManager;
83 private final ApexManager mApexManager;
92 public RollbackPackageHealthObserver(Context context, ApexManager apexManager) { in RollbackPackageHealthObserver()
116 this(context, ApexManager.getInstance()); in RollbackPackageHealthObserver()
DRollbackManagerServiceImpl.java73 import com.android.server.pm.ApexManager;
592 ApexManager.getInstance().destroyCeSnapshotsNotSpecified(userId, rollbackIds);
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java37 import com.android.server.pm.ApexManager;
144 File backingApexFile = ApexManager.getInstance().getBackingApexFile(packageFile); in isCacheUpToDate()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java50 import com.android.server.pm.ApexManager;
106 List<ApexManager.ActiveApexInfo> apexes = ApexManager.getInstance().getActiveApexInfos(); in create()
107 for (ApexManager.ActiveApexInfo apex : apexes) { in create()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java37 @Mock private ApexManager mApexManager;
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java37 import com.android.server.pm.ApexManager;
55 @Mock private ApexManager mApexManager;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java54 import com.android.server.pm.ApexManager;
118 return ApexManager.getInstance().getActiveApexPackageNameContainingPackage(packageName); in getActiveApexPackageNameContainingPackage()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java44 import com.android.server.pm.ApexManager;
182 ApexManager apexManager = ApexManager.getInstance(); in isJarInTestApex()
/frameworks/base/
DTEST_MAPPING45 "ApexManager\\.java",
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java72 import com.android.server.pm.ApexManager;
1033 ApexManager apexManager = ApexManager.getInstance(); in allocateSpaceForUpdate()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DCrashRecoveryTest.java58 import com.android.server.pm.ApexManager;
119 private ApexManager mApexManager;

12