Home
last modified time | relevance | path

Searched refs:getDisplays (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/
DDisplayUtils.kt43 val displays = displayManager.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED) in getDisplayIdsAndSizes()
78 return displayManager.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED).size in getNumberOfDisplaysAvailable()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DRefreshRateSettingsUtilsTest.java86 when(mDisplayManagerMock.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)) in setUp()
115 when(mDisplayManagerMock.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)) in testFindHighestRefreshRateAmongAllDisplays_NoDisplays()
/frameworks/base/services/core/java/com/android/server/display/mode/
DProximitySensorObserver.java69 for (Display d : mInjector.getDisplays()) { in observe()
81 final Display[] displays = mInjector.getDisplays(); in recalculateVotesLocked()
DSkinThermalStatusObserver.java148 Display[] displays = mInjector.getDisplays(); in populateInitialDisplayInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java117 for (Display display : mDisplayManager.getDisplays( in DisplayDensityUtils()
268 for (Display display : mDisplayManager.getDisplays( in clearForcedDisplayDensity()
302 for (Display display : mDisplayManager.getDisplays( in setForcedDisplayDensity()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java663 public Display[] getDisplays() { in getDisplays() method in DisplayManager
664 return getDisplays(null); in getDisplays()
683 public Display[] getDisplays(String category) { in getDisplays() method in DisplayManager
688 return getDisplays(displayIds, DisplayManager::isPresentationDisplay); in getDisplays()
690 return getDisplays(displayIds, DisplayManager::isRearDisplay); in getDisplays()
692 return getDisplays(displayIds, Objects::nonNull); in getDisplays()
697 private Display[] getDisplays(int[] displayIds, Predicate<Display> predicate) { in getDisplays() method in DisplayManager
DWifiDisplayStatus.java170 public WifiDisplay[] getDisplays() { in getDisplays() method in WifiDisplayStatus
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java274 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered()
278 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered()
282 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered()
289 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayUnregistered()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
DDisplayRepositoryTest.kt76 verify(displayManager, never()).getDisplays(any()) in <lambda>()
363 verify(displayManager, never()).getDisplays(any()) in <lambda>()
367 verify(displayManager).getDisplays(any()) in <lambda>()
546 displayManager.getDisplays( in <lambda>()
/frameworks/base/core/java/com/android/internal/display/
DRefreshRateSettingsUtils.java70 final Display[] displays = dm.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED); in findHighestRefreshRateAmongAllDisplays()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/
DDisplayRepository.kt143 .map { getDisplays() } in <lambda>()
192 private fun getDisplays(): Set<Display> = in getDisplays() method
201 .getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED) in getInitialConnectedDisplays()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DRearDisplayPresentationRequestCallback.java55 Display[] rearDisplays = mDisplayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_REAR); in onRequestActivated()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDisplayHelper.java170 Display[] getDisplays() { in getDisplays() method in WallpaperDisplayHelper
171 return mDisplayManager.getDisplays(); in getDisplays()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java100 return getDisplays(); in onCommand()
190 private int getDisplays() { in getDisplays() method in DisplayManagerShellCommand
240 Display[] displays = dm.getDisplays(category); in getDisplays()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DProximitySensorObserverTest.java108 public Display[] getDisplays() { in getDisplays() method in ProximitySensorObserverTest.FakesInjector
DSkinThermalStatusObserverTest.java260 public Display[] getDisplays() { in getDisplays() method in SkinThermalStatusObserverTest.RegisteringFakesInjector
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DFoldableDeviceStateProviderTest.java470 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{mDefaultDisplay}); in test_dualScreenDisabledWhenExternalScreenIsConnected()
496 when(mDisplayManager.getDisplays()) in test_dualScreenDisabledWhenExternalScreenIsConnected()
513 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{mDefaultDisplay}); in test_dualScreenDisabledWhenExternalScreenIsConnected()
528 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{mDefaultDisplay}); in test_notifySupportedStatesChangedCalledOnlyOnInitialExternalScreenAddition()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceInjectorTest.java158 when(mDisplayManager.getDisplays()).thenReturn(displays); in mockGetDisplays()
/frameworks/base/media/lib/remotedisplay/api/
Dsystem-current.txt37 method public java.util.Collection<com.android.media.remotedisplay.RemoteDisplay> getDisplays();
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiTestableContext.java66 Display display = getBaseContext().getSystemService(DisplayManager.class).getDisplays()[0]; in createDefaultDisplayContext()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java152 item.setVisible(mDisplayManager.getDisplays().length > 1); in updateMultiDisplayMenu()
/frameworks/base/services/core/java/com/android/server/input/
DPointerIconCache.java103 final Display[] displays = displayManager.getDisplays(); in systemRunning()
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java233 public Collection<RemoteDisplay> getDisplays() { in getDisplays() method in RemoteDisplayProvider
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarLaunchOnPrivateDisplayActivityInterceptor.java228 for (Display display : mDisplayManager.getDisplays()) { in getLogicalDisplayId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFullscreenLightRevealAnimation.kt89 .getDisplays(DisplayManager.DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)

12