Home
last modified time | relevance | path

Searched refs:mDisplays (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java103 private final ArrayMap<String, RemoteDisplay> mDisplays = field in RemoteDisplayProvider
230 return mDisplays.values(); in getDisplays()
240 if (display == null || mDisplays.containsKey(display.getId())) { in addDisplay()
243 mDisplays.put(display.getId(), display); in addDisplay()
254 if (display == null || mDisplays.get(display.getId()) != display) { in updateDisplay()
266 if (display == null || mDisplays.get(display.getId()) != display) { in removeDisplay()
269 mDisplays.remove(display.getId()); in removeDisplay()
280 return mDisplays.get(id); in findRemoteDisplay()
315 final int count = mDisplays.size(); in publishState()
317 final RemoteDisplay display = mDisplays.valueAt(i); in publishState()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java38 private final WifiDisplay[] mDisplays; field in WifiDisplayStatus
107 mDisplays = displays; in WifiDisplayStatus()
157 return mDisplays; in getDisplays()
180 dest.writeInt(mDisplays.length); in writeToParcel()
181 for (WifiDisplay display : mDisplays) { in writeToParcel()
200 + ", displays=" + Arrays.toString(mDisplays) in toString()
DDisplayManager.java47 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); field in DisplayManager
324 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked()
329 mDisplays.put(displayId, display); in getOrCreateDisplayLocked()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp881 mDisplays.add(token, hw); in onHotplugReceived()
986 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in doDebugFlashRegions()
987 const sp<DisplayDevice>& hw(mDisplays[dpy]); in doDebugFlashRegions()
1011 for (size_t displayId = 0; displayId < mDisplays.size(); ++displayId) { in doDebugFlashRegions()
1012 status_t result = mDisplays[displayId]->prepareFrame(*mHwc); in doDebugFlashRegions()
1120 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in rebuildLayerStacks()
1124 const sp<DisplayDevice>& displayDevice(mDisplays[dpy]); in rebuildLayerStacks()
1164 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in setUpHWComposer()
1165 bool dirty = !mDisplays[dpy]->getDirtyRegion(false).isEmpty(); in setUpHWComposer()
1166 bool empty = mDisplays[dpy]->getVisibleLayersSortedByZ().size() == 0; in setUpHWComposer()
[all …]
DSurfaceFlinger_hwc1.cpp508 mDisplays.add(token, hw); in init()
984 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in doDebugFlashRegions()
985 const sp<DisplayDevice>& hw(mDisplays[dpy]); in doDebugFlashRegions()
1110 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in rebuildLayerStacks()
1114 const sp<DisplayDevice>& hw(mDisplays[dpy]); in rebuildLayerStacks()
1144 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in setUpHWComposer()
1145 bool dirty = !mDisplays[dpy]->getDirtyRegion(false).isEmpty(); in setUpHWComposer()
1146 bool empty = mDisplays[dpy]->getVisibleLayersSortedByZ().size() == 0; in setUpHWComposer()
1147 bool wasEmpty = !mDisplays[dpy]->lastCompositionHadVisibleLayers; in setUpHWComposer()
1159 ALOGV_IF(mDisplays[dpy]->getDisplayType() == DisplayDevice::DISPLAY_VIRTUAL, in setUpHWComposer()
[all …]
DSurfaceFlinger.h359 return mDisplays.valueFor(dpy); in getDisplayDevice()
364 return mDisplays.valueFor(dpy); in getDisplayDevice()
484 DefaultKeyedVector< wp<IBinder>, sp<DisplayDevice> > mDisplays; variable
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2On1Adapter.cpp144 mDisplays(), in HWC2On1Adapter()
377 mDisplays.emplace(displayId, mHwc1VirtualDisplay); in createVirtualDisplay()
393 mDisplays.erase(displayId); in destroyVirtualDisplay()
429 for (const auto& element : mDisplays) { in dump()
488 for (auto& displayPair : mDisplays) { in registerCallback()
2350 auto display = mDisplays.find(id); in getDisplay()
2351 if (display == mDisplays.end()) { in getDisplay()
2389 mDisplays.emplace(display->getId(), std::move(display)); in populatePrimary()
2398 for (const auto& displayPair : mDisplays) { in prepareAllDisplays()
2413 auto& primaryDisplay = mDisplays[primaryDisplayId]; in prepareAllDisplays()
[all …]
DHWC2.cpp132 mDisplays(), in Device()
151 for (auto element : mDisplays) { in ~Device()
257 mDisplays.erase(display->getId()); in callHotplug()
291 if (mDisplays.count(id) != 0) { in getDisplayById()
292 return mDisplays.at(id); in getDisplayById()
296 mDisplays.emplace(id, display); in getDisplayById()
DHWC2.h184 std::unordered_map<hwc2_display_t, std::shared_ptr<Display>> mDisplays; variable
DHWC2On1Adapter.h678 std::map<hwc2_display_t, std::shared_ptr<Display>> mDisplays; variable
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java86 private WifiDisplay[] mDisplays = WifiDisplay.EMPTY_ARRAY; field in WifiDisplayAdapter
113 pw.println("mDisplays=" + Arrays.toString(mDisplays)); in dumpLocked()
286 mActiveDisplay, mDisplays, mSessionInfo); in getWifiDisplayStatusLocked()
317 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
/frameworks/base/core/java/android/app/
DResourcesManager.java109 private final ArrayMap<Pair<Integer, DisplayAdjustments>, WeakReference<Display>> mDisplays = field in ResourcesManager
216 WeakReference<Display> wd = mDisplays.get(key); in getAdjustedDisplay()
230 mDisplays.put(key, new WeakReference<>(display)); in getAdjustedDisplay()
776 mDisplays.clear(); in applyConfigurationToResourcesLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java713 final Display[] mDisplays; field in WindowManagerService
967 mDisplays = mDisplayManager.getDisplays(); in WindowManagerService()
968 for (Display display : mDisplays) { in WindowManagerService()
7885 for (Display display : mDisplays) { in displayReady()