Home
last modified time | relevance | path

Searched refs:mRulesUidCache (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java166 @VisibleForTesting protected final ArrayMap<String, Integer> mRulesUidCache = new ArrayMap<>(); field in ZenModeHelper
810 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()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1346 == mZenModeHelper.mRulesUidCache.getOrDefault(CUSTOM_PKG_NAME + "|" + 0, -1)); in ruleUidAutomaticZenRuleRemovedUpdatesCache()