Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DApexEnvironment.java47 public static ApexEnvironment getApexEnvironment(@NonNull String apexModuleName) { in getApexEnvironment() argument
48 Objects.requireNonNull(apexModuleName, "apexModuleName cannot be null"); in getApexEnvironment()
50 return new ApexEnvironment(apexModuleName); in getApexEnvironment()
55 private ApexEnvironment(String apexModuleName) { in ApexEnvironment() argument
56 mApexModuleName = apexModuleName; in ApexEnvironment()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java112 @Nullable public final String apexModuleName; field in ApexManager.ActiveApexInfo
123 private ActiveApexInfo(@Nullable String apexModuleName, File apexDirectory, in ActiveApexInfo() argument
126 this.apexModuleName = apexModuleName; in ActiveApexInfo()
294 public abstract String getActivePackageNameForApexModuleName(String apexModuleName); in getActivePackageNameForApexModuleName() argument
568 String apexModuleName = mApksInApex.keyAt(apkInApexNum); in getActiveApexPackageNameContainingPackage() local
573 apexModuleName)) { in getActiveApexPackageNameContainingPackage()
717 List<String> apks = mApksInApex.get(aai.apexModuleName); in registerApkInApex()
720 mApksInApex.put(aai.apexModuleName, apks); in registerApkInApex()
723 + aai.apexModuleName); in registerApkInApex()
735 mErrorWithApkInApex.put(aai.apexModuleName, errorMsg); in reportErrorWithApkInApex()
[all …]
DInstallRequest.java782 public void setApexModuleName(@Nullable String apexModuleName) { in setApexModuleName() argument
783 mApexModuleName = apexModuleName; in setApexModuleName()
DInitAppsHelper.java184 apexInfo.apexModuleName); in initSystemApps()
DPackageSetting.java1570 public PackageSetting setApexModuleName(@Nullable String apexModuleName) {
1571 pkgState.setApexModuleName(apexModuleName);
DDexOptHelper.java548 if (bcpApexes.contains(apexInfo.apexModuleName) && apexInfo.activeApexChanged) { in hasBcpApexesChanged()
DComputerEngine.java1533 final String apexModuleName = ps.getApexModuleName(); in generatePackageInfo() local
1534 if (apexModuleName != null) { in generatePackageInfo()
1536 mApexManager.getActivePackageNameForApexModuleName(apexModuleName)); in generatePackageInfo()
DInstallPackageHelper.java3781 disabledPkgSetting.setApexModuleName(activeApexInfo.apexModuleName); in addForInitLI()
3801 installRequest.setApexModuleName(activeApexInfo.apexModuleName); in addForInitLI()
/frameworks/base/core/java/android/content/pm/
DModuleInfo.java114 public ModuleInfo setApexModuleName(@Nullable String apexModuleName) { in setApexModuleName() argument
115 mApexModuleName = apexModuleName; in setApexModuleName()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DApexManagerTest.java340 assertThat(activeApex.apexModuleName).isEqualTo(TEST_APEX_PKG); in testReportErrorWithApkInApex()
347 activeApex.apexModuleName); in testReportErrorWithApkInApex()
365 assertThat(activeApex.apexModuleName).isEqualTo(TEST_APEX_PKG); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
376 activeApex.apexModuleName); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
508 assertThat(activeApex.apexModuleName).isEqualTo("com.apex1"); in testActiveApexChanged()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DApexUpdateTest.kt61 fun apexModuleName() { in apexModuleName() method in com.android.server.pm.test.ApexUpdateTest
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt1360 val apexModuleName = packageState.apexModuleName in <lambda>() constant
1378 apexModuleName != null -> { in <lambda>()
1388 " $apexModuleName APEX instead" in <lambda>()
1393 apexModuleName, in <lambda>()
1571 if (permission.isModule && packageState.apexModuleName != null) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java181 String apexModuleName = path.getName(1).toString(); in isJarInTestApex() local
183 String packageName = apexManager.getActivePackageNameForApexModuleName(apexModuleName); in isJarInTestApex()