/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastStats.java | 49 final ArrayMap<String, PackageEntry> mPackages = new ArrayMap<>(); field in BroadcastStats.ActionEntry 82 PackageEntry pe = ae.mPackages.get(srcPackage); in addBroadcast() 85 ae.mPackages.put(srcPackage, pe); in addBroadcast() 99 if (dumpPackage != null && !ae.mPackages.containsKey(dumpPackage)) { in dumpStats() 117 for (int j=ae.mPackages.size()-1; j>=0; j--) { in dumpStats() 120 pw.print(ae.mPackages.keyAt(j)); in dumpStats() 122 PackageEntry pe = ae.mPackages.valueAt(j); in dumpStats() 139 if (dumpPackage != null && !ae.mPackages.containsKey(dumpPackage)) { in dumpCheckinStats() 153 for (int j=ae.mPackages.size()-1; j>=0; j--) { in dumpCheckinStats() 155 pw.print(ae.mPackages.keyAt(j)); in dumpCheckinStats() [all …]
|
D | CompatModePackages.java | 63 private final HashMap<String, Integer> mPackages = new HashMap<String, Integer>(); field in CompatModePackages 121 mPackages.put(pkg, modeInt); in CompatModePackages() 144 return mPackages; in getPackages() 148 Integer flags = mPackages.get(packageName); in getPackageFlags() 164 if (mPackages.containsKey(packageName)) { in removePackage() 165 mPackages.remove(packageName); in removePackage() 186 if (!mayCompat && mPackages.containsKey(packageName)) { in handlePackageAddedLocked() 187 mPackages.remove(packageName); in handlePackageAddedLocked() 250 mPackages.put(packageName, newFlags); in setPackageAskCompatModeLocked() 252 mPackages.remove(packageName); in setPackageAskCompatModeLocked() [all …]
|
D | ProcessStatsService.java | 142 = mProcessStats.mPackages.getMap(); in setMemFactorLocked() 299 = stats.mPackages.getMap(); in readLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 113 private final ArrayMap<String, ShortcutPackage> mPackages = new ArrayMap<>(); field in ShortcutUser 162 return mPackages; in getAllPackagesForTest() 166 return mPackages.containsKey(packageName); in hasPackage() 171 mPackages.put(p.getPackageName(), p); in addPackage() 175 final ShortcutPackage removed = mPackages.remove(packageName); in removePackage() 203 final ShortcutPackage ret = mPackages.get(packageName); in getPackageShortcutsIfExists() 215 mPackages.put(packageName, ret); in getPackageShortcuts() 235 final int size = mPackages.size(); in forAllPackages() 237 callback.accept(mPackages.valueAt(i)); in forAllPackages() 315 final boolean isNewApp = !mPackages.containsKey(packageName); in rescanPackageIfNeeded() [all …]
|
D | PackageManagerService.java | 587 final ArrayMap<String, PackageParser.Package> mPackages = field in PackageManagerService 818 synchronized (mPackages) { in startVerifications() 879 synchronized (mPackages) { in receiveVerificationResponse() 891 synchronized (mPackages) { in receiveVerificationResponse() 962 synchronized (mPackages) { in createDomainVerificationState() 1347 synchronized (mPackages) { in doHandleMessage() 1370 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() 1392 synchronized (mPackages) { in doHandleMessage() 1477 synchronized (mPackages) { in doHandleMessage() 1487 synchronized (mPackages) { 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 | 251 final ArrayMap<String, PackageSetting> mPackages = new ArrayMap<>(); field in Settings 398 public final KeySetManagerService mKeySetManagerService = new KeySetManagerService(mPackages); 454 return mPackages.get(name); in peekPackageLPr() 458 PackageSetting p = mPackages.get(pkgName); in setInstallStatus() 478 final PackageSetting ps = mPackages.get(packageName); in applyPendingPermissionGrantsLPw() 504 PackageSetting p = mPackages.get(pkgName); in setInstallerPackageName() 538 final PackageSetting p = mPackages.get(name); in disableSystemPackageLPw() 596 PackageSetting p = mPackages.get(name); in addPackageLPw() 611 mPackages.put(name, p); in addPackageLPw() 647 if (mPackages.get(ps.name) == null) { in pruneSharedUsersLPw() [all …]
|
D | OtaDexoptService.java | 122 synchronized (mPackageManagerService.mPackages) { in prepare() 125 mPackageManagerService.mPackages.values(), mPackageManagerService); in prepare() 127 others = new ArrayList<>(mPackageManagerService.mPackages.values()); in prepare() 131 mDexoptCommands = new ArrayList<>(3 * mPackageManagerService.mPackages.size() / 2); in prepare()
|
D | EphemeralApplicationRegistry.java | 121 PackageParser.Package pkg = mService.mPackages.get(packageName); in setEphemeralApplicationCookieLPw() 186 if (mService.mPackages.get(pkg.packageName) == null || !ps.getInstalled(userId)) { in onPackageInstalledLPw() 244 if (mService.mPackages.get(pkg.packageName) != null && ps.getInstalled(userId)) { in onPackageUninstalledLPw() 374 final int packageCount = mService.mPackages.size(); in getInstalledEphemeralApplicationsLPr() 376 PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledEphemeralApplicationsLPr()
|
D | DefaultPermissionGrantPolicy.java | 175 synchronized (mService.mPackages) { in DefaultPermissionGrantPolicy() 222 synchronized (mService.mPackages) { in grantPermissionsToSysComponentsAndPrivApps() 223 for (PackageParser.Package pkg : mService.mPackages.values()) { in grantPermissionsToSysComponentsAndPrivApps() 255 synchronized (mService.mPackages) { in grantDefaultSystemHandlerPermissions() 279 synchronized (mService.mPackages) { in grantDefaultSystemHandlerPermissions() 863 return mService.mPackages.get(packageName); in getPackageLPr() 990 synchronized (mService.mPackages) { in grantDefaultPermissionExceptions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsFileLoggerTest.java | 42 private ArrayList<PackageStats> mPackages; field in DiskStatsFileLoggerTest 53 mPackages = new ArrayList<>(); in setUp() 59 mMainResult, mDownloadsResult,mPackages, 0L); in testEmptyStorage() 85 mMainResult, mDownloadsResult,mPackages, 3L); in testMeasurementResultsReported() 103 mPackages.add(firstPackage); in testAppsReported() 109 mPackages.add(secondPackage); in testAppsReported() 112 mMainResult, mDownloadsResult, mPackages, 0L); in testAppsReported() 145 mPackages.add(app); in testEmulatedExternalStorageCounted() 148 mMainResult, mDownloadsResult, mPackages, 0L); in testEmulatedExternalStorageCounted() 164 mPackages.add(app); in testDuplicatePackageNameIsMergedAcrossMultipleUsers() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | TestSystemImpl.java | 29 HashMap<String, PackageInfo> mPackages = new HashMap(); field in TestSystemImpl 85 PackageInfo packageInfo = mPackages.get(packageName); in enablePackageForUser() 99 PackageInfo ret = mPackages.get(info.packageName); in getPackageInfoForProvider() 105 mPackages.put(pi.packageName, pi); in setPackageInfo() 109 mPackages.remove(packageName); in removePackageInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 44 private final LruCache<String, Package> mPackages = new LruCache<>(CACHE_SIZE); field in AttributeCache 90 final Package pkg = mPackages.remove(packageName); in removePackage() 114 mPackages.evictAll(); in updateConfiguration() 121 Package pkg = mPackages.get(packageName); in get() 144 mPackages.put(packageName, pkg); in get()
|
/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 | 64 public String[] mPackages; field in BatterySipper 124 return mPackages; in getPackages()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
D | VpnTest.java | 79 static final Map<String, Integer> mPackages = new ArrayMap<>(); field in VpnTest 82 mPackages.put(PKGS[i], PKG_UIDS[i]); in mPackages.put() 96 setMockedPackages(mPackages); in setUp()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 166 public final ProcessMap<SparseArray<PackageState>> mPackages field in ProcessStats 219 ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = other.mPackages.getMap(); in add() 398 mPackages.getMap().clear(); in reset() 421 final ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = mPackages.getMap(); in resetSafely() 728 final ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = mPackages.getMap(); in writeToParcel() 888 final boolean hadData = mPackages.getMap().size() > 0 in readFromParcel() 1017 SparseArray<PackageState> vpkg = mPackages.get(pkgName, uid); in readFromParcel() 1020 mPackages.put(pkgName, uid, vpkg); in readFromParcel() 1119 SparseArray<PackageState> vpkg = mPackages.get(packageName, uid); in getPackageStateLocked() 1122 mPackages.put(packageName, uid, vpkg); in getPackageStateLocked() [all …]
|
D | ProcessState.java | 555 SparseArray<PackageState> vpkg = mStats.mPackages.get(pkgName, mUid); in pullFixedProc() 593 SparseArray<PackageState> vpkg = mStats.mPackages.get(pkgList.keyAt(index), in pullFixedProc()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3308 memset(mPackages, 0, sizeof(mPackages)); in Theme() 3314 package_info* pi = mPackages[i]; in ~Theme() 3390 curPI = mPackages[pidx]; in applyStyle() 3394 mPackages[pidx] = curPI; in applyStyle() 3460 if (mPackages[i] != NULL) { in setTo() 3461 free_package(mPackages[i]); in setTo() 3463 if (other.mPackages[i] != NULL) { in setTo() 3464 mPackages[i] = copy_package(other.mPackages[i]); in setTo() 3466 mPackages[i] = NULL; in setTo() 3474 if (mPackages[i] != NULL) { in setTo() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 198 ArrayMap<String, PackageSetting> packages = settings.mPackages; in verifyKeySetMetaData()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 1778 mPackages.add(assetsPackage, package); in ResourceTable() 1905 sp<Package> p = mPackages.valueFor(package); in startBag() 1998 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry() 2024 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry() 2063 sp<Package> p = mPackages.valueFor(package); in appendComment() 2086 sp<Package> p = mPackages.valueFor(package); in appendTypeComment() 2165 return mPackages.size(); in size() 2216 sp<Package> p = mPackages.valueFor(package); in getResId() 2363 sp<Package> p = mPackages.valueFor(package); in getCustomResource() 3395 sp<Package> pkg = mPackages.valueFor(package); in writePublicDefinitions() [all …]
|
D | ResourceTable.h | 620 DefaultKeyedVector<String16, sp<Package> > mPackages; variable
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 252 final ArrayMap<String, WeakReference<LoadedApk>> mPackages field in ActivityThread 1888 ref = mPackages.get(packageName); in getPackageInfo() 1963 ref = mPackages.get(packageName); in peekPackageInfo() 1981 ref = mPackages.get(aInfo.packageName); in getPackageInfo() 2007 mPackages.put(aInfo.packageName, in getPackageInfo() 4908 WeakReference<LoadedApk> ref = mPackages.get(packages[i]); in handleDispatchPackageBroadcast() 4919 mPackages.remove(packages[i]); in handleDispatchPackageBroadcast() 4933 WeakReference<LoadedApk> ref = mPackages.get(packages[i]); in handleDispatchPackageBroadcast()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 4011 ArrayList<String> mPackages; field in BackupManagerService.PerformAdbBackupTask 4030 mPackages = (packages == null) in PerformAdbBackupTask() 4192 if (mPackages != null) { in run() 4193 addPackagesToSet(packagesToBackup, mPackages); in run() 4379 ArrayList<PackageInfo> mPackages; field in BackupManagerService.PerformFullTransportBackupTask 4396 mPackages = new ArrayList<PackageInfo>(whichPackages.length); in PerformFullTransportBackupTask() 4436 mPackages.add(info); in PerformFullTransportBackupTask() 4478 final int N = mPackages.size(); in run() 4481 PackageInfo currentPackage = mPackages.get(i); in run()
|