Home
last modified time | relevance | path

Searched refs:mUidMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPendingPackageBroadcasts.java41 final SparseArray<ArrayMap<String, ArrayList<String>>> mUidMap; field in PendingPackageBroadcasts
44 mUidMap = new SparseArray<>(2); in PendingPackageBroadcasts()
49 final ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in hasPackage()
86 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove()
95 mUidMap.remove(userId); in remove()
103 for (int userIdIndex = 0; userIdIndex < mUidMap.size(); userIdIndex++) { in copiedMap()
104 final ArrayMap<String, ArrayList<String>> packages = mUidMap.valueAt(userIdIndex); in copiedMap()
110 copy.put(mUidMap.keyAt(userIdIndex), packagesCopy); in copiedMap()
118 mUidMap.clear(); in clear()
124 ArrayMap<String, ArrayList<String>> map = mUidMap.get(userId); in getOrAllocate()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessControllerMap.java30 private final Map<Integer, ArraySet<WindowProcessController>> mUidMap = new HashMap<>(); field in WindowProcessControllerMap
39 return mUidMap.get(uid); in getProcesses()
57 ArraySet<WindowProcessController> procSet = mUidMap.getOrDefault(uid, in put()
60 mUidMap.put(uid, procSet); in put()
79 ArraySet<WindowProcessController> procSet = mUidMap.get(uid); in removeProcessFromUidMap()
83 mUidMap.remove(uid); in removeProcessFromUidMap()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingPerfettoBackend.cpp103 if (mUidMap.has_value()) { in initializeUidMap()
107 mUidMap = {{}}; in initializeUidMap()
116 mUidMap->emplace(package, getPackageUid(packageManager, package)); in initializeUidMap()
119 mUidMap->emplace(package, getPackageUid(packageManager, package)); in initializeUidMap()
170 [&](const auto& pkg) { return uid == mUidMap->at(pkg); }); in ruleMatches()
179 [&](const auto& pkg) { return uid == mUidMap->at(pkg); }); in ruleMatches()
DInputTracingPerfettoBackend.h86 std::optional<std::map<std::string, gui::Uid>> mUidMap; variable