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.cpp167 mComposer = V2_1::IComposer::getService(serviceName); in Composer()
169 if (mComposer == nullptr) { in Composer()
173 if (sp<IComposer> composer_2_3 = IComposer::castFrom(mComposer)) { in Composer()
182 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in Composer()
188 if (sp<V2_2::IComposer> composer_2_2 = V2_2::IComposer::castFrom(mComposer)) { in Composer()
213 mComposer->getCapabilities( in getCapabilities()
223 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()
174 Hwc2::mock::Composer* mComposer = nullptr; member in android::__anon9bdb5ce90111::CompositionTest
256 EXPECT_CALL(*test->mComposer, in setupPreconditions()
266 .inject(&test->mFlinger, test->mComposer); in setupPreconditions()
267 Mock::VerifyAndClear(test->mComposer); in setupPreconditions()
289 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY, _)) in setupPreconditionCallExpectations()
[all …]
DDisplayTransactionTest.cpp134 Hwc2::mock::Composer* mComposer = nullptr; member in android::__anon7db314510111::DisplayTransactionTest
198 mComposer = new Hwc2::mock::Composer(); in injectMockComposer()
199 EXPECT_CALL(*mComposer, getCapabilities()) in injectMockComposer()
201 EXPECT_CALL(*mComposer, getMaxVirtualDisplayCount()).WillOnce(Return(virtualDisplayCount)); in injectMockComposer()
202 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in injectMockComposer()
204 Mock::VerifyAndClear(mComposer); in injectMockComposer()
432 .inject(&test->mFlinger, test->mComposer); in injectHwcDisplayWithNoDefaultCapabilities()
437 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY_ID, _)) in injectHwcDisplay()
440 EXPECT_CALL(*test->mComposer, in injectHwcDisplay()
448 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.txt41518 Landroid/media/MediaScanner$MyMediaScannerClient;->mComposer:Ljava/lang/String;