Home
last modified time | relevance | path

Searched refs:DisplayManager (Results 1 – 25 of 59) 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;
103 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
104 int flags = isSecure ? DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE : 0; in createVirtualDisplay()
106 flags | DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR | in createVirtualDisplay()
107 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler, in createVirtualDisplay()
137 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
/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/support/compat/src/main/java/androidx/core/hardware/display/
DDisplayManagerCompat.java20 import android.hardware.display.DisplayManager;
84 return ((DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE)) in getDisplay()
104 return ((DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE)) in getDisplays()
132 return ((DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE)) in getDisplays()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java25 import android.hardware.display.DisplayManager;
71 private DisplayManager mDisplayManager;
82 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
140 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay()
168 DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testPublicPresentationVirtualDisplay()
169 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPublicPresentationVirtualDisplay()
221 DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE in testSecurePublicPresentationVirtualDisplay()
222 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testSecurePublicPresentationVirtualDisplay()
223 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testSecurePublicPresentationVirtualDisplay()
270 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBrightnessLimit.java20 import android.hardware.display.DisplayManager;
45 DisplayManager dm = getSystemService(DisplayManager.class); in onClick()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java13 import android.hardware.display.DisplayManager;
78 private final DisplayManager mDisplayManager;
106 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay()
294 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH; in startVirtualDisplay()
295 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT; in startVirtualDisplay()
296 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC; in startVirtualDisplay()
297 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in startVirtualDisplay()
298 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL; in startVirtualDisplay()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java25 import android.hardware.display.DisplayManager;
371 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
372 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR in applyVirtualDisplayFlags()
373 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
376 flags &= ~(DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
377 DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR); in applyVirtualDisplayFlags()
378 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY | in applyVirtualDisplayFlags()
379 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
382 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
383 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
[all …]
/frameworks/support/mediarouter/jellybean-mr1/androidx/mediarouter/media/
DMediaRouterJellybeanMr1.java20 import android.hardware.display.DisplayManager;
74 private final DisplayManager mDisplayManager;
85 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround()
88 mScanWifiDisplaysMethod = DisplayManager.class.getMethod("scanWifiDisplays"); in ActiveScanWorkaround()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/jellybean-mr1/
DMediaRouterJellybeanMr1.java20 import android.hardware.display.DisplayManager;
70 private final DisplayManager mDisplayManager;
81 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround()
84 mScanWifiDisplaysMethod = DisplayManager.class.getMethod("scanWifiDisplays"); in ActiveScanWorkaround()
/frameworks/base/core/java/android/app/
DPresentation.java25 import android.hardware.display.DisplayManager;
26 import android.hardware.display.DisplayManager.DisplayListener;
155 private final DisplayManager mDisplayManager;
189 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation()
DActivityView.java23 import android.hardware.display.DisplayManager;
331 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in initVirtualDisplay()
335 DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in initVirtualDisplay()
336 | DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY); in initVirtualDisplay()
/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
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_SECURE;
25 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH;
26 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT;
27 import static android.hardware.display.DisplayManager
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() {
DWifiDisplayAdapter.java26 import android.hardware.display.DisplayManager;
420 intent = new Intent(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED); in handleSendStatusChangeBroadcast()
422 intent.putExtra(DisplayManager.EXTRA_WIFI_DISPLAY_STATUS, in handleSendStatusChangeBroadcast()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java27 import android.hardware.display.DisplayManager;
115 private final DisplayManager.DisplayListener mDisplayListener =
116 new DisplayManager.DisplayListener() {
181 DisplayManager dm = (DisplayManager) phone.getContext().getSystemService( in DeviceStateMonitor()
531 final DisplayManager dm = (DisplayManager) mPhone.getContext().getSystemService( in isScreenOn()
/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/servicestests/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;
44 import android.hardware.display.DisplayManager;
332 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in createDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java41 import android.hardware.display.DisplayManager;
81 private DisplayManager mDisplayManager;
82 private DisplayManager.DisplayListener mDisplayListener;
112 mDisplayListener = new DisplayManager.DisplayListener() { in start()
130 mDisplayManager = (DisplayManager) mContext.getSystemService( in start()
410 public static class DisplayCutoutView extends View implements DisplayManager.DisplayListener,
439 mContext.getSystemService(DisplayManager.class).registerDisplayListener(this, in onAttachedToWindow()
447 mContext.getSystemService(DisplayManager.class).unregisterDisplayListener(this); in onDetachedFromWindow()
/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/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DOverlayDisplayWindow.java22 import android.hardware.display.DisplayManager;
197 private final DisplayManager mDisplayManager;
224 mDisplayManager = (DisplayManager)context.getSystemService( in JellybeanMr1Impl()
394 private final DisplayManager.DisplayListener mDisplayListener =
395 new DisplayManager.DisplayListener() {
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java22 import android.hardware.display.DisplayManager;
122 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH; in testCreateVirtualDisplay_sentToInputManager()
160 int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT; in testCreateVirtualDisplayRotatesWithContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java27 import android.hardware.display.DisplayManager;
75 private final DisplayManager mDisplayManager;
292 mDisplayManager = context.getSystemService(DisplayManager.class); in BrightnessController()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java43 public final class DisplayManager { class
300 public DisplayManager(Context context) { in DisplayManager() method in DisplayManager

123