/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 149 public boolean isApex() { in isApex() method in PackageRollbackInfo 181 boolean isApex, boolean isApkInApex, @NonNull List<Integer> snapshottedUsers) { in PackageRollbackInfo() argument 182 this(packageRolledBackFrom, packageRolledBackTo, pendingBackups, pendingRestores, isApex, in PackageRollbackInfo() 190 boolean isApex, boolean isApkInApex, @NonNull List<Integer> snapshottedUsers, in PackageRollbackInfo() argument 196 this.mIsApex = isApex; in PackageRollbackInfo()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 399 boolean isApex, String sourceDir, String[] splitSourceDirs, int rollbackDataPolicy, in enableForPackage() argument 418 isApex, false /* isApkInApex */, new ArrayList<>(), rollbackDataPolicy); in enableForPackage() 587 if (pkgRollbackInfo.isApex()) { in commit() 741 if (pkgInfo.isApex()) { in delete() 837 if (pkgRollbackInfo.isApex()) { in getApexPackageNames() 948 if (pkgInfo.isApex()) { in containsApex()
|
D | AppDataRollbackHelper.java | 122 if (packageRollbackInfo.isApex()) { in doSnapshot() 144 if (packageRollbackInfo.isApex()) { in doRestoreOrWipe()
|
D | RollbackStore.java | 436 json.put("isApex", info.isApex()); in toJson() 459 final boolean isApex = json.getBoolean("isApex"); in packageRollbackInfoFromJson() 470 pendingBackups, pendingRestores, isApex, isApkInApex, snapshottedUsers, in packageRollbackInfoFromJson()
|
D | RollbackManagerServiceImpl.java | 940 final boolean isApex = ((installFlags & PackageManager.INSTALL_APEX) != 0); 953 if (isApex) { 986 pkgInfo.getLongVersionCode(), isApex, appInfo.sourceDir,
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 494 public boolean isApex; field in PackageInfo 633 dest.writeBoolean(isApex); in writeToParcel() 705 isApex = source.readBoolean(); in PackageInfo()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageSessionVerifierTest.java | 124 private PackageInstallerSession createSession(boolean isStaged, boolean isApex, in createSession() argument 128 when(session.isApexSession()).thenReturn(isApex); in createSession()
|
D | StagingManagerTest.java | 805 private void setIsApex(boolean isApex) { in setIsApex() argument 806 mIsApex = isApex; in setIsApex()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/pm/ |
D | PackageStateModulesUtils.java | 39 if (packageState.isApex() || "android".equals(packageState.getPackageName())) { in isDexoptable()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessPolicy.kt | 81 if (packageState.isApex) { in <lambda>() 109 if (packageState.isApex) { in <lambda>() 135 if (packageState.isApex) { in <lambda>() 163 if (packageState.isApex) { in <lambda>()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | ParsedPackage.java | 74 ParsedPackage setApex(boolean isApex); in setApex() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ReconcilePackageUtils.java | 152 final boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in reconcilePackages() 189 && !installRequest.isInstallSystem() && !isSystemPackage && !isApex in reconcilePackages()
|
D | DexOptHelper.java | 189 if (pkg != null && pkg.isApex()) { in performDexOpt() 772 final boolean isApex = ((installRequest.getScanFlags() & SCAN_AS_APEX) != 0); in shouldPerformDexopt() 788 && !isApex in shouldPerformDexopt()
|
D | PackageManagerShellCommand.java | 1076 final boolean isApex = info.isApex; in runListPackages() 1077 if (uid != -1 && !isApex && info.applicationInfo.uid != uid) { in runListPackages() 1081 final boolean isSystem = !isApex in runListPackages() 1083 final boolean isEnabled = !isApex && info.applicationInfo.enabled; in runListPackages() 1088 || (listApexOnly && !isApex)) { in runListPackages() 1147 if (showUid && !isApex) { in runListPackages() 1579 final boolean isApex = in doRunInstall() 1594 if (isApex && hasSplits) { in doRunInstall() 1624 if (doAddFiles(sessionId, args, params.sessionParams.sizeBytes, isApex, in doRunInstall() 1629 if (doWriteSplits(sessionId, args, params.sessionParams.sizeBytes, isApex) in doRunInstall() [all …]
|
D | UserSystemPackageInstaller.java | 386 if (pkg == null || !packageState.isSystem() || pkg.isApex()) return; in getPackagesWhitelistErrors() 564 || sysPkg.isApex(); in shouldInstallPackage()
|
D | InstallPackageHelper.java | 322 final boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in commitReconciledScanResultLocked() 326 final String updateOwnerFromSysconfig = isApex || !pkgSetting.isSystem() ? null in commitReconciledScanResultLocked() 347 if (!isApex) { in commitReconciledScanResultLocked() 1074 final boolean isApex = (request.getScanFlags() & SCAN_AS_APEX) != 0; in installPackagesLI() 1076 if (isApex || (isSdkLibrary && disallowSdkLibsToBeApps())) { in installPackagesLI() 1207 final boolean isApex = ((installFlags & PackageManager.INSTALL_APEX) != 0); in preparePackageLI() 1227 if (isApex) { in preparePackageLI() 1232 isApex ? request.getApexInfo().modulePath : request.getCodePath()); in preparePackageLI() 1649 if (!isApex) { in preparePackageLI() 1679 if (!isApex) { in preparePackageLI() [all …]
|
D | PackageInstallerService.java | 809 boolean isApex = (params.installFlags & PackageManager.INSTALL_APEX) != 0; 810 if (isApex) { 821 if (isApex) { 874 if (isApex && !PackageManagerServiceUtils.isSystemOrRootOrShell(callingUid)) { 1018 if (isApex || mContext.checkCallingOrSelfPermission(
|
D | VerifyingSession.java | 198 if (!isApex() && !isArchivedInstallation() && verifyForRollback) { in handleStartVerify() 916 public boolean isApex() { in isApex() method in VerifyingSession
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageState.java | 171 boolean isApex(); in isApex() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | RollbackStoreTest.java | 412 assertThat(b.isApex()).isEqualTo(a.isApex()); in assertPackageRollbacksAreEquivalent()
|
D | RollbackUnitTest.java | 457 String packageName, long fromVersion, long toVersion, boolean isApex) { in newPkgInfoFor() argument 460 new ArrayList<>(), new ArrayList<>(), isApex, false, new ArrayList<>()); in newPkgInfoFor()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 1445 if (packageState.isApex) { in <lambda>() 1878 if (packageState.isApex) { in <lambda>() 1923 if (packageState.isApex) { in <lambda>() 1941 if (packageState.isApex) { in <lambda>() 2082 if (packageState.isApex) { in <lambda>() 2338 if (packageState.isApex) { in <lambda>() 2368 if (androidPackage.isApex) { in <lambda>() 2424 if (packageState.isApex) { in <lambda>()
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 1410 boolean isApex(); in isApex() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 647 if (packageInfo.isApex) { in onShellCommand() 1553 return packageInfo.isApex; in isPackageAnApex() 1632 results = allPackages.stream().filter(p -> p.isApex).collect(Collectors.toList()); in getCurrentInstalledApexs()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 120 info.isApex = pkg.isApex(); in generate()
|