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 | 950 mCachedUids.clear(); in binderDied() 977 auto cacheIter = mCachedUids.find(uid); in isUidActive() 978 if (cacheIter != mCachedUids.end()) { in isUidActive() 986 mCachedUids.insert(std::pair<uid_t, in isUidActive() 1006 auto cacheIter = mCachedUids.find(uid); in getUidState() 1007 if (cacheIter != mCachedUids.end()) { in getUidState() 1018 auto cacheIter = mCachedUids.find(uid); in getUidState() 1019 if (cacheIter != mCachedUids.end()) { in getUidState() 1035 mCachedUids.insert(std::pair<uid_t, in getUidState() 1043 updateUid(&mCachedUids, uid, true, ActivityManager::PROCESS_STATE_UNKNOWN, true); in onUidActive() [all …]
|
D | AudioPolicyService.h | 426 std::unordered_map<uid_t, std::pair<bool, int>> mCachedUids; variable
|