Home
last modified time | relevance | path

Searched refs:mPackages (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java40 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/
DCompatModePackages.java60 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 …]
DProcessStatsService.java139 = mProcessStats.mPackages.getMap(); in setMemFactorLocked()
309 = stats.mPackages.getMap(); in readLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java477 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 …]
DKeySetManagerService.java62 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()
DSettings.java218 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 …]
DDefaultPermissionGrantPolicy.java172 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/
DFilterFactory.java36 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/
DFilterFactory.java30 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/
DBatterySipper.java61 public String[] mPackages; field in BatterySipper
120 return mPackages; in getPackages()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3195 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/
DProcessStats.java221 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/
DPackageManagerSettingsTests.java187 ArrayMap<String, PackageSetting> packages = settings.mPackages; in verifyKeySetMetaData()
/frameworks/base/tools/aapt/
DResourceTable.cpp1783 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 …]
DResourceTable.h594 DefaultKeyedVector<String16, sp<Package> > mPackages; variable
/frameworks/base/core/java/android/app/
DActivityThread.java225 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/
DBackupManagerService.java3650 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/
DResourceTypes.h1716 package_info* mPackages[Res_MAXPACKAGE]; variable