Home
last modified time | relevance | path

Searched refs:apexPackageName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java273 abstract String getApkInApexInstallError(String apexPackageName); in getApkInApexInstallError() argument
280 public abstract List<String> getApksInApex(String apexPackageName); in getApksInApex() argument
287 public abstract String getApexModuleNameForPackageName(String apexPackageName); in getApexModuleNameForPackageName() argument
302 public abstract boolean snapshotCeData(int userId, int rollbackId, String apexPackageName); in snapshotCeData() argument
310 public abstract boolean restoreCeData(int userId, int rollbackId, String apexPackageName); in restoreCeData() argument
743 String getApkInApexInstallError(String apexPackageName) { in getApkInApexInstallError() argument
747 String moduleName = mPackageNameToApexModuleName.get(apexPackageName); in getApkInApexInstallError()
757 public List<String> getApksInApex(String apexPackageName) { in getApksInApex() argument
761 String moduleName = mPackageNameToApexModuleName.get(apexPackageName); in getApksInApex()
771 public String getApexModuleNameForPackageName(String apexPackageName) { in getApexModuleNameForPackageName() argument
[all …]
DPackageSessionVerifier.java453 private boolean isApexUpdateAllowed(String apexPackageName, String installerPackageName) { in isApexUpdateAllowed() argument
454 if (mPm.getModuleInfo(apexPackageName, 0) != null) { in isApexUpdateAllowed()
464 SystemConfig.getInstance().getAllowedVendorApexes().get(apexPackageName); in isApexUpdateAllowed()
466 Slog.w(TAG, apexPackageName + " is not allowed to be updated"); in isApexUpdateAllowed()
DInitAppsHelper.java183 final String apexPackageName = mApexManager.getActivePackageNameForApexModuleName( in initSystemApps() local
185 for (String packageName : mApexManager.getApksInApex(apexPackageName)) { in initSystemApps()
DPackageManagerInternalBase.java664 public final List<String> getApksInApex(String apexPackageName) { in getApksInApex() argument
665 return getApexManager().getApksInApex(apexPackageName); in getApksInApex()
/frameworks/base/services/core/java/com/android/server/crashrecovery/
DCrashRecoveryHelper.java64 String apexPackageName = in isModule() local
66 if (apexPackageName != null) { in isModule()
67 packageName = apexPackageName; in isModule()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java365 for (String apexPackageName : apexPackageNames) { in setupApexModulesWithNoMetadata()
366 when(mInjector.getActiveApexPackageNameContainingPackage(eq(apexPackageName))) in setupApexModulesWithNoMetadata()
372 for (String apexPackageName : apexPackageNames) { in setupApexModulesWithMetadata()
373 when(mInjector.getActiveApexPackageNameContainingPackage(eq(apexPackageName))) in setupApexModulesWithMetadata()
375 mMainlineModuleToDeclaredMetadataMap.put(apexPackageName, metadataKey); in setupApexModulesWithMetadata()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DApexManagerTest.java346 final String apexPackageName = mApexManager.getActivePackageNameForApexModuleName( in testReportErrorWithApkInApex() local
348 assertThat(mApexManager.getApkInApexInstallError(apexPackageName)).isNull(); in testReportErrorWithApkInApex()
351 assertThat(mApexManager.getApkInApexInstallError(apexPackageName)) in testReportErrorWithApkInApex()
375 final String apexPackageName = mApexManager.getActivePackageNameForApexModuleName( in testRegisterApkInApexDoesNotRegisterSimilarPrefix() local
377 assertThat(mApexManager.getApksInApex(apexPackageName)).isEmpty(); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
379 assertThat(mApexManager.getApksInApex(apexPackageName)).isEmpty(); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java564 public void setApexPackageName(@Nullable String apexPackageName) { in setApexPackageName() argument
565 mApexPackageName = apexPackageName; in setApexPackageName()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java481 String apexPackageName = mApexManager.getActiveApexPackageNameContainingPackage( in isModule() local
483 if (apexPackageName != null) { in isModule()
484 packageName = apexPackageName; in isModule()
DRollbackManagerServiceImpl.java666 for (String apexPackageName : apexPackageNames) {
671 onPackageReplaced(apexPackageName);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java243 final String apexPackageName = mInjector.getActiveApexPackageNameContainingPackage( in isApkInApexMainlineModule() local
245 return apexPackageName != null; in isApkInApexMainlineModule()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java201 private ModuleInfo createModuleInfo(String packageName, String apexPackageName) { in createModuleInfo() argument
205 info.setApkInApexPackageNames(Collections.singletonList(apexPackageName)); in createModuleInfo()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java1063 public abstract List<String> getApksInApex(String apexPackageName); in getApksInApex() argument