Home
last modified time | relevance | path

Searched refs:mComposer (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp98 Device::Device(std::unique_ptr<android::Hwc2::Composer> composer) : mComposer(std::move(composer)) { in Device()
111 mComposer->registerCallback(callbackBridge); in registerCallback()
118 return mComposer->dumpDebugInfo(); in dump()
123 return mComposer->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCount()
128 auto intError = mComposer->getDisplayIdentificationData(hwcDisplayId, outPort, outData); in getDisplayIdentificationData()
138 auto intError = mComposer->createVirtualDisplay(width, height, in createVirtualDisplay()
145 auto display = std::make_unique<impl::Display>(*mComposer.get(), mCapabilities, displayId, in createVirtualDisplay()
173 auto intError = mComposer->getDisplayType(displayId, in onHotplug()
184 auto newDisplay = std::make_unique<impl::Display>(*mComposer.get(), mCapabilities, in onHotplug()
214 auto capabilities = mComposer->getCapabilities(); in loadCapabilities()
[all …]
DHWC2.h109 android::Hwc2::Composer* getComposer() { return mComposer.get(); } in getComposer()
122 std::unique_ptr<android::Hwc2::Composer> mComposer; variable
351 android::Hwc2::Composer& mComposer; variable
436 android::Hwc2::Composer& mComposer;
DComposerHal.cpp168 mComposer = V2_1::IComposer::getService(serviceName); in Composer()
170 if (mComposer == nullptr) { in Composer()
174 if (sp<IComposer> composer_2_3 = IComposer::castFrom(mComposer)) { in Composer()
183 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in Composer()
189 if (sp<V2_2::IComposer> composer_2_2 = V2_2::IComposer::castFrom(mComposer)) { in Composer()
214 mComposer->getCapabilities( in getCapabilities()
224 mComposer->dumpDebugInfo([&](const auto& tmpInfo) { in dumpDebugInfo()
DComposerHal.h442 sp<V2_1::IComposer> mComposer; variable
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerUtils.h103 explicit TransactionScope(FakeComposerClient& composer) : Transaction(), mComposer(composer) {} in TransactionScope()
106 int frameCount = mComposer.getFrameCount(); in ~TransactionScope()
107 mComposer.runVSyncAfter(1ms); in ~TransactionScope()
110 mComposer.waitUntilFrame(frameCount + 1); in ~TransactionScope()
111 LOG_ALWAYS_FATAL_IF(frameCount + 1 != mComposer.getFrameCount(), in ~TransactionScope()
113 mComposer.getFrameCount() - frameCount); in ~TransactionScope()
116 FakeComposerClient& mComposer; variable
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp42 if (mComposer == NULL) { in updateVsync()
45 mComposer = interface_cast<ISurfaceComposer>(sm->checkService(name)); in updateVsync()
47 if (mComposer != NULL) { in updateVsync()
49 status_t res = mComposer->getDisplayStats(NULL /* display */, &stats); in updateVsync()
64 mComposer.clear(); in release()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp118 mComposer = new Hwc2::mock::Composer(); in setupComposer()
119 EXPECT_CALL(*mComposer, getCapabilities()) in setupComposer()
121 EXPECT_CALL(*mComposer, getMaxVirtualDisplayCount()).WillOnce(Return(virtualDisplayCount)); in setupComposer()
122 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in setupComposer()
124 Mock::VerifyAndClear(mComposer); in setupComposer()
184 Hwc2::mock::Composer* mComposer = nullptr; member in android::__anon4393af000111::CompositionTest
266 EXPECT_CALL(*test->mComposer, in setupPreconditions()
276 .inject(&test->mFlinger, test->mComposer); in setupPreconditions()
277 Mock::VerifyAndClear(test->mComposer); in setupPreconditions()
299 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY, _)) in setupPreconditionCallExpectations()
[all …]
DDisplayTransactionTest.cpp135 Hwc2::mock::Composer* mComposer = nullptr; member in android::__anon968546880111::DisplayTransactionTest
208 mComposer = new Hwc2::mock::Composer(); in injectMockComposer()
209 EXPECT_CALL(*mComposer, getCapabilities()) in injectMockComposer()
211 EXPECT_CALL(*mComposer, getMaxVirtualDisplayCount()).WillOnce(Return(virtualDisplayCount)); in injectMockComposer()
212 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in injectMockComposer()
214 Mock::VerifyAndClear(mComposer); in injectMockComposer()
442 .inject(&test->mFlinger, test->mComposer); in injectHwcDisplayWithNoDefaultCapabilities()
447 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY_ID, _)) in injectHwcDisplay()
450 EXPECT_CALL(*test->mComposer, in injectHwcDisplay()
458 EXPECT_CALL(*test->mComposer, getDisplayType(HWC_DISPLAY_ID, _)) in setupHwcHotplugCallExpectations()
[all …]
/frameworks/native/cmds/flatland/
DMain.cpp309 mComposer = desc.composerFactory(); in setUp()
310 result = mComposer->setUp(desc, helper); in setUp()
319 if (mComposer != nullptr) { in tearDown()
320 mComposer->tearDown(); in tearDown()
321 delete mComposer; in tearDown()
322 mComposer = nullptr; in tearDown()
356 return mComposer->compose(mTexName, mGLConsumer); in compose()
369 Composer* mComposer; member in Layer
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameScheduler.h35 sp<ISurfaceComposer> mComposer; member
/frameworks/base/media/java/android/media/
DMediaScanner.java514 private String mComposer; field in MediaScanner.MyMediaScannerClient
598 mComposer = null; in beginFile()
752 mComposer = value.trim();
956 map.put(Audio.Media.COMPOSER, mComposer);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt38722 Landroid/media/MediaScanner$MyMediaScannerClient;->mComposer:Ljava/lang/String;