Home
last modified time | relevance | path

Searched refs:PackageSetting (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java33 final ArraySet<PackageSetting> packages = new ArraySet<PackageSetting>();
50 void removePackage(PackageSetting packageSetting) { in removePackage()
55 for (PackageSetting ps : packages) { in removePackage()
62 for (PackageSetting ps : packages) { in removePackage()
70 void addPackage(PackageSetting packageSetting) { in addPackage()
DPackageSetting.java29 final class PackageSetting extends PackageSettingBase { class
34 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() method in PackageSetting
48 PackageSetting(PackageSetting orig) { in PackageSetting() method in PackageSetting
DKeySetManagerService.java62 private final ArrayMap<String, PackageSetting> mPackages;
111 public KeySetManagerService(ArrayMap<String, PackageSetting> packages) { in KeySetManagerService()
130 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByLPr()
156 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByExactlyLPr()
221 PackageSetting ps = mPackages.get(pkg.packageName); in addScannedPackageLPw()
236 void addSigningKeySetToPackageLPw(PackageSetting pkg, in addSigningKeySetToPackageLPw()
280 void addDefinedKeySetsToPackageLPw(PackageSetting pkg, in addDefinedKeySetsToPackageLPw()
313 void addUpgradeKeySetsToPackageLPw(PackageSetting pkg, in addUpgradeKeySetsToPackageLPw()
328 PackageSetting p = mPackages.get(packageName); in getKeySetByAliasAndPackageNameLPr()
372 PackageSetting p = mPackages.get(packageName); in getSigningKeySetByPackageNameLPr()
[all …]
DSettings.java251 final ArrayMap<String, PackageSetting> mPackages = new ArrayMap<>();
260 private final ArrayMap<String, PackageSetting> mDisabledSysPackages =
261 new ArrayMap<String, PackageSetting>();
428 PackageSetting getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage, in getPackageLPw()
446 PackageSetting p = getPackageLPw(name, origPackage, realName, sharedUser, codePath, in getPackageLPw()
453 PackageSetting peekPackageLPr(String name) { in peekPackageLPr()
458 PackageSetting p = mPackages.get(pkgName); in setInstallStatus()
478 final PackageSetting ps = mPackages.get(packageName); in applyPendingPermissionGrantsLPw()
504 PackageSetting p = mPackages.get(pkgName); in setInstallerPackageName()
538 final PackageSetting p = mPackages.get(name); in disableSystemPackageLPw()
[all …]
DPackageManagerService.java1549 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage()
1983 final PackageSetting disabledSysParentPs = mSettings in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw()
2049 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid);
2050 for (PackageSetting ps : packages) {
2199 PackageSetting pkgSetting = mSettings.mPackages.get(pName); in enableSystemUserPackages()
2412 Iterator<PackageSetting> pkgSettingIter = mSettings.mPackages.values().iterator(); in PackageManagerService()
2414 PackageSetting ps = pkgSettingIter.next(); in PackageManagerService()
2471 Iterator<PackageSetting> psit = mSettings.mPackages.values().iterator(); in PackageManagerService()
2473 PackageSetting ps = psit.next(); in PackageManagerService()
2515 … final PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(ps.name); in PackageManagerService()
[all …]
DEphemeralApplicationRegistry.java178 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageInstalledLPw()
237 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageUninstalledLPw()
395 PackageSetting ps = (PackageSetting) pkg.mExtras; in createEphemeralAppInfoForPackage()
DInstructionSets.java53 public static String[] getAppDexInstructionSets(PackageSetting ps) { in getAppDexInstructionSets()
DDefaultPermissionGrantPolicy.java817 PackageSetting sysPs = mService.mSettings.getDisabledSystemPkgLPr(pkg.packageName); in grantRuntimePermissionsLPw()
894 PackageSetting sysPkg = mService.mSettings.getDisabledSystemPkgLPr(pkg.packageName); in isSysComponentOrPersistentPlatformSignedPrivAppLPr()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java36 private ArrayMap<String, PackageSetting> mPackagesMap;
39 public PackageSetting generateFakePackageSetting(String name) { in generateFakePackageSetting()
40 return new PackageSetting(name, name, new File(mContext.getCacheDir(), "fakeCodePath"), in generateFakePackageSetting()
48 mPackagesMap = new ArrayMap<String, PackageSetting>(); in setUp()
96 ArrayMap<String, PackageSetting> packagesMap = new ArrayMap<String, PackageSetting>(); in testEncodePublicKey()
114 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageEmpty()
141 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeSame()
171 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff()
206 PackageSetting ps1 = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff2()
208 PackageSetting ps2 = generateFakePackageSetting("packageB"); in testAddSigningKSToPackageUpgradeDiff2()
[all …]
DPackageManagerSettingsTests.java198 ArrayMap<String, PackageSetting> packages = settings.mPackages; in verifyKeySetMetaData()
239 PackageSetting ps = packages.get("com.google.app1"); in verifyKeySetMetaData()
287 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld()
310 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile()
322 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1); in testEnableDisable()