Home
last modified time | relevance | path

Searched refs:isApex (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java149 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/
DRollback.java399 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()
DAppDataRollbackHelper.java122 if (packageRollbackInfo.isApex()) { in doSnapshot()
144 if (packageRollbackInfo.isApex()) { in doRestoreOrWipe()
DRollbackStore.java436 json.put("isApex", info.isApex()); in toJson()
459 final boolean isApex = json.getBoolean("isApex"); in packageRollbackInfoFromJson()
470 pendingBackups, pendingRestores, isApex, isApkInApex, snapshottedUsers, in packageRollbackInfoFromJson()
DRollbackManagerServiceImpl.java940 final boolean isApex = ((installFlags & PackageManager.INSTALL_APEX) != 0);
953 if (isApex) {
986 pkgInfo.getLongVersionCode(), isApex, appInfo.sourceDir,
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java494 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/
DPackageSessionVerifierTest.java124 private PackageInstallerSession createSession(boolean isStaged, boolean isApex, in createSession() argument
128 when(session.isApexSession()).thenReturn(isApex); in createSession()
DStagingManagerTest.java805 private void setIsApex(boolean isApex) { in setIsApex() argument
806 mIsApex = isApex; in setIsApex()
/frameworks/libs/modules-utils/java/com/android/modules/utils/pm/
DPackageStateModulesUtils.java39 if (packageState.isApex() || "android".equals(packageState.getPackageName())) { in isDexoptable()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt81 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/
DParsedPackage.java74 ParsedPackage setApex(boolean isApex); in setApex() argument
/frameworks/base/services/core/java/com/android/server/pm/
DReconcilePackageUtils.java152 final boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in reconcilePackages()
189 && !installRequest.isInstallSystem() && !isSystemPackage && !isApex in reconcilePackages()
DDexOptHelper.java189 if (pkg != null && pkg.isApex()) { in performDexOpt()
772 final boolean isApex = ((installRequest.getScanFlags() & SCAN_AS_APEX) != 0); in shouldPerformDexopt()
788 && !isApex in shouldPerformDexopt()
DPackageManagerShellCommand.java1076 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 …]
DUserSystemPackageInstaller.java386 if (pkg == null || !packageState.isSystem() || pkg.isApex()) return; in getPackagesWhitelistErrors()
564 || sysPkg.isApex(); in shouldInstallPackage()
DInstallPackageHelper.java322 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 …]
DPackageInstallerService.java809 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(
DVerifyingSession.java198 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/
DPackageState.java171 boolean isApex(); in isApex() method
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java412 assertThat(b.isApex()).isEqualTo(a.isApex()); in assertPackageRollbacksAreEquivalent()
DRollbackUnitTest.java457 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/
DPermissionService.kt1445 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/
DAndroidPackage.java1410 boolean isApex(); in isApex() method
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java647 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/
DPackageInfoCommonUtils.java120 info.isApex = pkg.isApex(); in generate()

12