Home
last modified time | relevance | path

Searched refs:mDisabledPackages (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java69 final WatchedArraySet<PackageSetting> mDisabledPackages; field in SharedUserSetting
109 mDisabledPackages = new WatchedArraySet<>();
110 mDisabledPackagesSnapshot = new SnapshotCache.Auto<>(mDisabledPackages, mDisabledPackages,
126 mDisabledPackages = orig.mDisabledPackagesSnapshot.snapshot();
138 mDisabledPackages.registerObserver(mObserver);
251 if (mDisabledPackages.size() > 1) {
254 if (mDisabledPackages.size() == 1) {
255 final AndroidPackage pkg = mDisabledPackages.valueAt(0).getPkg();
382 return mDisabledPackages;
394 return mDisabledPackages.untrackedStorage();
DAppsFilterImpl.java261 private final ArraySet<String> mDisabledPackages = new ArraySet<>(); field in AppsFilterImpl.FeatureConfigImpl
277 synchronized (orig.mDisabledPackages) { in FeatureConfigImpl()
278 mDisabledPackages.addAll(orig.mDisabledPackages); in FeatureConfigImpl()
326 synchronized (mDisabledPackages) { in packageIsEnabled()
327 return !mDisabledPackages.contains(pkg.getPackageName()); in packageIsEnabled()
385 synchronized (mDisabledPackages) { in updateEnabledState()
387 mDisabledPackages.remove(pkg.getPackageName()); in updateEnabledState()
389 mDisabledPackages.add(pkg.getPackageName()); in updateEnabledState()
404 synchronized (mDisabledPackages) { in updatePackageState()
405 mDisabledPackages.remove(setting.getPackageName()); in updatePackageState()
DSettings.java897 sharedUserSetting.mDisabledPackages.add(disabled);
912 sharedUserSetting.mDisabledPackages.remove(p);
952 sharedUserSetting.mDisabledPackages.remove(p);
3545 sharedUserSetting.mDisabledPackages.add(disabledPs);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java698 protected Set<UserPackage> mDisabledPackages; field in BaseShortcutManagerTest
911 mDisabledPackages = new HashSet<>(); in setUp()
1241 mDisabledPackages.add(UserPackage.of(userId, packageName)); in disablePackage()
1248 mDisabledPackages.remove(UserPackage.of(userId, packageName)); in enablePackage()
1276 !mDisabledPackages.contains(UserPackage.of(userId, packageName)); in getInjectedPackageInfo()