Home
last modified time | relevance | path

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

1234

/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;
103 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
104 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR in createVirtualDisplay()
105 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in createVirtualDisplay()
107 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE; in createVirtualDisplay()
171 DisplayManager dm = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java19 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
20 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC;
32 import android.hardware.display.DisplayManager;
82 final DisplayManager dm = testContext.getSystemService(DisplayManager.class); in testDisplayIdForDefaultDisplayContext()
161 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in verifyGetDisplayFromDisplayContextDerivedContext()
173 private static Display getSecondaryDisplay(DisplayManager displayManager) { in getSecondaryDisplay()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java12 import android.hardware.display.DisplayManager;
75 private final DisplayManager mDisplayManager;
103 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay()
292 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH; in startVirtualDisplay()
293 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT; in startVirtualDisplay()
294 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC; in startVirtualDisplay()
295 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in startVirtualDisplay()
296 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL; in startVirtualDisplay()
297 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()
117 final static class AudioDisplayListener implements DisplayManager.DisplayListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java23 import android.hardware.display.DisplayManager;
76 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay()
109 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/view/inputmethod/
DInputMethodManagerTest.java25 import android.hardware.display.DisplayManager;
48 final DisplayManager dm = testContext.getSystemService(DisplayManager.class); in testPrivateApiGetInstance()
/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.java29 import android.hardware.display.DisplayManager;
442 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
443 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR in applyVirtualDisplayFlags()
444 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
447 flags &= ~(DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
448 DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR); in applyVirtualDisplayFlags()
449 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY | in applyVirtualDisplayFlags()
450 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
453 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
454 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;
28 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_TRUSTED;
DOverlayDisplayWindow.java23 import android.hardware.display.DisplayManager;
72 private final DisplayManager mDisplayManager;
107 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow()
290 private final DisplayManager.DisplayListener mDisplayListener =
291 new DisplayManager.DisplayListener() {
/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()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java21 import android.hardware.display.DisplayManager;
75 DisplayManager dm = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onReceive()
/frameworks/base/core/java/android/window/
DVirtualDisplayTaskEmbedder.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;
35 import android.hardware.display.DisplayManager;
98 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in onInitialize()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/sideloaded/
DSideLoadedAppListener.java24 import android.hardware.display.DisplayManager;
40 private DisplayManager mDisplayManager;
47 DisplayManager displayManager, in SideLoadedAppListener()
/frameworks/opt/car/services/src/com/android/server/wm/
DCarLaunchParamsModifier.java25 import android.hardware.display.DisplayManager;
59 private DisplayManager mDisplayManager; // set only from init()
94 final DisplayManager.DisplayListener mDisplayListener =
95 new DisplayManager.DisplayListener() {
137 mDisplayManager = mContext.getSystemService(DisplayManager.class); in init()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java27 import android.hardware.display.DisplayManager;
76 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate()
DFakeApp.java32 import android.hardware.display.DisplayManager;
104 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java24 import android.hardware.display.DisplayManager;
48 private final DisplayManager mDisplayService;
60 private final DisplayManager.DisplayListener mDisplayListener =
61 new DisplayManager.DisplayListener() {
97 mDisplayService = mContext.getSystemService(DisplayManager.class); in KeyguardDisplayManager()
/frameworks/base/core/tests/coretests/src/android/app/
DWindowContextTest.java26 import android.hardware.display.DisplayManager;
59 final Display display = instContext.getSystemService(DisplayManager.class) in testWindowContextRelease_doRemoveWindowToken()
/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/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java29 import android.hardware.display.DisplayManager;
61 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java29 import android.hardware.display.DisplayManager;
201 private final DisplayManager.DisplayListener mDisplayListener =
202 new DisplayManager.DisplayListener() {
275 DisplayManager dm = (DisplayManager) phone.getContext().getSystemService( in DeviceStateMonitor()
708 final DisplayManager dm = (DisplayManager) mPhone.getContext().getSystemService( in isScreenOn()

1234