/frameworks/base/services/core/java/com/android/server/pm/ |
D | ScanPackageUtils.java | 125 ParsedPackage parsedPackage = request.mParsedPackage; in scanPackageOnlyLI() local 141 Log.d(TAG, "Scanning package " + parsedPackage.getPackageName()); in scanPackageOnlyLI() 146 final File destCodeFile = new File(parsedPackage.getPath()); in scanPackageOnlyLI() 176 "Package " + parsedPackage.getPackageName() + " shared user changed from " in scanPackageOnlyLI() 189 if (!parsedPackage.getUsesSdkLibraries().isEmpty()) { in scanPackageOnlyLI() 190 usesSdkLibraries = new String[parsedPackage.getUsesSdkLibraries().size()]; in scanPackageOnlyLI() 191 parsedPackage.getUsesSdkLibraries().toArray(usesSdkLibraries); in scanPackageOnlyLI() 195 if (!parsedPackage.getUsesStaticLibraries().isEmpty()) { in scanPackageOnlyLI() 196 usesStaticLibraries = new String[parsedPackage.getUsesStaticLibraries().size()]; in scanPackageOnlyLI() 197 parsedPackage.getUsesStaticLibraries().toArray(usesStaticLibraries); in scanPackageOnlyLI() [all …]
|
D | InstallPackageHelper.java | 264 ParsedPackage parsedPackage = request.getParsedPackage(); in commitReconciledScanResultLocked() local 265 if (parsedPackage != null && "android".equals(parsedPackage.getPackageName())) { in commitReconciledScanResultLocked() 267 parsedPackage.setVersionCode(mPm.getSdkVersion()) in commitReconciledScanResultLocked() 299 AndroidPackageUtils.getRealPackageOrNull(parsedPackage, in commitReconciledScanResultLocked() 304 mPm.mSettings.removeRenamedPackageLPw(parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 310 if (parsedPackage.isLeavingSharedUser() in commitReconciledScanResultLocked() 328 parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 330 mUpdateOwnershipHelper.isUpdateOwnershipDenylisted(parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 422 parsedPackage.setUid(pkgSetting.getAppId()); in commitReconciledScanResultLocked() 423 final AndroidPackage pkg = parsedPackage.hideAsFinal(); in commitReconciledScanResultLocked() [all …]
|
D | ReconcilePackageUtils.java | 134 final ParsedPackage parsedPackage = installRequest.getParsedPackage(); in reconcilePackages() local 147 if (parsedPackage != null) { in reconcilePackages() 148 signingDetails = parsedPackage.getSigningDetails(); in reconcilePackages() 157 if (ksms.checkUpgradeKeySetLocked(signatureCheckPs, parsedPackage)) { in reconcilePackages() 163 "Package " + parsedPackage.getPackageName() in reconcilePackages() 167 String msg = "System package " + parsedPackage.getPackageName() in reconcilePackages() 233 parsedPackage.getPackageName())) { in reconcilePackages() 250 signingDetails = parsedPackage.getSigningDetails(); in reconcilePackages() 263 parsedPackage.getPackageName(), parsedPackage.getSigningDetails(), in reconcilePackages() 284 + parsedPackage.getPackageName() in reconcilePackages() [all …]
|
D | ParallelPackageParser.java | 65 ParsedPackage parsedPackage; // Parsed package field in ParallelPackageParser.ParseResult 72 "parsedPackage=" + parsedPackage + in toString() 108 pr.parsedPackage = parsePackage(scanFile, parseFlags); in submit()
|
D | ScanRequest.java | 63 @NonNull ParsedPackage parsedPackage, in ScanRequest() 76 mParsedPackage = parsedPackage; in ScanRequest()
|
D | PackageSessionVerifier.java | 401 final ParsedPackage parsedPackage; in submitSessionToApexService() local 404 parsedPackage = packageParser.parsePackage(apexFile, PARSE_APEX, false); in submitSessionToApexService() 410 apexPackageNames.add(parsedPackage.getPackageName()); in submitSessionToApexService()
|
D | SharedLibrariesImpl.java | 836 final ParsedPackage parsedPackage = installRequest.getParsedPackage(); 852 final boolean hasDynamicLibraries = parsedPackage != null && isSystemApp 868 Slog.w(TAG, "Package " + parsedPackage.getPackageName() 888 Slog.w(TAG, "Package " + parsedPackage.getPackageName() 896 Slog.w(TAG, "Package " + parsedPackage.getPackageName() + " declares library "
|
D | InstallRequest.java | 213 InstallRequest(ParsedPackage parsedPackage, int parseFlags, int scanFlags, in InstallRequest() argument 222 mParsedPackage = parsedPackage; in InstallRequest()
|
D | PackageManagerService.java | 2994 static void renameStaticSharedLibraryPackage(ParsedPackage parsedPackage) { 2996 parsedPackage.setPackageName(toStaticSharedLibraryPackageName( 2997 parsedPackage.getPackageName(), parsedPackage.getStaticSharedLibraryVersion()));
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | AndroidHidlUpdater.java | 38 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 41 boolean isLegacy = parsedPackage.getTargetSdkVersion() <= Build.VERSION_CODES.P; in updatePackage() 45 prefixRequiredLibrary(parsedPackage, ANDROID_HIDL_BASE); in updatePackage() 46 prefixRequiredLibrary(parsedPackage, ANDROID_HIDL_MANAGER); in updatePackage() 48 removeLibrary(parsedPackage, ANDROID_HIDL_BASE); in updatePackage() 49 removeLibrary(parsedPackage, ANDROID_HIDL_MANAGER); in updatePackage()
|
D | PackageBackwardCompatibility.java | 133 public static void modifySharedLibraries(ParsedPackage parsedPackage, boolean isSystemApp, in modifySharedLibraries() argument 135 INSTANCE.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in modifySharedLibraries() 139 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 142 packageUpdater.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in updatePackage() 167 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 171 prefixImplicitDependency(parsedPackage, ANDROID_TEST_RUNNER, ANDROID_TEST_MOCK); in updatePackage() 184 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 186 removeLibrary(parsedPackage, ORG_APACHE_HTTP_LEGACY); in updatePackage() 200 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 202 removeLibrary(parsedPackage, ANDROID_TEST_BASE); in updatePackage()
|
D | ApexSharedLibraryUpdater.java | 46 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 50 updateSharedLibraryForPackage(mSharedLibraries.valueAt(i), parsedPackage); in updatePackage() local 55 ParsedPackage parsedPackage) { in updateSharedLibraryForPackage() argument 58 parsedPackage.getTargetSdkVersion(), in updateSharedLibraryForPackage() 63 prefixRequiredLibrary(parsedPackage, entry.name); in updateSharedLibraryForPackage() 69 removeLibrary(parsedPackage, entry.name); in updateSharedLibraryForPackage()
|
D | ComGoogleAndroidMapsUpdater.java | 32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 34 parsedPackage.removeUsesLibrary(LIBRARY_NAME); in updatePackage() 35 parsedPackage.removeUsesOptionalLibrary(LIBRARY_NAME); in updatePackage()
|
D | OrgApacheHttpLegacyUpdater.java | 40 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 45 if (apkTargetsApiLevelLessThanOrEqualToOMR1(parsedPackage)) { in updatePackage() 46 prefixRequiredLibrary(parsedPackage, ORG_APACHE_HTTP_LEGACY); in updatePackage()
|
D | AndroidNetIpSecIkeUpdater.java | 32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 34 removeLibrary(parsedPackage, LIBRARY_NAME); in updatePackage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | SharedLibrariesImplTest.kt | 223 val parsedPackage = pair.second as ParsedPackage in <lambda>() constant 224 val scanRequest = ScanRequest(parsedPackage, null, null, null, null, in <lambda>() 227 var installRequest = InstallRequest(parsedPackage, 0, 0, UserHandle(0), scanResult, null) in <lambda>() 325 val parsedPackage = pair.second.apply { in <lambda>() constant 329 .createBasicSettingBuilder(pair.first.parentFile, parsedPackage.hideAsFinal()) in <lambda>() 331 val scanRequest = ScanRequest(parsedPackage, null, null, null, null, in <lambda>() 335 var installRequest = InstallRequest(parsedPackage, 0, 0, UserHandle(0), scanResult, null) in <lambda>()
|
D | ApexManagerTest.java | 172 var parsedPackage = parser.parsePackage(new File(apexInfo.modulePath), flags, in mockParsePackage() local 174 ScanPackageUtils.applyPolicy(parsedPackage, in mockParsePackage() 178 return parsedPackage.hideAsFinal(); in mockParsePackage()
|
D | MockSystem.kt | 541 val parsedPackage = parseResult.hideAsParsed() as ParsedPackage in stageParse() constant 543 or(eq(path), eq(basePath)), anyInt(), anyBoolean())) { parsedPackage } in stageParse() 545 or(eq(path), eq(basePath)), anyInt(), anyBoolean())) { parsedPackage } in stageParse() 546 return parsedPackage in stageParse()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptUtilsTest.java | 129 ParsedPackage parsedPackage = (ParsedPackage) parsingPackage.hideAsParsed(); in createMockApplicationInfo() local 132 data.pkg = parsedPackage.hideAsFinal(); in createMockApplicationInfo()
|