/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerTestUtils.cpp | 21 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()
|
D | LayerTestUtils.h | 39 virtual sp<Layer> createLayer(TestableSurfaceFlinger& flinger) = 0; 50 sp<Layer> createLayer(TestableSurfaceFlinger& flinger) override; 56 sp<Layer> createLayer(TestableSurfaceFlinger& flinger) override;
|
D | SchedulerTest.cpp | 160 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 …]
|
D | FakeDisplayInjector.h | 39 FakeDisplayInjector(TestableSurfaceFlinger& flinger, Hwc2::mock::PowerAdvisor& powerAdvisor, in FakeDisplayInjector() argument 41 : mFlinger(flinger), mPowerAdvisor(powerAdvisor), mNativeWindow(nativeWindow) {} in FakeDisplayInjector()
|
D | TestableSurfaceFlinger.h | 174 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()
|
D | TunnelModeEnabledReporterTest.cpp | 80 mFlinger.flinger()->mTunnelModeEnabledReporter = mTunnelModeEnabledReporter; in TunnelModeEnabledReporterTest() 94 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", LAYER_FLAGS, metadata);
|
D | FrameRateSelectionPriorityTest.cpp | 86 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()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 317 MATCHER_P2(ModeSwitchingTo, flinger, modeId, "") { 319 auto& dmc = flinger->mutableDisplayModeController(); 332 if (displayId == flinger->scheduler()->pacesetterDisplayId() && 333 !flinger->scheduler()->vsyncModulator().isVsyncConfigEarly()) {
|
D | TransactionFrameTracerTest.cpp | 59 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", 0, in createLayer()
|
D | GameModeTest.cpp | 56 LayerCreationArgs args(mFlinger.flinger(), client, "layer", 0, LayerMetadata()); in createLayer()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockLayer.h | 26 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/ |
D | surfaceflinger_service_fuzzer.cpp | 26 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/ |
D | main_surfaceflinger.cpp | 130 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()
|
D | RegionSamplingThread.h | 69 explicit RegionSamplingThread(SurfaceFlinger& flinger, const TimingTunables& tunables); 70 explicit RegionSamplingThread(SurfaceFlinger& flinger);
|
D | Client.cpp | 43 Client::Client(const sp<SurfaceFlinger>& flinger) in Client() argument 44 : mFlinger(flinger) in Client()
|
D | RegionSamplingThread.cpp | 100 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()
|
D | DisplayDevice.cpp | 54 const sp<SurfaceFlinger>& flinger, HWComposer& hwComposer, const wp<IBinder>& displayToken, in DisplayDeviceCreationArgs() argument 56 : flinger(flinger), in DisplayDeviceCreationArgs() 62 : mFlinger(args.flinger), in DisplayDevice()
|
D | Client.h | 36 explicit Client(const sp<SurfaceFlinger>& flinger);
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerCreationArgs.cpp | 32 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()
|
D | LayerHandle.cpp | 25 LayerHandle::LayerHandle(const sp<android::SurfaceFlinger>& flinger, in LayerHandle() argument 27 : mFlinger(flinger), mLayer(layer), mLayerId(static_cast<uint32_t>(layer->getSequence())) {} in LayerHandle()
|
D | LayerHandle.h | 39 LayerHandle(const sp<android::SurfaceFlinger>& flinger, const sp<android::Layer>& layer);
|
D | LayerCreationArgs.h | 50 android::SurfaceFlinger* flinger; member
|
/frameworks/native/services/vr/virtual_touchpad/idc/ |
D | vr-virtual-touchpad-1.idc | 21 # 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
|
D | vr-virtual-touchpad-0.idc | 21 # Have input flinger treat injected scroll events like a G1 ball
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | readme.md | 4 surface flinger build that mocks out everything else apart from the
|