/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 273 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 …]
|
D | PackageSessionVerifier.java | 453 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()
|
D | InitAppsHelper.java | 183 final String apexPackageName = mApexManager.getActivePackageNameForApexModuleName( in initSystemApps() local 185 for (String packageName : mApexManager.getApksInApex(apexPackageName)) { in initSystemApps()
|
D | PackageManagerInternalBase.java | 664 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/ |
D | CrashRecoveryHelper.java | 64 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/ |
D | OverlayPackagesProviderTest.java | 365 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/ |
D | ApexManagerTest.java | 346 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/ |
D | PackageInfo.java | 564 public void setApexPackageName(@Nullable String apexPackageName) { in setApexPackageName() argument 565 mApexPackageName = apexPackageName; in setApexPackageName()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 481 String apexPackageName = mApexManager.getActiveApexPackageNameContainingPackage( in isModule() local 483 if (apexPackageName != null) { in isModule() 484 packageName = apexPackageName; in isModule()
|
D | RollbackManagerServiceImpl.java | 666 for (String apexPackageName : apexPackageNames) { 671 onPackageReplaced(apexPackageName);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OverlayPackagesProvider.java | 243 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/ |
D | ApplicationsStateRoboTest.java | 201 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/ |
D | PackageManagerInternal.java | 1063 public abstract List<String> getApksInApex(String apexPackageName); in getApksInApex() argument
|