Searched refs:mCachedUids (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierPrivilegesTracker.java | 147 private final Map<String, Set<Integer>> mCachedUids; field in CarrierPrivilegesTracker 240 mCachedUids = new ArrayMap<>(); in CarrierPrivilegesTracker() 377 mCachedUids.put(pkg.packageName, getUidsForPackage(pkg.packageName)); in handlePackageAddedOrReplaced() 404 mCachedUids.remove(pkgName); in handlePackageRemoved() 498 if (mCachedUids.containsKey(pkgName)) { in getUidsForPackage() 499 return mCachedUids.get(pkgName); in getUidsForPackage() 513 mCachedUids.put(pkgName, uids); in getUidsForPackage()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 872 mCachedUids.clear(); in binderDied() 899 auto cacheIter = mCachedUids.find(uid); in isUidActive() 900 if (cacheIter != mCachedUids.end()) { in isUidActive() 908 mCachedUids.insert(std::pair<uid_t, in isUidActive() 928 auto cacheIter = mCachedUids.find(uid); in getUidState() 929 if (cacheIter != mCachedUids.end()) { in getUidState() 940 auto cacheIter = mCachedUids.find(uid); in getUidState() 941 if (cacheIter != mCachedUids.end()) { in getUidState() 957 mCachedUids.insert(std::pair<uid_t, in getUidState() 965 updateUid(&mCachedUids, uid, true, ActivityManager::PROCESS_STATE_UNKNOWN, true); in onUidActive() [all …]
|
D | AudioPolicyService.h | 405 std::unordered_map<uid_t, std::pair<bool, int>> mCachedUids; variable
|