/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 40 private final WeakHashMap<String, Package> mPackages = field in AttributeCache 80 mPackages.remove(packageName); in removePackage() 93 mPackages.clear(); in updateConfiguration() 100 Package pkg = mPackages.get(packageName); in get() 123 mPackages.put(packageName, pkg); in get()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 60 private final HashMap<String, Integer> mPackages = new HashMap<String, Integer>(); field in CompatModePackages 118 mPackages.put(pkg, modeInt); in CompatModePackages() 141 return mPackages; in getPackages() 145 Integer flags = mPackages.get(packageName); in getPackageFlags() 165 if (!mayCompat && mPackages.containsKey(packageName)) { in handlePackageAddedLocked() 166 mPackages.remove(packageName); in handlePackageAddedLocked() 221 mPackages.put(packageName, newFlags); in setPackageAskCompatModeLocked() 223 mPackages.remove(packageName); in setPackageAskCompatModeLocked() 315 mPackages.put(packageName, newFlags); in setPackageScreenCompatModeLocked() 317 mPackages.remove(packageName); in setPackageScreenCompatModeLocked() [all …]
|
D | ProcessStatsService.java | 139 = mProcessStats.mPackages.getMap(); in setMemFactorLocked() 309 = stats.mPackages.getMap(); in readLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 477 final ArrayMap<String, PackageParser.Package> mPackages = field in PackageManagerService 662 synchronized (mPackages) { in startVerifications() 723 synchronized (mPackages) { in receiveVerificationResponse() 735 synchronized (mPackages) { in receiveVerificationResponse() 806 synchronized (mPackages) { in createDomainVerificationState() 999 synchronized (mPackages) { in writeInternal() 1008 for (PackageParser.Package pkg : mPackages.values()) { in writeInternal() 1049 PackageParser.Package pkg = mPackages.get(packageName); in readLP() 1273 synchronized (mPackages) { in doHandleMessage() 1296 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() [all …]
|
D | KeySetManagerService.java | 62 private final ArrayMap<String, PackageSetting> mPackages; field in KeySetManagerService 115 mPackages = 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() 328 PackageSetting p = mPackages.get(packageName); in getKeySetByAliasAndPackageNameLPr() 372 PackageSetting p = mPackages.get(packageName); in getSigningKeySetByPackageNameLPr() 541 PackageSetting pkg = mPackages.get(packageName); in removeAppKeySetDataLPw() 570 for (ArrayMap.Entry<String, PackageSetting> e : mPackages.entrySet()) { in dumpLPr() 699 for (PackageSetting p : mPackages.values()) { in readKeySetsLPw()
|
D | Settings.java | 218 final ArrayMap<String, PackageSetting> mPackages = field in Settings 337 public final KeySetManagerService mKeySetManagerService = new KeySetManagerService(mPackages); 376 return mPackages.get(name); in peekPackageLPr() 380 PackageSetting p = mPackages.get(pkgName); in setInstallStatus() 389 PackageSetting p = mPackages.get(pkgName); in setInstallerPackageName() 421 final PackageSetting p = mPackages.get(name); in disableSystemPackageLPw() 474 PackageSetting p = mPackages.get(name); in addPackageLPw() 488 mPackages.put(name, p); in addPackageLPw() 556 PackageSetting p = mPackages.get(name); in getPackageLPw() 796 mPackages.put(name, p); in addPackageSettingLPw() [all …]
|
D | DefaultPermissionGrantPolicy.java | 172 synchronized (mService.mPackages) { in grantPermissionsToSysComponentsAndPrivApps() 173 for (PackageParser.Package pkg : mService.mPackages.values()) { in grantPermissionsToSysComponentsAndPrivApps() 206 synchronized (mService.mPackages) { in grantDefaultSystemHandlerPermissions() 233 synchronized (mService.mPackages) { in grantDefaultSystemHandlerPermissions() 750 return mService.mPackages.get(packageName); in getPackageLPr()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterFactory.java | 36 private HashSet<String> mPackages = new HashSet<String>(); field in FilterFactory 85 mPackages.add(packageName); in addPackage() 93 for (String packageName : mPackages) { in createFilterByClassName()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FilterFactory.java | 30 private HashSet<String> mPackages = new HashSet<String>(); field in FilterFactory 80 mPackages.add(packageName); in addPackage() 126 for (String packageName : mPackages) { in getFilterClass()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 61 public String[] mPackages; field in BatterySipper 120 return mPackages; in getPackages()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3195 memset(mPackages, 0, sizeof(mPackages)); in Theme() 3201 package_info* pi = mPackages[i]; in ~Theme() 3277 curPI = mPackages[pidx]; in applyStyle() 3281 mPackages[pidx] = curPI; in applyStyle() 3347 if (mPackages[i] != NULL) { in setTo() 3348 free_package(mPackages[i]); in setTo() 3350 if (other.mPackages[i] != NULL) { in setTo() 3351 mPackages[i] = copy_package(other.mPackages[i]); in setTo() 3353 mPackages[i] = NULL; in setTo() 3361 if (mPackages[i] != NULL) { in setTo() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ProcessStats.java | 221 public final ProcessMap<SparseArray<PackageState>> mPackages field in ProcessStats 265 ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = other.mPackages.getMap(); in add() 1267 mPackages.getMap().clear(); in reset() 1290 final ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = mPackages.getMap(); in resetSafely() 1527 final ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = mPackages.getMap(); in writeToParcel() 1689 final boolean hadData = mPackages.getMap().size() > 0 in readFromParcel() 1834 SparseArray<PackageState> vpkg = mPackages.get(pkgName, uid); in readFromParcel() 1837 mPackages.put(pkgName, uid, vpkg); in readFromParcel() 1996 SparseArray<PackageState> vpkg = mPackages.get(packageName, uid); in getPackageStateLocked() 1999 mPackages.put(packageName, uid, vpkg); in getPackageStateLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 187 ArrayMap<String, PackageSetting> packages = settings.mPackages; in verifyKeySetMetaData()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 1783 mPackages.add(assetsPackage, package); in ResourceTable() 1910 sp<Package> p = mPackages.valueFor(package); in startBag() 2003 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry() 2029 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry() 2068 sp<Package> p = mPackages.valueFor(package); in appendComment() 2091 sp<Package> p = mPackages.valueFor(package); in appendTypeComment() 2115 return mPackages.size(); in size() 2166 sp<Package> p = mPackages.valueFor(package); in getResId() 2313 sp<Package> p = mPackages.valueFor(package); in getCustomResource() 3337 sp<Package> pkg = mPackages.valueFor(package); in writePublicDefinitions() [all …]
|
D | ResourceTable.h | 594 DefaultKeyedVector<String16, sp<Package> > mPackages; variable
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 225 final ArrayMap<String, WeakReference<LoadedApk>> mPackages field in ActivityThread 1723 ref = mPackages.get(packageName); in getPackageInfo() 1796 ref = mPackages.get(packageName); in peekPackageInfo() 1814 ref = mPackages.get(aInfo.packageName); in getPackageInfo() 1840 mPackages.put(aInfo.packageName, in getPackageInfo() 4343 ref = mPackages.get(packages[i]); in handleDispatchPackageBroadcast() 4353 mPackages.remove(packages[i]); in handleDispatchPackageBroadcast()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 3650 ArrayList<String> mPackages; field in BackupManagerService.PerformAdbBackupTask 3668 mPackages = (packages == null) in PerformAdbBackupTask() 3826 if (mPackages != null) { in run() 3827 addPackagesToSet(packagesToBackup, mPackages); in run() 3983 ArrayList<PackageInfo> mPackages; field in BackupManagerService.PerformFullTransportBackupTask 3997 mPackages = new ArrayList<PackageInfo>(whichPackages.length); in PerformFullTransportBackupTask() 4029 mPackages.add(info); in PerformFullTransportBackupTask() 4069 final int N = mPackages.size(); in run() 4071 currentPackage = mPackages.get(i); in run()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1716 package_info* mPackages[Res_MAXPACKAGE]; variable
|