Home
last modified time | relevance | path

Searched refs:flinger (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerTestUtils.cpp21 sp<Layer> BufferStateLayerFactory::createLayer(TestableSurfaceFlinger& flinger) { in createLayer() argument
23 LayerCreationArgs args(flinger.flinger(), client, "buffer-state-layer", LAYER_FLAGS, in createLayer()
28 sp<Layer> EffectLayerFactory::createLayer(TestableSurfaceFlinger& flinger) { in createLayer() argument
30 LayerCreationArgs args(flinger.flinger(), client, "color-layer", LAYER_FLAGS, LayerMetadata()); in createLayer()
DLayerTestUtils.h39 virtual sp<Layer> createLayer(TestableSurfaceFlinger& flinger) = 0;
50 sp<Layer> createLayer(TestableSurfaceFlinger& flinger) override;
56 sp<Layer> createLayer(TestableSurfaceFlinger& flinger) override;
DSchedulerTest.cpp160 sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
181 sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
226 const sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
715 const sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
732 const sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
763 const sp<MockLayer> layer1 = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
764 const sp<MockLayer> layer2 = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
792 const sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
823 sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F()
837 const sp<MockLayer> layer = sp<MockLayer>::make(mFlinger.flinger()); in frameRateTestScenario()
[all …]
DFakeDisplayInjector.h39 FakeDisplayInjector(TestableSurfaceFlinger& flinger, Hwc2::mock::PowerAdvisor& powerAdvisor, in FakeDisplayInjector() argument
41 : mFlinger(flinger), mPowerAdvisor(powerAdvisor), mNativeWindow(nativeWindow) {} in FakeDisplayInjector()
DTestableSurfaceFlinger.h174 TestableSurfaceFlinger(sp<SurfaceFlinger> flinger = nullptr) : mFlinger(flinger) { in mFlinger() argument
180 SurfaceFlinger* flinger() { return mFlinger.get(); } in flinger() function
857 void inject(TestableSurfaceFlinger* flinger, Hwc2::mock::Composer* composer) { in inject() argument
878 flinger->mutableHwcDisplayData()[mDisplayId].hwcDisplay = std::move(display); in inject()
918 flinger->mutableHwcPhysicalDisplayIdMap().emplace(mHwcDisplayId, *physicalId); in inject()
920 flinger->mutablePrimaryHwcDisplayId() = mHwcDisplayId; in inject()
924 auto& primaryId = flinger->mutablePrimaryHwcDisplayId(); in inject()
949 FakeDisplayDeviceInjector(TestableSurfaceFlinger& flinger, in FakeDisplayDeviceInjector() argument
953 : mFlinger(flinger), in FakeDisplayDeviceInjector()
954 mCreationArgs(flinger.mFlinger, flinger.mFlinger->getHwComposer(), mDisplayToken, in FakeDisplayDeviceInjector()
DTunnelModeEnabledReporterTest.cpp80 mFlinger.flinger()->mTunnelModeEnabledReporter = mTunnelModeEnabledReporter; in TunnelModeEnabledReporterTest()
94 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", LAYER_FLAGS, metadata);
DFrameRateSelectionPriorityTest.cpp86 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-queue-layer", LAYER_FLAGS, in createBufferStateLayer()
93 LayerCreationArgs args(mFlinger.flinger(), client, "color-layer", LAYER_FLAGS, LayerMetadata()); in createEffectLayer()
DSurfaceFlinger_DisplayModeSwitching.cpp317 MATCHER_P2(ModeSwitchingTo, flinger, modeId, "") {
319 auto& dmc = flinger->mutableDisplayModeController();
332 if (displayId == flinger->scheduler()->pacesetterDisplayId() &&
333 !flinger->scheduler()->vsyncModulator().isVsyncConfigEarly()) {
DTransactionFrameTracerTest.cpp59 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", 0, in createLayer()
DGameModeTest.cpp56 LayerCreationArgs args(mFlinger.flinger(), client, "layer", 0, LayerMetadata()); in createLayer()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockLayer.h26 MockLayer(SurfaceFlinger* flinger, std::string name) in MockLayer() argument
27 : Layer(LayerCreationArgs(flinger, nullptr, std::move(name), 0, {})) { in MockLayer()
32 MockLayer(SurfaceFlinger* flinger, std::string name, std::optional<uint32_t> uid) in MockLayer() argument
33 : Layer(LayerCreationArgs(flinger, nullptr, std::move(name), 0, {}, uid)) { in MockLayer()
38 explicit MockLayer(SurfaceFlinger* flinger) : MockLayer(flinger, "TestLayer") {} in MockLayer() argument
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_service_fuzzer.cpp26 sp<SurfaceFlinger> flinger = sp<SurfaceFlinger>::make(factory); in LLVMFuzzerTestOneInput() local
27 flinger->init(); in LLVMFuzzerTestOneInput()
29 sp<SurfaceComposerAIDL> composerAIDL = sp<SurfaceComposerAIDL>::make(flinger); in LLVMFuzzerTestOneInput()
30 fuzzService({flinger, composerAIDL}, FuzzedDataProvider(data, size)); in LLVMFuzzerTestOneInput()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp130 sp<SurfaceFlinger> flinger = surfaceflinger::createSurfaceFlinger(); in main() local
136 flinger->setMinSchedulerPolicy(SCHED_FIFO, newPriority); in main()
144 flinger->init(); in main()
148 sm->addService(String16(SurfaceFlinger::getServiceName()), flinger, false, in main()
152 sp<SurfaceComposerAIDL> composerAIDL = sp<SurfaceComposerAIDL>::make(flinger); in main()
166 flinger->run(); in main()
DRegionSamplingThread.h69 explicit RegionSamplingThread(SurfaceFlinger& flinger, const TimingTunables& tunables);
70 explicit RegionSamplingThread(SurfaceFlinger& flinger);
DClient.cpp43 Client::Client(const sp<SurfaceFlinger>& flinger) in Client() argument
44 : mFlinger(flinger) in Client()
DRegionSamplingThread.cpp100 RegionSamplingThread::RegionSamplingThread(SurfaceFlinger& flinger, const TimingTunables& tunables) in RegionSamplingThread() argument
101 : mFlinger(flinger), in RegionSamplingThread()
114 RegionSamplingThread::RegionSamplingThread(SurfaceFlinger& flinger) in RegionSamplingThread() argument
115 : RegionSamplingThread(flinger, in RegionSamplingThread()
DDisplayDevice.cpp54 const sp<SurfaceFlinger>& flinger, HWComposer& hwComposer, const wp<IBinder>& displayToken, in DisplayDeviceCreationArgs() argument
56 : flinger(flinger), in DisplayDeviceCreationArgs()
62 : mFlinger(args.flinger), in DisplayDevice()
DClient.h36 explicit Client(const sp<SurfaceFlinger>& flinger);
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerCreationArgs.cpp32 LayerCreationArgs::LayerCreationArgs(SurfaceFlinger* flinger, sp<Client> client, std::string name, in LayerCreationArgs() argument
35 : flinger(flinger), in LayerCreationArgs()
73 return LayerCreationArgs(other.flinger, other.client, other.name, other.flags, other.metadata); in fromOtherArgs()
DLayerHandle.cpp25 LayerHandle::LayerHandle(const sp<android::SurfaceFlinger>& flinger, in LayerHandle() argument
27 : mFlinger(flinger), mLayer(layer), mLayerId(static_cast<uint32_t>(layer->getSequence())) {} in LayerHandle()
DLayerHandle.h39 LayerHandle(const sp<android::SurfaceFlinger>& flinger, const sp<android::Layer>& layer);
DLayerCreationArgs.h50 android::SurfaceFlinger* flinger; member
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-1.idc21 # Have input flinger treat injected scroll events like a G1 ball
29 # This will indicate to input flinger than it should link this input device
Dvr-virtual-touchpad-0.idc21 # Have input flinger treat injected scroll events like a G1 ball
/frameworks/native/services/surfaceflinger/Tracing/tools/
Dreadme.md4 surface flinger build that mocks out everything else apart from the

12