/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 47 #define LOG_HWC_DISPLAY_ERROR(hwcDisplayId, msg) \ argument 48 ALOGE("%s failed for HWC display %" PRIu64 ": %s", __FUNCTION__, hwcDisplayId, msg) 117 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData() argument 120 mComposer->getDisplayIdentificationData(hwcDisplayId, outPort, outData)); in getDisplayIdentificationData() 123 LOG_HWC_DISPLAY_ERROR(hwcDisplayId, to_string(error).c_str()); in getDisplayIdentificationData() 139 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug() argument 143 return onHotplugConnect(hwcDisplayId); in onHotplug() 145 return onHotplugDisconnect(hwcDisplayId); in onHotplug() 155 std::optional<PhysicalDisplayId> HWComposer::onVsync(hal::HWDisplayId hwcDisplayId, in onVsync() argument 157 const auto displayIdOpt = toPhysicalDisplayId(hwcDisplayId); in onVsync() [all …]
|
D | HWComposer.h | 523 std::vector<HWCDisplayMode> getModesFromDisplayConfigurations(uint64_t hwcDisplayId, 525 std::vector<HWCDisplayMode> getModesFromLegacyDisplayConfigs(uint64_t hwcDisplayId) const; 527 int32_t getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FakeDisplayInjector.h | 33 HWDisplayId hwcDisplayId = 0; member 77 args.hwcDisplayId, args.isPrimary);
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 240 const auto hwcDisplayId = Case::Display::HWC_DISPLAY_ID_OPT::value; in setupNewDisplayDeviceInternalTest() local 241 ASSERT_TRUE(hwcDisplayId); in setupNewDisplayDeviceInternalTest() 242 mFlinger.getHwComposer().allocatePhysicalDisplay(*hwcDisplayId, *displayId); in setupNewDisplayDeviceInternalTest() 252 .hwcDisplayId = *hwcDisplayId, in setupNewDisplayDeviceInternalTest()
|
D | SurfaceFlinger_HotplugTest.cpp | 43 EXPECT_EQ(hwcDisplayId1, pendingEvents[0].hwcDisplayId); in TEST_F() 45 EXPECT_EQ(hwcDisplayId2, pendingEvents[1].hwcDisplayId); in TEST_F()
|
D | DisplayTransactionTest.cpp | 125 bool DisplayTransactionTest::hasPhysicalHwcDisplay(HWDisplayId hwcDisplayId) const { in hasPhysicalHwcDisplay() 128 const auto it = map.find(hwcDisplayId); in hasPhysicalHwcDisplay()
|
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 116 const auto hwcDisplayId = Case::Display::HWC_DISPLAY_ID_OPT::value; in verifyDisplayIsConnected() local 117 ASSERT_TRUE(hwcDisplayId); in verifyDisplayIsConnected() 118 expectedPhysical = {.id = *displayId, .hwcDisplayId = *hwcDisplayId}; in verifyDisplayIsConnected()
|
D | HWComposerTest.cpp | 76 void expectHotplugConnect(hal::HWDisplayId hwcDisplayId) { in expectHotplugConnect() 78 EXPECT_CALL(*mHal, getDisplayIdentificationData(hwcDisplayId, _, _)) in expectHotplugConnect() 83 EXPECT_CALL(*mHal, setVsyncEnabled(hwcDisplayId, Hwc2::IComposerClient::Vsync::DISABLE)); in expectHotplugConnect() 84 EXPECT_CALL(*mHal, onHotplugConnect(hwcDisplayId)); in expectHotplugConnect()
|
D | TestableSurfaceFlinger.h | 466 void onComposerHalHotplugEvent(hal::HWDisplayId hwcDisplayId, DisplayHotplugEvent event) { in onComposerHalHotplugEvent() argument 467 mFlinger->onComposerHalHotplugEvent(hwcDisplayId, event); in onComposerHalHotplugEvent() 952 std::optional<hal::HWDisplayId> hwcDisplayId, bool isPrimary) in FakeDisplayDeviceInjector() argument 957 mHwcDisplayId(hwcDisplayId) { in FakeDisplayDeviceInjector() 1102 .hwcDisplayId = *mHwcDisplayId, in inject()
|
D | DisplayTransactionTestHelpers.h | 339 template <HWDisplayId hwcDisplayId, DisplayType hwcDisplayType, typename DisplayVariant, 343 static constexpr HWDisplayId HWC_DISPLAY_ID = hwcDisplayId;
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 107 .hwcDisplayId = kOuterDisplayHwcId, in injectOuterDisplay()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 264 hardware::graphics::composer::hal::HWDisplayId hwcDisplayId; member 268 return id == other.id && hwcDisplayId == other.hwcDisplayId;
|
D | SurfaceFlinger.cpp | 2204 void SurfaceFlinger::onComposerHalVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp, in onComposerHalVsync() argument 2211 ALOGD("%s: Hotplug error %d for display %" PRIu64, __func__, errorCode, hwcDisplayId); in onComposerHalVsync() 2222 connectedLevel, maxLevel, hwcDisplayId); in onComposerHalVsync() 2223 updateHdcpLevels(hwcDisplayId, connectedLevel, maxLevel); in onComposerHalVsync() 2229 ? ftl::Concat(__func__, ' ', hwcDisplayId, ' ', *vsyncPeriod, "ns").c_str() in onComposerHalVsync() 2230 : ftl::Concat(__func__, ' ', hwcDisplayId).c_str()); in onComposerHalVsync() 2233 if (const auto displayIdOpt = getHwComposer().onVsync(hwcDisplayId, timestamp)) { in onComposerHalVsync() 2241 void SurfaceFlinger::onComposerHalHotplugEvent(hal::HWDisplayId hwcDisplayId, in onComposerHalHotplugEvent() argument 2249 mPendingHotplugEvents.push_back(HotplugEvent{hwcDisplayId, connection}); in onComposerHalHotplugEvent() 2262 ALOGD("%s: Hotplug error %d for display %" PRIu64, __func__, errorCode, hwcDisplayId); in onComposerHalHotplugEvent() [all …]
|
D | SurfaceFlinger.h | 670 void updateHdcpLevels(hal::HWDisplayId hwcDisplayId, int32_t connectedLevel, int32_t maxLevel); 1323 hal::HWDisplayId hwcDisplayId; member
|