/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/ |
D | DisplayUtils.kt | 43 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/ |
D | RefreshRateSettingsUtilsTest.java | 86 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/ |
D | ProximitySensorObserver.java | 69 for (Display d : mInjector.getDisplays()) { in observe() 81 final Display[] displays = mInjector.getDisplays(); in recalculateVotesLocked()
|
D | SkinThermalStatusObserver.java | 148 Display[] displays = mInjector.getDisplays(); in populateInitialDisplayInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 117 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/ |
D | DisplayManager.java | 663 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
|
D | WifiDisplayStatus.java | 170 public WifiDisplay[] getDisplays() { in getDisplays() method in WifiDisplayStatus
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 274 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/ |
D | DisplayRepositoryTest.kt | 76 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/ |
D | RefreshRateSettingsUtils.java | 70 final Display[] displays = dm.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED); in findHighestRefreshRateAmongAllDisplays()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/ |
D | DisplayRepository.kt | 143 .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/ |
D | RearDisplayPresentationRequestCallback.java | 55 Display[] rearDisplays = mDisplayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_REAR); in onRequestActivated()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDisplayHelper.java | 170 Display[] getDisplays() { in getDisplays() method in WallpaperDisplayHelper 171 return mDisplayManager.getDisplays(); in getDisplays()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 100 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/ |
D | ProximitySensorObserverTest.java | 108 public Display[] getDisplays() { in getDisplays() method in ProximitySensorObserverTest.FakesInjector
|
D | SkinThermalStatusObserverTest.java | 260 public Display[] getDisplays() { in getDisplays() method in SkinThermalStatusObserverTest.RegisteringFakesInjector
|
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/ |
D | FoldableDeviceStateProviderTest.java | 470 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/ |
D | ActivityManagerServiceInjectorTest.java | 158 when(mDisplayManager.getDisplays()).thenReturn(displays); in mockGetDisplays()
|
/frameworks/base/media/lib/remotedisplay/api/ |
D | system-current.txt | 37 method public java.util.Collection<com.android.media.remotedisplay.RemoteDisplay> getDisplays();
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | SysuiTestableContext.java | 66 Display display = getBaseContext().getSystemService(DisplayManager.class).getDisplays()[0]; in createDefaultDisplayContext()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 152 item.setVisible(mDisplayManager.getDisplays().length > 1); in updateMultiDisplayMenu()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PointerIconCache.java | 103 final Display[] displays = displayManager.getDisplays(); in systemRunning()
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
D | RemoteDisplayProvider.java | 233 public Collection<RemoteDisplay> getDisplays() { in getDisplays() method in RemoteDisplayProvider
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarLaunchOnPrivateDisplayActivityInterceptor.java | 228 for (Display display : mDisplayManager.getDisplays()) { in getLogicalDisplayId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FullscreenLightRevealAnimation.kt | 89 .getDisplays(DisplayManager.DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)
|