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.java51 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); field in DisplayManager
386 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked()
395 mDisplays.put(displayId, display); in getOrCreateDisplayLocked()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp437 if (mDisplays[change.id()] == nullptr) { in doDisplayTransaction()
438 mDisplayCond.wait(lock, [&] { return (mDisplays[change.id()] != nullptr); }); in doDisplayTransaction()
582 t.setDisplaySurface(mDisplays[id], outProducer); in setDisplaySurface()
587 t.setDisplayLayerStack(mDisplays[id], lsc.layer_stack()); in setDisplayLayerStack()
592 t.setDisplaySize(mDisplays[id], sc.w(), sc.h()); in setDisplaySize()
601 t.setDisplayProjection(mDisplays[id], pc.orientation(), viewport, frame); in setDisplayProjection()
689 mDisplays[create.id()] = display; in createDisplay()
701 SurfaceComposerClient::destroyDisplay(mDisplays[delete_.id()]); in deleteDisplay()
702 mDisplays.erase(delete_.id()); in deleteDisplay()
708 SurfaceComposerClient::setDisplayPowerMode(mDisplays[pmu.id()], pmu.mode()); in updatePowerMode()
DReplayer.h158 std::unordered_map<display_id, sp<IBinder>> mDisplays; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1410 mDisplays.clear(); in resetDisplayState()
1547 for (size_t displayId = 0; displayId < mDisplays.size(); ++displayId) { in handleMessageRefresh()
1548 const sp<DisplayDevice>& displayDevice = mDisplays[displayId]; in handleMessageRefresh()
1564 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in doDebugFlashRegions()
1565 const sp<DisplayDevice>& hw(mDisplays[dpy]); in doDebugFlashRegions()
1589 for (size_t displayId = 0; displayId < mDisplays.size(); ++displayId) { in doDebugFlashRegions()
1590 auto& displayDevice = mDisplays[displayId]; in doDebugFlashRegions()
1615 for (size_t dpy = 0; dpy < mDisplays.size(); ++dpy) { in logLayerStats()
1616 const sp<const DisplayDevice>& displayDevice(mDisplays[dpy]); in logLayerStats()
1824 for (size_t dpy=0 ; dpy<mDisplays.size() ; dpy++) { in rebuildLayerStacks()
[all …]
DSurfaceFlinger.h610 return mDisplays.valueFor(dpy); in getDisplayDeviceLocked()
615 return mDisplays.valueFor(dpy); in getDisplayDeviceLocked()
820 DefaultKeyedVector< wp<IBinder>, sp<DisplayDevice> > mDisplays; variable
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp139 mDisplays.insert(display); in hotplugCallback()
1051 if (mDisplays.count(display) == 0) { in getBadDisplay()
1248 for (auto display : mDisplays) { in setLayerProperty()
1280 for (auto display : mDisplays) { in setLayerPropertyUpdate()
1313 for (auto display : mDisplays) { in setLayerProperties()
1351 for (auto display : mDisplays) { in setLayerPropertyBadLayer()
1390 for (auto display : mDisplays) { in setLayerPropertyBadParameter()
1419 for (auto display : mDisplays) { in displayLayers()
1461 for (auto display : mDisplays) { in displayNonValidatedLayers()
1504 for (auto display : mDisplays) { in setClientTargetSupport()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java85 private WifiDisplay[] mDisplays = WifiDisplay.EMPTY_ARRAY; field in WifiDisplayAdapter
112 pw.println("mDisplays=" + Arrays.toString(mDisplays)); in dumpLocked()
285 mActiveDisplay, mDisplays, mSessionInfo); in getWifiDisplayStatusLocked()
316 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp144 mDisplays.emplace(displayId, std::move(display)); in createVirtualDisplay()
152 mDisplays.erase(displayId); in destroyDisplay()
165 mDisplays.erase(displayId); in onHotplug()
182 mDisplays.emplace(displayId, std::move(newDisplay)); in onHotplug()
199 auto iter = mDisplays.find(id); in getDisplayById()
200 return iter == mDisplays.end() ? nullptr : iter->second.get(); in getDisplayById()
DHWC2.h121 std::unordered_map<hwc2_display_t, std::unique_ptr<Display>> mDisplays; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h116 auto& mutableDisplays() { return mFlinger->mDisplays; } in mutableDisplays()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt2548 Landroid/hardware/display/WifiDisplayStatus;->mDisplays:[Landroid/hardware/display/WifiDisplay;