Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java89 private final WeakDisplayCache mDisplayCache = new WeakDisplayCache(); field in DisplayManager
708 display = mDisplayCache.get(displayId); in getOrCreateDisplay()
717 mDisplayCache.put(display); in getOrCreateDisplay()
1801 private final SparseArray<WeakReference<Display>> mDisplayCache = new SparseArray<>(); field in DisplayManager.WeakDisplayCache
1810 WeakReference<Display> wrDisplay = mDisplayCache.get(displayId); in get()
1825 mDisplayCache.put(display.getDisplayId(), new WeakReference<>(display)); in put()
1833 for (int i = 0; i < mDisplayCache.size(); i++) { in removeStaleEntries()
1834 if (mDisplayCache.valueAt(i).get() == null) { in removeStaleEntries()
1842 mDisplayCache.removeAt(staleEntriesIndices.get(i)); in removeStaleEntries()
H A DDisplayManagerGlobal.java139 private PropertyInvalidatedCache<Integer, DisplayInfo> mDisplayCache = field in DisplayManagerGlobal
192 if (mDisplayCache != null) { in getDisplayInfoLocked()
193 info = mDisplayCache.query(displayId); in getDisplayInfoLocked()
1254 mDisplayCache = null; in disableLocalDisplayInfoCaches()