/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameRateSelectionStrategyTest.cpp | 135 auto layer2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local 137 addChild(layer1, layer2); in TEST_P() 138 addChild(layer2, layer3); in TEST_P() 142 layer2->setFrameRate(FRAME_RATE_VOTE2.vote); in TEST_P() 143 layer2->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::OverrideChildren); in TEST_P() 150 EXPECT_EQ(FRAME_RATE_VOTE1, layer2->getFrameRateForLayerTree()); in TEST_P() 152 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P() 163 EXPECT_EQ(FRAME_RATE_VOTE2, layer2->getFrameRateForLayerTree()); in TEST_P() 165 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P() 176 auto layer2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local [all …]
|
D | LayerHistoryTest.cpp | 813 auto layer2 = createLayer("B"); in TEST_F() local 819 EXPECT_CALL(*layer2, isVisible()).WillRepeatedly(Return(true)); in TEST_F() 820 EXPECT_CALL(*layer2, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 848 history().record(layer2->getSequence(), layer2->getLayerProps(), time, time, in TEST_F() 869 history().record(layer2->getSequence(), layer2->getLayerProps(), time, time, in TEST_F() 886 history().record(layer2->getSequence(), layer2->getLayerProps(), time, time, in TEST_F() 931 history().record(layer2->getSequence(), layer2->getLayerProps(), time, time, in TEST_F() 944 layer2.clear(); in TEST_F() 1460 auto layer2 = createLayer("Video"); in TEST_F() local 1465 EXPECT_CALL(*layer2, isVisible()).WillRepeatedly(Return(true)); in TEST_F() [all …]
|
D | SchedulerTest.cpp | 764 const sp<MockLayer> layer2 = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F() local 770 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer2->getHandle()); in TEST_F() 781 ASSERT_EQ(1u, mScheduler->mutableAttachedChoreographers().count(layer2->getSequence())); in TEST_F() 783 mScheduler->mutableAttachedChoreographers()[layer2->getSequence()] in TEST_F() 786 mScheduler->mutableAttachedChoreographers()[layer2->getSequence()].frameRate.isValid()); in TEST_F() 923 const sp<MockLayer> layer2 = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F() local 958 const sp<MockLayer> layer2 = sp<MockLayer>::make(mFlinger.flinger()); in TEST_F() local
|
D | LayerHistoryIntegrationTest.cpp | 298 auto layer2 = createLegacyAndFrontedEndLayer(2); in TEST_F() local 323 setBufferWithPresentTime(layer2, time); in TEST_F() 342 setBufferWithPresentTime(layer2, time); in TEST_F() 358 setBufferWithPresentTime(layer2, time); in TEST_F() 402 setBufferWithPresentTime(layer2, time); in TEST_F() 414 destroyLayer(layer2); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerCallback_test.cpp | 290 sp<SurfaceControl> layer1, layer2; in TEST_F() local 292 ASSERT_NO_FATAL_FAILURE(layer2 = createLayerWithBuffer()); in TEST_F() 301 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F() 311 TransactionUtils::setFrame(transaction2, layer2, in TEST_F() 318 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F() 324 sp<SurfaceControl> layer1, layer2; in TEST_F() local 326 ASSERT_NO_FATAL_FAILURE(layer2 = createLayerWithBuffer()); in TEST_F() 335 err = fillTransaction(transaction2, &callback2, layer2, false, true); in TEST_F() 345 TransactionUtils::setFrame(transaction2, layer2, in TEST_F() 352 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F() [all …]
|
D | LayerRenderTypeTransaction_test.cpp | 399 sp<SurfaceControl> layer2; in setAlphaBasicHelper() local 401 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer("test 2", 32, 32, layerType)); in setAlphaBasicHelper() 403 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layer2, {0, 64, 0, 255}, 32, 32)); in setAlphaBasicHelper() 410 .setAlpha(layer2, 0.75f) in setAlphaBasicHelper() 411 .setPosition(layer2, 16, 0) in setAlphaBasicHelper() 412 .setLayer(layer2, mLayerZBase + 1) in setAlphaBasicHelper() 1132 sp<SurfaceControl> layer2; in TEST_P() local 1134 layer2 = createLayer("test", 32, 32, ISurfaceComposerClient::eFXSurfaceBufferState)); in TEST_P() 1144 ASSERT_NO_FATAL_FAILURE(fillBufferLayerColor(layer2, Color::BLUE, 32, 32)); in TEST_P() 1163 ASSERT_NO_FATAL_FAILURE(fillBufferLayerColor(layer2, Color::WHITE, 32, 32)); in TEST_P()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | CachedSetTest.cpp | 187 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() local 190 cachedSet.addLayer(layer2.getState(), kStartTime + 10ms); in TEST_F() 208 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() local 212 cachedSet.addLayer(layer2.getState(), kStartTime + 10ms); in TEST_F() 220 expectEqual(decomposed[1], *layer2.getState(), kStartTime + 10ms); in TEST_F() 256 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() local 260 cachedSet.addLayer(layer2.getState(), kStartTime + 10ms); in TEST_F() 268 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() local 272 cachedSet.addLayer(layer2.getState(), kStartTime + 10ms); in TEST_F() 282 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() local [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 704 InjectedLayer layer2; in TEST_F() local 709 injectOutputLayer(layer2); in TEST_F() 717 EXPECT_CALL(*layer2.outputLayer, getLayerFE()).WillOnce(ReturnRef(*layer2.layerFE.get())); in TEST_F() 718 EXPECT_EQ(layer2.outputLayer, mOutput->getOutputLayerForLayer(layer2.layerFE)); in TEST_F() 722 EXPECT_CALL(*layer2.outputLayer, getLayerFE()).WillOnce(ReturnRef(*layer2.layerFE.get())); in TEST_F() 768 InjectedLayer layer2; in TEST_F() local 774 injectOutputLayer(layer2); in TEST_F() 785 InjectedLayer layer2; in TEST_F() local 794 EXPECT_CALL(*layer2.outputLayer, updateCompositionState(false, false, ui::Transform::ROT_180)); in TEST_F() 795 EXPECT_CALL(*layer2.outputLayer, in TEST_F() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 130 final TestWindowContainer layer2 = root.addChildWindow(builder.setLayer(2)); in testAdd() local 140 assertEquals(root, layer2.getParentWindow()); in testAdd() 152 assertEquals(layer2, root.getChildAt(6)); in testAdd() 156 assertTrue(layer2.mOnParentChangedCalled); in testAdd() 1690 final int layer2 = w2.mLayer; 1691 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0)) { 1696 if (layer1 == layer2) return 0;
|
/frameworks/native/opengl/libs/EGL/ |
D | GLES_layers.md | 75 adb shell settings put global gpu_debug_layers_gles <layer1:layer2:layerN> 92 adb shell setprop debug.gles.layers <layer1:layer2:layerN>
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 735 final int layer2 = w2.mSubLayer; 736 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0 )) {
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 429 // i.e. <layer1>:<layer2>:...:<layerN> 440 // i.e. <layer1>:<layer2>:...:<layerN>
|