Home
last modified time | relevance | path

Searched refs:scanFlags (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DScanPackageUtils.java130 final @PackageManagerService.ScanFlags int scanFlags = request.mScanFlags; in scanPackageOnlyLI() local
152 boolean needToDeriveAbi = (scanFlags & SCAN_FIRST_BOOT_OR_UPGRADE) != 0; in scanPackageOnlyLI()
153 boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in scanPackageOnlyLI()
207 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0; in scanPackageOnlyLI()
208 final boolean virtualPreload = (scanFlags & SCAN_AS_VIRTUAL_PRELOAD) != 0; in scanPackageOnlyLI()
209 final boolean isStoppedSystemApp = (scanFlags & SCAN_AS_STOPPED_SYSTEM_APP) != 0; in scanPackageOnlyLI()
240 final boolean isDontKill = (scanFlags & SCAN_DONT_KILL_APP) != 0; in scanPackageOnlyLI()
278 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0; in scanPackageOnlyLI()
279 final boolean fullApp = (scanFlags & SCAN_AS_FULL_APP) != 0; in scanPackageOnlyLI()
284 || (0 != (scanFlags & SCAN_NEW_INSTALL) in scanPackageOnlyLI()
[all …]
DScanPartition.java61 var scanFlags = original.scanFlag; in ScanPartition() local
64 scanFlags |= SCAN_AS_APK_IN_APEX; in ScanPartition()
66 scanFlags |= SCAN_AS_FACTORY; in ScanPartition()
69 scanFlags |= SCAN_DROP_CACHE; in ScanPartition()
73 this.scanFlag = scanFlags; in ScanPartition()
DInstallPackageHelper.java271 final @PackageManagerService.ScanFlags int scanFlags = request.getScanFlags(); in commitReconciledScanResultLocked() local
322 final boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in commitReconciledScanResultLocked()
409 if ((scanFlags & SCAN_AS_APK_IN_APEX) != 0) { in commitReconciledScanResultLocked()
410 boolean isFactory = (scanFlags & SCAN_AS_FACTORY) != 0; in commitReconciledScanResultLocked()
497 final int scanFlags = request.getScanFlags(); in commitPackageSettings() local
542 reconciledPkg.getCombinedAvailablePackages(), scanFlags); in commitPackageSettings()
546 if ((scanFlags & SCAN_BOOTING) != 0) { in commitPackageSettings()
548 } else if ((scanFlags & SCAN_DONT_KILL_APP) != 0) { in commitPackageSettings()
550 } else if ((scanFlags & SCAN_IGNORE_FROZEN) != 0) { in commitPackageSettings()
583 if ((scanFlags & SCAN_AS_APK_IN_APEX) != 0) { in commitPackageSettings()
[all …]
DInitAppsHelper.java109 int scanFlags = SCAN_BOOTING | SCAN_INITIAL; in InitAppsHelper() local
111 mScanFlags = scanFlags | SCAN_FIRST_BOOT_OR_UPGRADE; in InitAppsHelper()
113 mScanFlags = scanFlags; in InitAppsHelper()
368 private void scanDirTracedLI(File scanDir, int parseFlags, int scanFlags, in scanDirTracedLI() argument
373 if ((scanFlags & SCAN_AS_APK_IN_APEX) != 0) { in scanDirTracedLI()
378 scanFlags, packageParser, executorService, apexInfo); in scanDirTracedLI()
DScanRequest.java72 @PackageManagerService.ScanFlags int scanFlags, in ScanRequest() argument
86 mScanFlags = scanFlags; in ScanRequest()
DReconcilePackageUtils.java132 final int scanFlags = installRequest.getScanFlags(); in reconcilePackages() local
152 final boolean isApex = (scanFlags & SCAN_AS_APEX) != 0; in reconcilePackages()
156 signatureCheckPs, sharedUserSetting, scanFlags)) { in reconcilePackages()
DInstallRequest.java213 InstallRequest(ParsedPackage parsedPackage, int parseFlags, int scanFlags, in InstallRequest() argument
225 mScanFlags = scanFlags; in InstallRequest()
717 public void setScanFlags(int scanFlags) { in setScanFlags() argument
718 mScanFlags = scanFlags; in setScanFlags()
832 public void setPrepareResult(boolean replace, int scanFlags, in setPrepareResult() argument
838 mScanFlags = scanFlags; in setPrepareResult()
DKeySetManagerService.java359 SharedUserApi sharedUserSetting, int scanFlags) { in shouldCheckUpgradeKeySetLocked() argument
361 if (oldPs == null || (scanFlags & SCAN_INITIAL) != 0 || (sharedUserSetting != null) in shouldCheckUpgradeKeySetLocked()
DSharedLibrariesImpl.java642 @NonNull Map<String, AndroidPackage> combinedSigningDetails, int scanFlags) {
658 if ((scanFlags & SCAN_BOOTING) == 0) {
DPackageManagerService.java7925 @PackageManagerService.ScanFlags int scanFlags = SCAN_AS_SYSTEM; in getSystemPackageScanFlags() local
7929 scanFlags |= partition.scanFlag; in getSystemPackageScanFlags()
7931 scanFlags |= SCAN_AS_PRIVILEGED; in getSystemPackageScanFlags()
7936 return scanFlags; in getSystemPackageScanFlags()
8085 AndroidPackage initPackageTracedLI(File scanFile, final int parseFlags, int scanFlags) in initPackageTracedLI() argument
8087 return mInstallPackageHelper.initPackageTracedLI(scanFile, parseFlags, scanFlags); in initPackageTracedLI()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanRequestBuilder.java91 public ScanRequestBuilder setScanFlags(int scanFlags) { in setScanFlags() argument
92 this.mScanFlags = scanFlags; in setScanFlags()