Home
last modified time | relevance | path

Searched refs:DisplayManager (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/native/libs/vr/libvrflinger/
Ddisplay_manager_service.h18 class DisplayManager : public pdx::Channel {
20 DisplayManager(DisplayManagerService* service, int channel_id) in DisplayManager() function
32 DisplayManager(const DisplayManager&) = delete;
33 void operator=(const DisplayManager&) = delete;
68 std::shared_ptr<DisplayManager> display_manager_;
Ddisplay_manager_service.cpp25 void DisplayManager::SetNotificationsPending(bool pending) { in SetNotificationsPending()
64 std::make_shared<DisplayManager>(this, message.GetChannelId()); in OnChannelOpen()
77 auto channel = std::static_pointer_cast<DisplayManager>(message.GetChannel()); in HandleMessage()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java22 import android.hardware.display.DisplayManager;
102 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
103 int flags = isSecure ? DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE : 0; in createVirtualDisplay()
105 flags | DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR | in createVirtualDisplay()
106 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler, in createVirtualDisplay()
136 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java12 import android.hardware.display.DisplayManager;
74 private final DisplayManager mDisplayManager;
102 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay()
291 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH; in startVirtualDisplay()
292 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT; in startVirtualDisplay()
293 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC; in startVirtualDisplay()
294 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in startVirtualDisplay()
295 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL; in startVirtualDisplay()
296 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE; in startVirtualDisplay()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java20 import android.hardware.display.DisplayManager;
67 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in enable()
73 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in disable()
116 final static class AudioDisplayListener implements DisplayManager.DisplayListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java24 import android.hardware.display.DisplayManager;
74 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay()
107 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in isDisplayOn()
/frameworks/base/core/tests/coretests/src/android/os/
DBrightnessLimit.java20 import android.hardware.display.DisplayManager;
44 DisplayManager dm = getSystemService(DisplayManager.class); in onClick()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java70 private DisplayManager mDisplayManager;
81 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
139 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay()
167 DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testPublicPresentationVirtualDisplay()
168 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPublicPresentationVirtualDisplay()
220 DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE in testSecurePublicPresentationVirtualDisplay()
221 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testSecurePublicPresentationVirtualDisplay()
222 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testSecurePublicPresentationVirtualDisplay()
269 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
273 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java28 import android.hardware.display.DisplayManager;
439 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
440 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR in applyVirtualDisplayFlags()
441 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
444 flags &= ~(DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
445 DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR); in applyVirtualDisplayFlags()
446 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY | in applyVirtualDisplayFlags()
447 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
450 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
451 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java19 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR;
20 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_CAN_SHOW_WITH_INSECURE_K…
21 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOV…
22 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION;
23 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC;
24 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT;
25 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE;
26 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECOR…
27 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH;
DOverlayDisplayWindow.java23 import android.hardware.display.DisplayManager;
72 private final DisplayManager mDisplayManager;
107 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow()
289 private final DisplayManager.DisplayListener mDisplayListener =
290 new DisplayManager.DisplayListener() {
DBrightnessTracker.java38 import android.hardware.display.DisplayManager;
894 private final class DisplayListener implements DisplayManager.DisplayListener {
1115 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getFrameRate()
1135 DisplayManager.DisplayListener listener, Handler handler) { in registerDisplayListener()
1136 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener()
1141 DisplayManager.DisplayListener listener) { in unRegisterDisplayListener()
1142 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in unRegisterDisplayListener()
DDisplayModeDirector.java24 import android.hardware.display.DisplayManager;
608 private final class DisplayObserver implements DisplayManager.DisplayListener {
621 DisplayManager dm = mContext.getSystemService(DisplayManager.class); in observe()
663 Display d = mContext.getSystemService(DisplayManager.class).getDisplay(displayId); in updateDisplayModes()
/frameworks/base/core/java/android/app/
DPresentation.java27 import android.hardware.display.DisplayManager;
28 import android.hardware.display.DisplayManager.DisplayListener;
159 private final DisplayManager mDisplayManager;
193 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation()
DActivityView.java19 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOV…
20 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
21 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC;
33 import android.hardware.display.DisplayManager;
495 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in initVirtualDisplay()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java27 import android.hardware.display.DisplayManager;
182 private final DisplayManager.DisplayListener mDisplayListener =
183 new DisplayManager.DisplayListener() {
248 DisplayManager dm = (DisplayManager) phone.getContext().getSystemService( in DeviceStateMonitor()
645 final DisplayManager dm = (DisplayManager) mPhone.getContext().getSystemService( in isScreenOn()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java24 import android.hardware.display.DisplayManager;
47 private final DisplayManager mDisplayService;
59 private final DisplayManager.DisplayListener mDisplayListener =
60 new DisplayManager.DisplayListener() {
95 mDisplayService = mContext.getSystemService(DisplayManager.class); in KeyguardDisplayManager()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java27 import android.hardware.display.DisplayManager;
39 public class BurnInProtectionHelper implements DisplayManager.DisplayListener,
118 DisplayManager displayManager = in BurnInProtectionHelper()
119 (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in BurnInProtectionHelper()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java21 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
22 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION;
49 import android.hardware.display.DisplayManager;
340 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in createDisplay()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java24 import android.hardware.display.DisplayManager;
49 private final DisplayManager mDisplayManager;
62 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in DisplaySourceService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java25 import android.hardware.display.DisplayManager;
62 private final DisplayManager mDisplayManager;
72 mDisplayManager = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in NavigationBarController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java36 import android.hardware.display.DisplayManager;
117 DisplayManager displayManager = mock(DisplayManager.class); in initializeDisplayManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java28 import android.hardware.display.DisplayManager;
29 import android.hardware.display.DisplayManager.DisplayListener;
236 mContext.getSystemService(DisplayManager.class).unregisterDisplayListener(this); in updateIsEnabled()
248 mContext.getSystemService(DisplayManager.class).registerDisplayListener(this, in updateIsEnabled()
434 mContext.getSystemService(DisplayManager.class) in updateDisplaySize()
/frameworks/base/core/java/android/view/
DPointerIcon.java34 import android.hardware.display.DisplayManager;
172 private static DisplayManager.DisplayListener sDisplayListener;
605 sDisplayListener = new DisplayManager.DisplayListener() { in registerDisplayListener()
621 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java28 import android.hardware.display.DisplayManager;
132 mContext.getSystemService(DisplayManager.class).getDisplay(Display.DEFAULT_DISPLAY) in splitPrimaryTask()

123