Searched refs:mDisabledPackages (Results 1 – 4 of 4) sorted by relevance
69 final WatchedArraySet<PackageSetting> mDisabledPackages; field in SharedUserSetting109 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();
261 private final ArraySet<String> mDisabledPackages = new ArraySet<>(); field in AppsFilterImpl.FeatureConfigImpl277 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()
897 sharedUserSetting.mDisabledPackages.add(disabled);912 sharedUserSetting.mDisabledPackages.remove(p);952 sharedUserSetting.mDisabledPackages.remove(p);3545 sharedUserSetting.mDisabledPackages.add(disabledPs);
698 protected Set<UserPackage> mDisabledPackages; field in BaseShortcutManagerTest911 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()