Searched refs:hwcDisplayId (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 39 #define LOG_HWC_DISPLAY_ERROR(hwcDisplayId, msg) \ argument 40 ALOGE("%s failed for HWC display %" PRIu64 ": %s", __FUNCTION__, hwcDisplayId, msg) 86 bool HWComposer::getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData() argument 88 const auto error = mHwcDevice->getDisplayIdentificationData(hwcDisplayId, outPort, outData); in getDisplayIdentificationData() 91 LOG_HWC_DISPLAY_ERROR(hwcDisplayId, to_string(error).c_str()); in getDisplayIdentificationData() 141 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hwc2_display_t hwcDisplayId, in onHotplug() argument 145 if (const auto displayId = toPhysicalDisplayId(hwcDisplayId)) { in onHotplug() 149 ALOGE("Ignoring disconnection of invalid HWC display %" PRIu64, hwcDisplayId); in onHotplug() 153 info = onHotplugConnect(hwcDisplayId); in onHotplug() 158 hwcDisplayId == mInternalHwcDisplayId ? "internal" : "external", in onHotplug() [all …]
|
D | HWComposer.h | 58 virtual bool getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, 150 virtual std::optional<DisplayIdentificationInfo> onHotplug(hwc2_display_t hwcDisplayId, 153 virtual bool onVsync(hwc2_display_t hwcDisplayId, int64_t timestamp) = 0; 183 virtual std::optional<DisplayId> toPhysicalDisplayId(hwc2_display_t hwcDisplayId) const = 0; 197 bool getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, 283 std::optional<DisplayIdentificationInfo> onHotplug(hwc2_display_t hwcDisplayId, 286 bool onVsync(hwc2_display_t hwcDisplayId, int64_t timestamp) override; 320 std::optional<DisplayId> toPhysicalDisplayId(hwc2_display_t hwcDisplayId) const override; 327 std::optional<DisplayIdentificationInfo> onHotplugConnect(hwc2_display_t hwcDisplayId);
|
D | HWC2.cpp | 126 Error Device::getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData() argument 128 auto intError = mComposer->getDisplayIdentificationData(hwcDisplayId, outPort, outData); in getDisplayIdentificationData()
|
D | HWC2.h | 96 Error getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort,
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 493 void onVsyncReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, 495 void onHotplugReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, 497 void onRefreshReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId) override; 848 const auto hwcDisplayId = getHwComposer().getInternalHwcDisplayId(); in getInternalDisplayIdLocked() local 849 return hwcDisplayId ? getHwComposer().toPhysicalDisplayId(*hwcDisplayId) : std::nullopt; in getInternalDisplayIdLocked() 1004 hwc2_display_t hwcDisplayId; member
|
D | SurfaceFlinger.cpp | 1414 void SurfaceFlinger::onVsyncReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, in onVsyncReceived() argument 1424 if (!getHwComposer().onVsync(hwcDisplayId, timestamp)) { in onVsyncReceived() 1428 if (hwcDisplayId != getHwComposer().getInternalHwcDisplayId()) { in onVsyncReceived() 1468 void SurfaceFlinger::onHotplugReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, in onHotplugReceived() argument 1470 ALOGV("%s(%d, %" PRIu64 ", %s)", __FUNCTION__, sequenceId, hwcDisplayId, in onHotplugReceived() 1484 mPendingHotplugEvents.emplace_back(HotplugEvent{hwcDisplayId, connection}); in onHotplugReceived() 2557 getHwComposer().onHotplug(event.hwcDisplayId, event.connection); in processDisplayHotplugEventsLocked() 2566 if (event.hwcDisplayId == getHwComposer().getInternalHwcDisplayId()) { in processDisplayHotplugEventsLocked() 4848 const auto hwcDisplayId = getHwComposer().fromPhysicalDisplayId(*displayId); in dumpDisplayIdentificationData() local 4849 if (!hwcDisplayId) { in dumpDisplayIdentificationData() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 111 bool hasPhysicalHwcDisplay(hwc2_display_t hwcDisplayId); 241 bool DisplayTransactionTest::hasPhysicalHwcDisplay(hwc2_display_t hwcDisplayId) { in hasPhysicalHwcDisplay() argument 242 return mFlinger.mutableHwcPhysicalDisplayIdMap().count(hwcDisplayId) == 1; in hasPhysicalHwcDisplay() 412 template <hwc2_display_t hwcDisplayId, HWC2::DisplayType hwcDisplayType, typename DisplayVariant, 416 static constexpr hwc2_display_t HWC_DISPLAY_ID = hwcDisplayId; 509 template <hwc2_display_t hwcDisplayId, typename PhysicalDisplay, int width, int height, 514 HwcDisplayVariant<hwcDisplayId, HWC2::DisplayType::Physical, 922 EXPECT_EQ(hwcDisplayId1, pendingEvents[0].hwcDisplayId); in TEST_F() 924 EXPECT_EQ(hwcDisplayId2, pendingEvents[1].hwcDisplayId); in TEST_F()
|