Home
last modified time | relevance | path

Searched refs:DisplayDevice (Results 1 – 25 of 46) sorted by relevance

12

/aosp12/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp64 DisplayDevice::DisplayDevice(DisplayDeviceCreationArgs& args) in DisplayDevice() function in android::DisplayDevice
112 DisplayDevice::~DisplayDevice() = default;
114 void DisplayDevice::disconnect() { in disconnect()
118 int DisplayDevice::getWidth() const { in getWidth()
122 int DisplayDevice::getHeight() const { in getHeight()
156 bool DisplayDevice::isPoweredOn() const { in isPoweredOn()
331 DisplayId DisplayDevice::getId() const { in getId()
335 bool DisplayDevice::isSecure() const { in isSecure()
383 bool DisplayDevice::hasHLGSupport() const { in hasHLGSupport()
439 void DisplayDevice::onInvalidate() { in onInvalidate()
[all …]
H A DDisplayRenderArea.h26 class DisplayDevice; variable
30 static std::unique_ptr<RenderArea> create(wp<const DisplayDevice>, const Rect& sourceCrop,
40 sp<const DisplayDevice> getDisplayDevice() const override;
45 DisplayRenderArea(sp<const DisplayDevice>, const Rect& sourceCrop, ui::Size reqSize,
48 const sp<const DisplayDevice> mDisplay;
H A DDisplayRenderArea.cpp24 const DisplayDevice& display) { in applyDeviceOrientation()
34 std::unique_ptr<RenderArea> DisplayRenderArea::create(wp<const DisplayDevice> displayWeak, in create()
48 DisplayRenderArea::DisplayRenderArea(sp<const DisplayDevice> display, const Rect& sourceCrop, in DisplayRenderArea()
76 sp<const DisplayDevice> DisplayRenderArea::getDisplayDevice() const { in getDisplayDevice()
H A DSurfaceFlinger.h461 using ActiveModeInfo = DisplayDevice::ActiveModeInfo;
795 const sp<DisplayDevice>& display,
821 void initScheduler(const sp<DisplayDevice>& display) REQUIRES(mStateLock);
959 sp<const DisplayDevice> getDisplayDeviceLocked(PhysicalDisplayId id) const in getDisplayDeviceLocked()
975 sp<DisplayDevice> getDefaultDisplayDeviceLocked() REQUIRES(mStateLock) { in getDefaultDisplayDeviceLocked()
987 sp<const DisplayDevice> getDefaultDisplayDevice() const EXCLUDES(mStateLock) { in getDefaultDisplayDevice()
994 sp<DisplayDevice> findDisplay(Predicate p) const REQUIRES(mStateLock) { in findDisplay()
1048 sp<DisplayDevice> setupNewDisplayDeviceInternal(
1142 void onActiveDisplaySizeChanged(const sp<DisplayDevice>& activeDisplay);
1218 void updateInternalDisplayVsyncLocked(const sp<DisplayDevice>& activeDisplay)
[all …]
H A DLayer.h69 class DisplayDevice; variable
468 Region getVisibleRegion(const DisplayDevice*) const;
512 virtual bool needsFiltering(const DisplayDevice*) const { return false; } in needsFiltering() argument
523 virtual bool needsFilteringForScreenshots(const DisplayDevice*, const ui::Transform&) const { in needsFilteringForScreenshots() argument
541 virtual bool onPostComposition(const DisplayDevice*, in onPostComposition() argument
692 LayerProto* writeToProto(LayersProto& layersProto, uint32_t traceFlags, const DisplayDevice*);
746 LayerDebugInfo getLayerDebugInfo(const DisplayDevice*) const;
748 void miniDump(std::string& result, const DisplayDevice&) const;
857 gui::WindowInfo fillInputInfo(const sp<DisplayDevice>& display);
960 compositionengine::OutputLayer* findOutputLayerForDisplay(const DisplayDevice*) const;
[all …]
H A DLayerRenderArea.h29 class DisplayDevice; variable
45 sp<const DisplayDevice> getDisplayDevice() const override;
H A DBufferLayer.h80 bool onPostComposition(const DisplayDevice*, const std::shared_ptr<FenceTime>& glDoneFence,
212 bool needsFiltering(const DisplayDevice*) const override;
213 bool needsFilteringForScreenshots(const DisplayDevice*,
H A DRenderArea.h10 class DisplayDevice; variable
83 virtual sp<const DisplayDevice> getDisplayDevice() const = 0;
H A DDisplayDevice.h70 class DisplayDevice : public RefBase {
76 explicit DisplayDevice(DisplayDeviceCreationArgs& args);
79 virtual ~DisplayDevice();
362 bool operator()(const DisplayDevice& display) const { in operator()
H A DSurfaceFlingerFactory.h38 class DisplayDevice; variable
88 virtual sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&) = 0;
H A DSurfaceFlingerDefaultFactory.cpp82 sp<DisplayDevice> DefaultFactory::createDisplayDevice(DisplayDeviceCreationArgs& creationArgs) { in createDisplayDevice()
83 return new DisplayDevice(creationArgs); in createDisplayDevice()
H A DBufferLayer.cpp243 uint32_t transform = DisplayDevice::getPrimaryDisplayRotationFlags(); in prepareClientComposition()
377 bool BufferLayer::onPostComposition(const DisplayDevice* display, in onPostComposition()
609 bool BufferLayer::needsFiltering(const DisplayDevice* display) const { in needsFiltering()
624 bool BufferLayer::needsFilteringForScreenshots(const DisplayDevice* display, in needsFilteringForScreenshots()
680 uint32_t invTransform = DisplayDevice::getPrimaryDisplayRotationFlags(); in getBufferSize()
712 uint32_t invTransform = DisplayDevice::getPrimaryDisplayRotationFlags(); in computeSourceBounds()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceRepository.java51 private final List<DisplayDevice> mDisplayDevices = new ArrayList<>();
77 public void onDisplayDeviceEvent(DisplayDevice device, int event) { in onDisplayDeviceEvent()
101 public boolean containsLocked(DisplayDevice d) { in containsLocked()
109 public void forEachLocked(Consumer<DisplayDevice> consumer) { in forEachLocked()
118 final DisplayDevice device = mDisplayDevices.get(i); in getByAddressLocked()
127 public DisplayDevice getByUniqueIdLocked(@NonNull String uniqueId) { in getByUniqueIdLocked()
129 final DisplayDevice displayDevice = mDisplayDevices.get(i); in getByUniqueIdLocked()
137 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded()
152 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged()
182 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved()
[all …]
H A DLogicalDisplay.java126 private DisplayDevice mPrimaryDisplayDevice;
184 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay()
206 public DisplayDevice getPrimaryDisplayDeviceLocked() { in getPrimaryDisplayDeviceLocked()
513 DisplayDevice device, in configureDisplayLocked()
738 final DisplayDevice oldTargetDevice = in swapDisplaysLocked()
749 public DisplayDevice setPrimaryDisplayDeviceLocked(@Nullable DisplayDevice device) { in setPrimaryDisplayDeviceLocked()
750 final DisplayDevice old = mPrimaryDisplayDevice; in setPrimaryDisplayDeviceLocked()
H A DLogicalDisplayMapper.java173 public void onDisplayDeviceEventLocked(DisplayDevice device, int event) { in onDisplayDeviceEventLocked()
208 public LogicalDisplay getDisplayLocked(DisplayDevice device) { in getDisplayLocked()
341 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked(); in areAllTransitioningDisplaysOffLocked()
375 private void handleDisplayDeviceAddedLocked(DisplayDevice device) { in handleDisplayDeviceAddedLocked()
532 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked(); in sendUpdatesForDisplaysLocked()
620 final DisplayDevice device = logicalDisplay.getPrimaryDisplayDeviceLocked(); in resetLayoutLocked()
682 final DisplayDevice device = mDisplayDeviceRepo.getByAddressLocked(address); in applyLayoutLocked()
721 private LogicalDisplay createNewLogicalDisplayLocked(DisplayDevice device, int displayId) { in createNewLogicalDisplayLocked()
749 private void initializeInternalDisplayDeviceLocked(DisplayDevice device) { in initializeInternalDisplayDeviceLocked()
H A DDisplayAdapter.java111 final DisplayDevice device, final int event) { in sendDisplayDeviceEventLocked()
133 void onDisplayDeviceEvent(DisplayDevice device, int event); in onDisplayDeviceEvent()
H A DDisplayManagerService.java1169 DisplayDevice device =
1250 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked();
1328 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked();
1351 private Runnable updateDisplayStateLocked(DisplayDevice device) {
1532 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked();
1881 final DisplayDevice device = display.getPrimaryDisplayDeviceLocked();
2170 private DisplayDevice getDeviceForDisplayLocked(int displayId) {
2863 final DisplayDevice displayDevice =
3431 final DisplayDevice device = getDeviceForDisplayLocked(displayId);
3442 final DisplayDevice device;
[all …]
H A DDisplayDevice.java39 abstract class DisplayDevice { class
62 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId, in DisplayDevice() method in DisplayDevice
H A DPersistentDataStore.java247 public int getColorMode(DisplayDevice device) { in getColorMode()
258 public boolean setColorMode(DisplayDevice device, int colorMode) { in setColorMode()
270 public float getBrightness(DisplayDevice device) { in getBrightness()
281 public boolean setBrightness(DisplayDevice displayDevice, float brightness) { in setBrightness()
318 DisplayDevice device, int userSerial, String packageName) { in setBrightnessConfigurationForDisplayLocked()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DLogicalDisplayMapperTest.java120 DisplayDevice device = createDisplayDevice(Display.TYPE_INTERNAL, 600, 800, in testDisplayDeviceAddAndRemove_Internal()
152 DisplayDevice device1 = createDisplayDevice(Display.TYPE_INTERNAL, 600, 800, 0); in testDisplayDeviceAdd_TwoInternalOneDefault()
153 DisplayDevice device2 = createDisplayDevice(Display.TYPE_INTERNAL, 600, 800, in testDisplayDeviceAdd_TwoInternalOneDefault()
167 DisplayDevice device1 = createDisplayDevice(Display.TYPE_INTERNAL, 600, 800, in testDisplayDeviceAdd_TwoInternalBothDefault()
169 DisplayDevice device2 = createDisplayDevice(Display.TYPE_INTERNAL, 600, 800, in testDisplayDeviceAdd_TwoInternalBothDefault()
262 private DisplayDeviceInfo info(DisplayDevice device) { in info()
274 private LogicalDisplay add(DisplayDevice device) { in add()
285 DisplayDevice device = createDisplayDevice(type, 600, 800, 0); in testDisplayDeviceAddAndRemove_NonInternal()
310 class TestDisplayDevice extends DisplayDevice {
H A DPersistentDataStoreTest.java163 DisplayDevice testDisplayDevice = new DisplayDevice(null, null, uniqueDisplayId, null) { in testStoreAndReloadOfDisplayBrightnessConfigurations()
208 DisplayDevice testDisplayDevice = new DisplayDevice(null, null, uniqueDisplayId, null) { in testSetBrightnessConfigurationFailsWithUnstableId()
H A DLogicalDisplayTest.java47 private DisplayDevice mDisplayDevice;
53 mDisplayDevice = mock(DisplayDevice.class); in setUp()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
H A DLocalDisplayAdapterTest.java272 DisplayDevice displayDevice = in testAlternativeRefreshRatesCommon()
379 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_DisplayModesAreUpdated()
427 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_ActiveModeIsUpdated()
466 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
500 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_AllmSupportIsUpdated()
534 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_GameContentTypeSupportIsUpdated()
571 DisplayDevice displayDevice = mListener.changedDisplays.get(0); in testAfterDisplayChange_ColorModesAreUpdated()
595 DisplayDevice displayDevice = mListener.addedDisplays.get(0); in testDisplayChange_withStaleDesiredDisplayModeSpecs()
883 public ArrayList<DisplayDevice> addedDisplays = new ArrayList<>();
884 public ArrayList<DisplayDevice> changedDisplays = new ArrayList<>();
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTestableSurfaceFlinger.h98 sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs& creationArgs) override { in createDisplayDevice()
99 return new DisplayDevice(creationArgs); in createDisplayDevice()
268 const sp<const DisplayDevice>& display) { in findOutputLayerForDisplay()
341 auto setPowerModeInternal(const sp<DisplayDevice>& display, in setPowerModeInternal()
730 sp<DisplayDevice> inject() NO_THREAD_SAFETY_ANALYSIS { in inject()
744 sp<DisplayDevice> device = new DisplayDevice(mCreationArgs); in inject()
H A DDisplayTransactionTest.cpp123 sp<DisplayDevice> DisplayTransactionTest::injectDefaultInternalDisplay( in injectDefaultInternalDisplay()
182 sp<DisplayDevice> DisplayTransactionTest::getDisplayDevice(sp<IBinder> displayToken) { in getDisplayDevice()

12