Home
last modified time | relevance | path

Searched refs:pkgSetting (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java524 private static boolean matchSignatureInSystem(PackageSetting pkgSetting, in matchSignatureInSystem() argument
528 if (pkgSetting.signatures.mSigningDetails.checkCapability( in matchSignatureInSystem()
532 pkgSetting.signatures.mSigningDetails, in matchSignatureInSystem()
537 pkgSetting.name); in matchSignatureInSystem()
541 logCriticalInfo(Log.ERROR, "Failed to collect cert for " + pkgSetting.name + ": " + in matchSignatureInSystem()
579 public static boolean verifySignatures(PackageSetting pkgSetting, in verifySignatures() argument
583 final String packageName = pkgSetting.name; in verifySignatures()
585 if (pkgSetting.signatures.mSigningDetails.signatures != null) { in verifySignatures()
589 pkgSetting.signatures.mSigningDetails, in verifySignatures()
591 || pkgSetting.signatures.mSigningDetails.checkCapability( in verifySignatures()
[all …]
DSettings.java602 final PackageSetting pkgSetting; in createNewSetting() local
606 pkgSetting = new PackageSetting(originalPkg, pkgName /*realPkgName*/); in createNewSetting()
607 pkgSetting.childPackageNames = in createNewSetting()
609 pkgSetting.codePath = codePath; in createNewSetting()
610 pkgSetting.legacyNativeLibraryPathString = legacyNativeLibraryPath; in createNewSetting()
611 pkgSetting.parentPackageName = parentPkgName; in createNewSetting()
612 pkgSetting.pkgFlags = pkgFlags; in createNewSetting()
613 pkgSetting.pkgPrivateFlags = pkgPrivateFlags; in createNewSetting()
614 pkgSetting.primaryCpuAbiString = primaryCpuAbi; in createNewSetting()
615 pkgSetting.resourcePath = resourcePath; in createNewSetting()
[all …]
DPackageManagerService.java2032 final PackageSetting pkgSetting = mSettings.mPackages.get(packageName); in handlePackagePostInstall() local
2033 if (pkgSetting.getInstallReason(userId) in handlePackagePostInstall()
2325 PackageSetting pkgSetting = mSettings.mPackages.get(pName); in enableSystemUserPackages() local
2327 if (pkgSetting == null) { in enableSystemUserPackages()
2331 if (pkgSetting.getInstalled(UserHandle.USER_SYSTEM) != install) { in enableSystemUserPackages()
2334 pkgSetting.setInstalled(install, UserHandle.USER_SYSTEM); in enableSystemUserPackages()
5518 private void updateSequenceNumberLP(PackageSetting pkgSetting, int[] userList) { in updateSequenceNumberLP() argument
5522 if (pkgSetting.getInstantApp(userId)) { in updateSequenceNumberLP()
5535 final Integer sequenceNumber = sequenceNumbers.get(pkgSetting.name); in updateSequenceNumberLP()
5539 changedPackages.put(mChangedPackagesSequenceNumber, pkgSetting.name); in updateSequenceNumberLP()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java331 final PackageSettingBase pkgSetting = (PackageSettingBase) pkg.mExtras; in createOrUpdate() local
339 bp.sourcePackageSetting = pkgSetting; in createOrUpdate()
362 bp.sourcePackageSetting = pkgSetting; in createOrUpdate()
421 final PackageSetting pkgSetting = (PackageSetting) pkg.mExtras; in enforceDeclaredUsedAndRuntimeOrDevelopment() local
422 final PermissionsState permsState = pkgSetting.getPermissionsState(); in enforceDeclaredUsedAndRuntimeOrDevelopment()