/frameworks/native/libs/vr/libvrflinger/ |
D | display_manager_service.h | 18 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_;
|
D | display_manager_service.cpp | 25 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/ |
D | MediaProjection.java | 22 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/ |
D | RotationHelper.java | 20 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/ |
D | DisplayManagerCompat.java | 20 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/ |
D | VirtualDisplayTest.java | 25 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/ |
D | BrightnessLimit.java | 20 import android.hardware.display.DisplayManager; 45 DisplayManager dm = getSystemService(DisplayManager.class); in onClick()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 13 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/ |
D | MediaProjectionManagerService.java | 25 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/ |
D | MediaRouterJellybeanMr1.java | 20 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/ |
D | MediaRouterJellybeanMr1.java | 20 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/ |
D | Presentation.java | 25 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()
|
D | ActivityView.java | 23 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/ |
D | VirtualDisplayAdapter.java | 19 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
|
D | OverlayDisplayWindow.java | 23 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() {
|
D | WifiDisplayAdapter.java | 26 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/ |
D | DeviceStateMonitor.java | 27 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/ |
D | BurnInProtectionHelper.java | 27 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/ |
D | ScreenDecorWindowTests.java | 21 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/ |
D | ScreenDecorations.java | 41 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/ |
D | DisplaySourceService.java | 24 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/ |
D | OverlayDisplayWindow.java | 22 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/ |
D | DisplayManagerServiceTest.java | 22 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/ |
D | BrightnessController.java | 27 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/ |
D | DisplayManager.java | 43 public final class DisplayManager { class 300 public DisplayManager(Context context) { in DisplayManager() method in DisplayManager
|