Home
last modified time | relevance | path

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

/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java94 private final SparseBooleanArray mExternalDisplaysConnected = new SparseBooleanArray(); field in FoldableDeviceStateProvider
380 && !mExternalDisplaysConnected.get(displayId, false)) { in onDisplayAdded()
385 mExternalDisplaysConnected.put(displayId, true); in onDisplayAdded()
388 if (mExternalDisplaysConnected.size() == 1) { in onDisplayAdded()
399 if (mIsDualDisplayBlockingEnabled && mExternalDisplaysConnected.get(displayId, false)) { in onDisplayRemoved()
400 mExternalDisplaysConnected.delete(displayId); in onDisplayRemoved()
403 if (mExternalDisplaysConnected.size() == 0) { in onDisplayRemoved()
570 return mExternalDisplaysConnected.size() == 0;
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java1380 private final Set<Integer> mExternalDisplaysConnected = new HashSet<>(); field in DisplayModeDirector.DisplayObserver
1475 return mExternalDisplaysConnected.contains(displayId); in isExternalDisplayLocked()
1567 mExternalDisplaysConnected.add(info.displayId); in addDisplaysSynchronizedPeakRefreshRate()
1568 if (mExternalDisplaysConnected.size() != 1) { in addDisplaysSynchronizedPeakRefreshRate()
1589 mExternalDisplaysConnected.remove(displayId); in removeDisplaysSynchronizedPeakRefreshRate()
1590 if (mExternalDisplaysConnected.size() != 0) { in removeDisplaysSynchronizedPeakRefreshRate()