Searched refs:newPkg (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterImpl.java | 579 final AndroidPackage newPkg = newPkgSetting.getPkg(); in addPackageInternal() local 580 if (newPkg == null) { in addPackageInternal() 584 final List<String> newBroadcasts = newPkg.getProtectedBroadcasts(); in addPackageInternal() 603 || newPkg.isForceQueryable() in addPackageInternal() 605 newPkg.getPackageName()))); in addPackageInternal() 613 if (!newPkg.getUsesPermissions().isEmpty()) { in addPackageInternal() 616 for (ParsedUsesPermission usesPermission : newPkg.getUsesPermissions()) { in addPackageInternal() 640 if (!newPkg.getPermissions().isEmpty()) { in addPackageInternal() 643 for (ParsedPermission permission : newPkg.getPermissions()) { in addPackageInternal() 678 && canQueryViaComponents(existingPkg, newPkg, mProtectedBroadcasts)) { in addPackageInternal() [all …]
|
D | InstallPackageHelper.java | 1183 private boolean checkNoAppStorageIsConsistent(AndroidPackage oldPkg, AndroidPackage newPkg) { in checkNoAppStorageIsConsistent() argument 1191 newPkg.getProperties().get(PackageManager.PROPERTY_NO_APP_DATA_STORAGE); in checkNoAppStorageIsConsistent() 3692 final AndroidPackage newPkg = initPackageTracedLI( in checkExistingBetterPackages() local 3695 if (newPkg.isStub()) { in checkExistingBetterPackages() 4370 private boolean verifyPackageUpdateLPr(PackageSetting oldPkg, AndroidPackage newPkg) { in verifyPackageUpdateLPr() argument 4373 + " to " + newPkg.getPackageName() in verifyPackageUpdateLPr() 4378 + " to " + newPkg.getPackageName() in verifyPackageUpdateLPr()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 399 var newPkg = mockParsePackage(mPackageParser2, newApexInfo); in testInstallPackage_activeOnSystem() local 400 assertThat(newPkg.getBaseApkPath()).isEqualTo(finalApex.getAbsolutePath()); in testInstallPackage_activeOnSystem() 401 assertThat(newPkg.getLongVersionCode()).isEqualTo(2); in testInstallPackage_activeOnSystem() 430 var newPkg = mockParsePackage(mPackageParser2, newApexInfo); in testInstallPackage_activeOnData() local 431 assertThat(newPkg.getBaseApkPath()).isEqualTo(finalApex.getAbsolutePath()); in testInstallPackage_activeOnData() 432 assertThat(newPkg.getLongVersionCode()).isEqualTo(2); in testInstallPackage_activeOnData()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | AppsFilterImplTest.java | 172 ParsingPackage newPkg = pkg(packageName); in pkgWithCustomPermissions() local 176 newPkg.addPermission(permission); in pkgWithCustomPermissions() 178 return newPkg; in pkgWithCustomPermissions() 1696 AndroidPackage newPkg = newPkgBuilder.hideAsFinal(); in getPackageSettingFromParsingPackage() local 1698 .setPackage(newPkg) in getPackageSettingFromParsingPackage() 1700 .setName(newPkg.getPackageName()) in getPackageSettingFromParsingPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationService.java | 975 AndroidPackage newPkg = newPkgSetting.getPkg(); in migrateState() local 980 if (oldPkgState == null || oldPkg == null || newPkg == null) { in migrateState() 986 + ", new pkg = " + newPkg, new Exception()); in migrateState() 999 mCollector.collectValidAutoVerifyDomains(newPkg); in migrateState() 1021 ArraySet<String> newWebDomains = mCollector.collectAllWebDomains(newPkg); in migrateState()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 3949 @Nullable String newPkg) { 3953 || job.getSourcePackageName().equals(newPkg)); 4683 final String newPkg = (pi == null) ? null : pi.packageName; 4686 if (!Objects.equals(oldPkg, newPkg)) { 4689 + " to " + newPkg); 4691 mCloudMediaProviderPackages.put(userId, newPkg); 4695 args.arg2 = newPkg;
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingPackageUtils.java | 2775 ParsingPackage newPkg = pkg.setProfileableByShell(pkg.isProfileableByShell() 2777 return input.success(newPkg.setProfileable(newPkg.isProfileable()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 4716 @NonNull AndroidPackage newPkg) { 4724 + " to " + newPkg.getPackageName() 4730 + " to " + newPkg.getPackageName()
|