Home
last modified time | relevance | path

Searched refs:getActiveConfig (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DMockComposerHal.h35 MOCK_METHOD2(getActiveConfig, V2_1::Error(Display, Config*));
DFakeComposerClient.cpp234 V2_1::Error FakeComposerClient::getActiveConfig(Display display, Config* outConfig) { in getActiveConfig() function in FakeComposerClient
237 return mMockHal->getActiveConfig(display, outConfig); in getActiveConfig()
DFakeComposerClient.h75 V2_1::Error getActiveConfig(Display display, Config* outConfig) override;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java228 assertThat(SurfaceControl.getActiveConfig(display.token)).isEqualTo(1); in testAfterDisplayChange_ModesAreUpdated()
307 doReturn(display.activeConfig).when(() -> SurfaceControl.getActiveConfig(display.token)); in setUpDisplay()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h46 MOCK_CONST_METHOD1(getActiveConfig, hal::Error(std::shared_ptr<const Config>*));
DMockComposer.h65 MOCK_METHOD2(getActiveConfig, Error(Display, Config*));
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h88 MOCK_CONST_METHOD1(getActiveConfig, std::shared_ptr<const HWC2::Display::Config>(DisplayId));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp80 const auto& activeConfig = mHwc.getActiveConfig(displayId); in FramebufferSurface()
DHWC2.cpp166 Error Display::getActiveConfig( in getActiveConfig() function in android::HWC2::impl::Display
171 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig()
212 error = getActiveConfig(&config); in getDisplayVsyncPeriod()
230 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfigIndex()
DHWComposer.h189 virtual std::shared_ptr<const HWC2::Display::Config> getActiveConfig(
330 std::shared_ptr<const HWC2::Display::Config> getActiveConfig(
DHWC2.h167 [[clang::warn_unused_result]] virtual hal::Error getActiveConfig(
254 hal::Error getActiveConfig(std::shared_ptr<const Config>* outConfig) const override;
DComposerHal.h117 virtual Error getActiveConfig(Display display, Config* outConfig) = 0;
370 Error getActiveConfig(Display display, Config* outConfig) override;
DHWComposer.cpp350 std::shared_ptr<const HWC2::Display::Config> HWComposer::getActiveConfig( in getActiveConfig() function in android::impl::HWComposer
355 auto error = mDisplayData.at(displayId).hwcDisplay->getActiveConfig(&config); in getActiveConfig()
DComposerHal.cpp356 Error Composer::getActiveConfig(Display display, Config* outConfig) in getActiveConfig() function in android::Hwc2::impl::Composer
359 mClient->getActiveConfig(display, in getActiveConfig()
/frameworks/native/libs/nativedisplay/
DADisplay.cpp260 const int index = SurfaceComposerClient::getActiveConfig(token); in ADisplay_getCurrentConfig()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp141 HwcConfigIndexType DisplayDevice::getActiveConfig() const { in getActiveConfig() function in android::DisplayDevice
DDisplayDevice.h151 HwcConfigIndexType getActiveConfig() const;
DSurfaceFlinger.cpp959 int SurfaceFlinger::getActiveConfig(const sp<IBinder>& displayToken) { in getActiveConfig() function in android::SurfaceFlinger
967 activeConfig = display->getActiveConfig().value(); in getActiveConfig()
999 if (!display || display->getActiveConfig() == refreshRate.getConfigId()) { in setDesiredActiveConfig()
1064 mRefreshRateConfigs->getRefreshRateFromConfigId(display->getActiveConfig()); in setActiveConfigInternal()
1117 if (!display || display->getActiveConfig() == desiredActiveConfig->configId) { in performSetActiveConfig()
2583 getCompositionEngine().getHwComposer().getActiveConfig(state.physical->id); in processDisplayAdded()
4787 const auto activeConfig = getHwComposer().getActiveConfig(*displayId); in dumpAllLocked()
6031 mRefreshRateConfigs->getRefreshRateFromConfigId(display->getActiveConfig()) in setDesiredDisplayConfigSpecsInternal()
6034 display->getActiveConfig(), vsyncPeriod); in setDesiredDisplayConfigSpecsInternal()
6128 auto vsyncPeriod = getHwComposer().getActiveConfig(*displayId)->getVsyncPeriod(); in getDesiredDisplayConfigSpecs()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h205 virtual int getActiveConfig(const sp<IBinder>& display) = 0;
DSurfaceComposerClient.h116 static int getActiveConfig(const sp<IBinder>& display);
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp191 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getActiveConfig(display)); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java107 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
819 final int activePhysIndex = SurfaceControl.getActiveConfig(displayToken); in setDesiredDisplayModeSpecsAsync()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h235 Error getActiveConfig(Display display, Config* outConfig) override;
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1732 int activeId = getActiveConfig(display); in getActiveDisplayConfig()
1742 int SurfaceComposerClient::getActiveConfig(const sp<IBinder>& display) { in getActiveConfig() function in android::SurfaceComposerClient
1743 return ComposerService::getComposerService()->getActiveConfig(display); in getActiveConfig()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp620 EXPECT_CALL(*test->mComposer, getActiveConfig(HWC_DISPLAY_ID, _)) in setupHwcGetActiveConfigCallExpectations()
706 EXPECT_CALL(*test->mComposer, getActiveConfig(_, _)).Times(0); in setupHwcGetActiveConfigCallExpectations()
1824 EXPECT_EQ(0, device->getActiveConfig().value()); in setupNewDisplayDeviceInternalTest()
3415 EXPECT_CALL(*test->mComposer, getActiveConfig(Display::HWC_DISPLAY_ID, _)) in setupComposerCallExpectations()

12