Searched refs:mRulesUidCache (Results 1 – 2 of 2) sorted by relevance
166 @VisibleForTesting protected final ArrayMap<String, Integer> mRulesUidCache = new ArrayMap<>(); field in ZenModeHelper810 mRulesUidCache.remove(getPackageUserKey(ruleToRemove.getPkg(), newConfig.user)); in removeAutomaticZenRule()2422 if (mRulesUidCache.get(key) == null) { in getPackageUid()2424 mRulesUidCache.put(key, mPm.getPackageUidAsUser(pkg, user)); in getPackageUid()2428 return mRulesUidCache.getOrDefault(key, -1); in getPackageUid()
1346 == mZenModeHelper.mRulesUidCache.getOrDefault(CUSTOM_PKG_NAME + "|" + 0, -1)); in ruleUidAutomaticZenRuleRemovedUpdatesCache()