Searched refs:pkgSetting (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ScanTests.java | 126 assertThat(scanResult.pkgSetting.readUserState(uid).installed, is(true)); in newInstallForAllUsers() 139 assertThat(scanResult.pkgSetting.realName, is("com.package.real")); in installRealPackageName() 148 assertThat(scanResultNoReal.pkgSetting.realName, nullValue()); in installRealPackageName() 155 final PackageSetting pkgSetting = createBasicPackageSettingBuilder(DUMMY_PACKAGE_NAME) in updateSimpleNominal() local 162 .setPkgSetting(pkgSetting) in updateSimpleNominal() 171 assertNotSame(pkgSetting, scanResult.pkgSetting); in updateSimpleNominal() 175 assertThat(scanResult.pkgSetting.primaryCpuAbiString, is("primaryCpuAbi")); in updateSimpleNominal() 176 assertThat(scanResult.pkgSetting.secondaryCpuAbiString, is("secondaryCpuAbi")); in updateSimpleNominal() 177 assertThat(scanResult.pkgSetting.cpuAbiOverrideString, nullValue()); in updateSimpleNominal() 280 final PackageSetting pkgSetting = in volumeUuidChangesOnUpdate() local [all …]
|
D | ScanRequestBuilder.java | 49 public ScanRequestBuilder setPkgSetting(PackageSetting pkgSetting) { in setPkgSetting() argument 50 this.mPkgSetting = pkgSetting; in setPkgSetting()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 524 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 …]
|
D | PackageAbiHelper.java | 123 public void applyTo(PackageSetting pkgSetting) { in applyTo() argument 129 if (pkgSetting != null) { in applyTo() 130 pkgSetting.primaryCpuAbiString = primary; in applyTo() 131 pkgSetting.secondaryCpuAbiString = secondary; in applyTo()
|
D | Settings.java | 602 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 …]
|
D | PackageManagerService.java | 2093 final PackageSetting pkgSetting = mSettings.mPackages.get(packageName); in handlePackagePostInstall() local 2094 if (pkgSetting.getInstallReason(userId) in handlePackagePostInstall() 2419 PackageSetting pkgSetting = mSettings.mPackages.get(pName); in enableSystemUserPackages() local 2421 if (pkgSetting == null) { in enableSystemUserPackages() 2425 if (pkgSetting.getInstalled(UserHandle.USER_SYSTEM) != install) { in enableSystemUserPackages() 2428 pkgSetting.setInstalled(install, UserHandle.USER_SYSTEM); in enableSystemUserPackages() 5451 private void updateSequenceNumberLP(PackageSetting pkgSetting, int[] userList) { 5455 if (pkgSetting.getInstantApp(userId)) { 5468 final Integer sequenceNumber = sequenceNumbers.get(pkgSetting.name); 5472 changedPackages.put(mChangedPackagesSequenceNumber, pkgSetting.name); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 334 final PackageSettingBase pkgSetting = (PackageSettingBase) pkg.mExtras; in createOrUpdate() local 342 bp.sourcePackageSetting = pkgSetting; in createOrUpdate() 365 bp.sourcePackageSetting = pkgSetting; in createOrUpdate() 424 final PackageSetting pkgSetting = (PackageSetting) pkg.mExtras; in enforceDeclaredUsedAndRuntimeOrDevelopment() local 425 final PermissionsState permsState = pkgSetting.getPermissionsState(); in enforceDeclaredUsedAndRuntimeOrDevelopment()
|