Home
last modified time | relevance | path

Searched defs:HWComposerLayerTest (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/
H A DHWComposerTest.cpp539 struct HWComposerLayerTest : public testing::Test { struct
540 static constexpr hal::HWDisplayId kDisplayId = static_cast<hal::HWDisplayId>(1001);
541 static constexpr hal::HWLayerId kLayerId = static_cast<hal::HWLayerId>(1002);
543 HWComposerLayerTest(const std::unordered_set<aidl::Capability>& capabilities) in HWComposerLayerTest() argument
548 ~HWComposerLayerTest() override { in ~HWComposerLayerTest()
553 std::unique_ptr<Hwc2::mock::Composer> mHal{new StrictMock<Hwc2::mock::Composer>()};
554 const std::unordered_set<aidl::Capability> mCapabilies;
555 StrictMock<HWC2::mock::Display> mDisplay;
556 HWC2::impl::Layer mLayer{*mHal, mCapabilies, mDisplay, kLayerId};