Lines Matching refs:mPackages
288 // Used for privilege escalation. MUST NOT BE CALLED WITH mPackages
330 final HashMap<String, PackageParser.Package> mPackages =
721 synchronized (mPackages) {
744 PackageSetting ps = mSettings.mPackages.get(ent.getKey());
766 synchronized (mPackages) {
901 synchronized (mPackages) {
911 synchronized (mPackages) {
1090 synchronized (mPackages) {
1103 mInstallLock, mPackages);
1266 Iterator<PackageSetting> psit = mSettings.mPackages.values().iterator();
1281 final PackageParser.Package scannedPkg = mPackages.get(ps.name);
1345 PackageParser.Package deletedPkg = mPackages.get(deletedAppName);
1360 PackageSetting deletedPs = mSettings.mPackages.get(deletedAppName);
1416 } // synchronized (mPackages)
1445 final PackageSetting ps = mSettings.mPackages.get(packageName);
1727 synchronized (mPackages) {
1728 PackageParser.Package p = mPackages.get(packageName);
1744 synchronized (mPackages) {
1746 PackageSetting ps = mSettings.mPackages.get(names[i]);
1756 synchronized (mPackages) {
1770 synchronized (mPackages) {
1771 PackageParser.Package p = mPackages.get(packageName);
1775 PackageSetting ps = mSettings.mPackages.get(packageName);
1787 synchronized (mPackages) {
1788 PackageParser.Package p = mPackages.get(packageName);
1825 synchronized (mPackages) {
1836 synchronized (mPackages) {
1859 synchronized (mPackages) {
1867 synchronized (mPackages) {
1881 PackageSetting ps = mSettings.mPackages.get(packageName);
1900 PackageSetting ps = mSettings.mPackages.get(packageName);
1928 synchronized (mPackages) {
1929 PackageParser.Package p = mPackages.get(packageName);
1934 PackageSetting ps = mSettings.mPackages.get(packageName);
2008 synchronized (mPackages) {
2013 PackageSetting ps = mSettings.mPackages.get(component.getPackageName());
2029 synchronized (mPackages) {
2034 PackageSetting ps = mSettings.mPackages.get(component.getPackageName());
2047 synchronized (mPackages) {
2052 PackageSetting ps = mSettings.mPackages.get(component.getPackageName());
2065 synchronized (mPackages) {
2070 PackageSetting ps = mSettings.mPackages.get(component.getPackageName());
2081 synchronized (mPackages) {
2095 synchronized (mPackages) {
2112 synchronized (mPackages) {
2127 synchronized (mPackages) {
2128 PackageParser.Package p = mPackages.get(pkgName);
2148 synchronized (mPackages) {
2296 synchronized (mPackages) {
2302 synchronized (mPackages) {
2308 synchronized (mPackages) {
2354 synchronized (mPackages) {
2355 final PackageParser.Package pkg = mPackages.get(packageName);
2383 synchronized (mPackages) {
2384 final PackageParser.Package pkg = mPackages.get(packageName);
2439 synchronized (mPackages) {
2445 synchronized (mPackages) {
2446 final PackageParser.Package p1 = mPackages.get(pkg1);
2447 final PackageParser.Package p2 = mPackages.get(pkg2);
2461 synchronized (mPackages) {
2519 synchronized (mPackages) {
2541 synchronized (mPackages) {
2559 synchronized (mPackages) {
2625 synchronized (mPackages) {
2744 synchronized (mPackages) {
2749 final PackageParser.Package pkg = mPackages.get(pkgName);
2954 synchronized (mPackages) {
2959 final PackageParser.Package pkg = mPackages.get(pkgName);
3005 synchronized (mPackages) {
3010 final PackageParser.Package pkg = mPackages.get(pkgName);
3026 synchronized (mPackages) {
3029 list = new ArrayList<PackageInfo>(mSettings.mPackages.size());
3030 for (PackageSetting ps : mSettings.mPackages.values()) {
3042 list = new ArrayList<PackageInfo>(mPackages.size());
3043 for (PackageParser.Package p : mPackages.values()) {
3100 synchronized (mPackages) {
3104 for (PackageSetting ps : mSettings.mPackages.values()) {
3108 for (PackageParser.Package pkg : mPackages.values()) {
3127 synchronized (mPackages) {
3130 list = new ArrayList<ApplicationInfo>(mSettings.mPackages.size());
3131 for (PackageSetting ps : mSettings.mPackages.values()) {
3144 list = new ArrayList<ApplicationInfo>(mPackages.size());
3145 for (PackageParser.Package p : mPackages.values()) {
3164 synchronized (mPackages) {
3165 final Iterator<PackageParser.Package> i = mPackages.values().iterator();
3172 PackageSetting ps = mSettings.mPackages.get(p.packageName);
3191 synchronized (mPackages) {
3194 ? mSettings.mPackages.get(provider.owner.packageName)
3212 synchronized (mPackages) {
3219 PackageSetting ps = mSettings.mPackages.get(p.owner.packageName);
3240 synchronized (mPackages) {
3246 PackageSetting ps = mSettings.mPackages.get(p.owner.packageName);
3276 synchronized (mPackages) {
3288 synchronized (mPackages) {
3410 synchronized (mPackages) {
3459 synchronized (mPackages) {
3461 mPackages
3473 synchronized (mPackages) {
3566 synchronized (mPackages) {
3637 synchronized (mPackages) {
3672 synchronized (mPackages) {
3673 p = mPackages.get(packageName);
3688 synchronized (mPackages) {
3692 libPkg = mPackages.get(lib.apk);
3780 } else if (mPackages.get(oldPkg.name) != null) {
3850 PackageParser.Package p = mPackages.get(file.apk);
3930 for (PackageParser.Package pkg : mPackages.values()) {
3938 for (PackageParser.Package pkg : mPackages.values()) {
3968 synchronized (mPackages) {
4006 if (mPackages.containsKey(pkg.packageName)
4029 synchronized (mPackages) {
4323 synchronized (mPackages) {
4464 synchronized (mPackages) {
4553 synchronized (mPackages) {
4560 // Add the new setting to mPackages
4561 mPackages.put(pkg.applicationInfo.packageName, pkg);
4900 synchronized (mPackages) {
4901 mPackages.remove(ps.name);
4920 synchronized (mPackages) {
4921 mPackages.remove(pkg.applicationInfo.packageName);
5118 bp.packageSetting = mSettings.mPackages.get(bp.sourcePackage);
5158 bp.packageSetting = mSettings.mPackages.get(bp.sourcePackage);
5177 for (PackageParser.Package pkg : mPackages.values()) {
5878 synchronized (mPackages) {
5909 synchronized (mPackages) {
5969 synchronized (mPackages) {
5972 ps = mSettings.mPackages.get(p.applicationInfo.packageName);
6003 * changed since we last acquired the mPackages
6007 synchronized (mPackages) {
6018 synchronized (mPackages) {
6131 synchronized (mPackages) {
6132 pkgSetting = mSettings.mPackages.get(packageName);
6298 synchronized (mPackages) {
6299 final PackageParser.Package pkg = mPackages.get(verifierInfo.packageName);
6409 synchronized (mPackages) {
6410 PackageSetting targetPackageSetting = mSettings.mPackages.get(targetPackage);
6417 installerPackageSetting = mSettings.mPackages.get(installerPackageName);
6455 PackageSetting setting = mSettings.mPackages.get(
6730 synchronized (mPackages) {
6731 PackageParser.Package pkg = mPackages.get(packageName);
8051 synchronized(mPackages) {
8063 if (mPackages.containsKey(pkgName) || mAppDirs.containsKey(pkg.mPath)) {
8108 synchronized(mPackages) {
8109 oldPackage = mPackages.get(pkgName);
8119 PackageSetting ps = mSettings.mPackages.get(pkgName);
8210 synchronized (mPackages) {
8240 synchronized (mPackages) {
8241 oldPkg = mPackages.get(packageName);
8242 oldPkgSetting = mSettings.mPackages.get(packageName);
8257 synchronized (mPackages) {
8299 synchronized(mPackages) {
8336 synchronized (mPackages) {
8339 //added to mPackages. It hasn't been persisted yet.
8352 synchronized (mPackages) {
8364 PackageSetting ps = mSettings.mPackages.get(pkgName);
8458 synchronized (mPackages) {
8464 && mPackages.containsKey(oldName)) {
8474 } else if (mPackages.containsKey(pkgName)) {
8481 PackageSetting ps = mSettings.mPackages.get(pkgName);
8484 oldCodePath = mSettings.mPackages.get(pkgName).codePathString;
8514 synchronized (mPackages) {
8515 final PackageSetting ps = mSettings.mPackages.get(pkgName);
8659 * deleting the package information in internal structures like mPackages,
8687 synchronized (mPackages) {
8688 PackageSetting ps = mSettings.mPackages.get(packageName);
8704 if (res && !systemUpdate && mPackages.get(packageName) == null) {
8790 synchronized (mPackages) {
8791 deletedPs = mSettings.mPackages.get(packageName);
8804 synchronized (mPackages) {
8860 synchronized (mPackages) {
8894 synchronized (mPackages) {
8912 synchronized (mPackages) {
8919 PackageSetting ps = mSettings.mPackages.get(newPkg.packageName);
8974 synchronized (mPackages) {
8975 ps = mSettings.mPackages.get(packageName);
9188 synchronized (mPackages) {
9189 p = mPackages.get(packageName);
9192 PackageSetting ps = mSettings.mPackages.get(packageName);
9281 synchronized (mPackages) {
9282 p = mPackages.get(packageName);
9328 synchronized (mPackages) {
9329 p = mPackages.get(packageName);
9330 PackageSetting ps = mSettings.mPackages.get(packageName);
9416 synchronized (mPackages) {
9456 synchronized (mPackages) {
9502 synchronized (mPackages) {
9503 PackageParser.Package pkg = mPackages.get(packageName);
9563 synchronized (mPackages) {
9578 synchronized (mPackages) {
9641 synchronized (mPackages) {
9642 pkgSetting = mSettings.mPackages.get(packageName);
9767 synchronized (mPackages) {
9777 synchronized (mPackages) {
9788 synchronized (mPackages) {
9799 synchronized (mPackages) {
9824 synchronized (mPackages) {
10042 synchronized (mPackages) {
10284 synchronized (mPackages) {
10340 synchronized (mPackages) {
10354 final PackageSetting ps = mSettings.mPackages.get(pkgName);
10485 synchronized (mPackages) {
10506 synchronized (mPackages) {
10597 synchronized (mPackages) {
10634 synchronized (mPackages) {
10635 PackageParser.Package pkg = mPackages.get(packageName);
10706 synchronized (mPackages) {
10707 PackageParser.Package pkg = mPackages.get(mp.packageName);
10731 synchronized (mPackages) {
10732 PackageParser.Package pkg = mPackages.get(mp.packageName);
10827 synchronized (mPackages) {
10828 PackageParser.Package pkg = mPackages.get(mp.packageName);
10894 synchronized (mPackages) {
10903 synchronized (mPackages) {
10930 synchronized (mPackages) {
10937 * called outside of {@link #mPackages} lock.