/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.cpp | 497 FrameRateCompatibility LayerInfo::FrameRate::convertCompatibility(int8_t compatibility) { in convertCompatibility() 500 return FrameRateCompatibility::Default; in convertCompatibility() 502 return FrameRateCompatibility::ExactOrMultiple; in convertCompatibility() 504 return FrameRateCompatibility::Exact; in convertCompatibility() 506 return FrameRateCompatibility::Min; in convertCompatibility() 508 return FrameRateCompatibility::Gte; in convertCompatibility() 510 return FrameRateCompatibility::NoVote; in convertCompatibility() 513 return FrameRateCompatibility::Default; in convertCompatibility() 565 return vote.type == FrameRateCompatibility::NoVote; in isNoVote() 574 case FrameRateCompatibility::Min: in isValuelessType() [all …]
|
D | LayerHistory.cpp | 90 LayerHistory::LayerVoteType getVoteType(FrameRateCompatibility compatibility, in getVoteType() 93 if (!contentDetectionEnabled || compatibility == FrameRateCompatibility::NoVote) { in getVoteType() 95 } else if (compatibility == FrameRateCompatibility::Min) { in getVoteType() 156 FrameRateCompatibility frameRateCompatibility, in setDefaultFrameRateCompatibility() 272 case Layer::FrameRateCompatibility::Default: in partitionLayers() 274 case Layer::FrameRateCompatibility::Min: in partitionLayers() 276 case Layer::FrameRateCompatibility::ExactOrMultiple: in partitionLayers() 278 case Layer::FrameRateCompatibility::NoVote: in partitionLayers() 280 case Layer::FrameRateCompatibility::Exact: in partitionLayers() 282 case Layer::FrameRateCompatibility::Gte: in partitionLayers()
|
D | LayerInfo.h | 99 FrameRateCompatibility type = FrameRateCompatibility::Default; 109 FrameRateVote(Fps rate, FrameRateCompatibility type, 119 FrameRate(Fps rate, FrameRateCompatibility type, 132 static FrameRateCompatibility convertCompatibility(int8_t compatibility);
|
D | FrameRateCompatibility.h | 22 enum class FrameRateCompatibility { enum
|
D | LayerHistory.h | 75 void setDefaultFrameRateCompatibility(int32_t id, FrameRateCompatibility frameRateCompatibility,
|
D | Scheduler.h | 229 void setDefaultFrameRateCompatibility(int32_t id, scheduler::FrameRateCompatibility);
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockLayer.h | 29 .WillOnce(testing::Return(scheduler::FrameRateCompatibility::Default)); 35 .WillOnce(testing::Return(scheduler::FrameRateCompatibility::Default)); 45 MOCK_CONST_METHOD0(getDefaultFrameRateCompatibility, scheduler::FrameRateCompatibility());
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 317 EXPECT_EQ(getSnapshot(11)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 319 EXPECT_EQ(getSnapshot(111)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 321 EXPECT_EQ(getSnapshot(1)->frameRate.vote.type, scheduler::FrameRateCompatibility::NoVote); in TEST_F() 342 EXPECT_EQ(getSnapshot(11)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 344 EXPECT_EQ(getSnapshot(111)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 346 EXPECT_EQ(getSnapshot(12)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 348 EXPECT_EQ(getSnapshot(121)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 350 EXPECT_EQ(getSnapshot(1221)->frameRate.vote.type, scheduler::FrameRateCompatibility::Exact); in TEST_F() 353 EXPECT_EQ(getSnapshot(1)->frameRate.vote.type, scheduler::FrameRateCompatibility::NoVote); in TEST_F() 355 EXPECT_EQ(getSnapshot(13)->frameRate.vote.type, scheduler::FrameRateCompatibility::Default); in TEST_F() [all …]
|
D | FrameRateSelectionStrategyTest.cpp | 41 using FrameRateCompatibility = Layer::FrameRateCompatibility; typedef 49 const FrameRate FRAME_RATE_VOTE1 = FrameRate(11_Hz, FrameRateCompatibility::Default); 50 const FrameRate FRAME_RATE_VOTE2 = FrameRate(22_Hz, FrameRateCompatibility::Default); 51 const FrameRate FRAME_RATE_VOTE3 = FrameRate(33_Hz, FrameRateCompatibility::Default); 52 const FrameRate FRAME_RATE_DEFAULT = FrameRate(Fps(), FrameRateCompatibility::Default); 53 const FrameRate FRAME_RATE_TREE = FrameRate(Fps(), FrameRateCompatibility::NoVote);
|
D | SetFrameRateTest.cpp | 49 using FrameRateCompatibility = Layer::FrameRateCompatibility; typedef 56 const FrameRate FRAME_RATE_VOTE1 = FrameRate(67_Hz, FrameRateCompatibility::Default); 57 const FrameRate FRAME_RATE_VOTE2 = FrameRate(14_Hz, FrameRateCompatibility::ExactOrMultiple); 58 const FrameRate FRAME_RATE_VOTE3 = FrameRate(99_Hz, FrameRateCompatibility::NoVote); 59 const FrameRate FRAME_RATE_TREE = FrameRate(Fps(), FrameRateCompatibility::NoVote); 60 const FrameRate FRAME_RATE_NO_VOTE = FrameRate(Fps(), FrameRateCompatibility::Default);
|
D | LayerHistoryTest.cpp | 165 .WillOnce(Return(FrameRateCompatibility::NoVote)); in TEST_F() 192 .WillOnce(Return(FrameRateCompatibility::Min)); in TEST_F() 320 Return(Layer::FrameRate(setFrameRate, Layer::FrameRateCompatibility::Default))); in TEST_F() 491 Return(Layer::FrameRate(73.4_Hz, Layer::FrameRateCompatibility::Default))); in TEST_F() 524 Layer::FrameRate(73.4_Hz, Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F() 562 .WillRepeatedly(Return(Layer::FrameRate(33_Hz, Layer::FrameRateCompatibility::Gte, in TEST_F() 603 .WillRepeatedly(Return(Layer::FrameRate(33_Hz, Layer::FrameRateCompatibility::Gte, in TEST_F() 642 Return(Layer::FrameRate(73.4_Hz, Layer::FrameRateCompatibility::Default, in TEST_F() 674 Return(Layer::FrameRate(0_Hz, Layer::FrameRateCompatibility::Default, in TEST_F() 714 .WillRepeatedly(Return(Layer::FrameRate(0_Hz, Layer::FrameRateCompatibility::Default, in TEST_F() [all …]
|
D | TimeStatsTest.cpp | 386 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F() 392 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F() 432 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F() 437 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F() 1242 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 117 @Surface.FrameRateCompatibility int compatibility, in onSetFrameRate() 248 @Surface.FrameRateCompatibility int compatibility, in SetFrameRateArgs() 488 @Surface.FrameRateCompatibility int compatibility, in postOnSetFrameRateEventFromNative()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.h | 92 scheduler::FrameRateCompatibility defaultFrameRateCompatibility = 93 scheduler::FrameRateCompatibility::Default;
|
D | LayerSnapshotBuilder.cpp | 676 using FrameRateCompatibility = scheduler::FrameRateCompatibility; in updateFrameRateFromChildSnapshot() typedef 686 childSnapshot.frameRate.vote.type == FrameRateCompatibility::Default; in updateFrameRateFromChildSnapshot() 688 childSnapshot.frameRate.vote.type == FrameRateCompatibility::NoVote; in updateFrameRateFromChildSnapshot() 692 childSnapshot.frameRate.vote.type == FrameRateCompatibility::Exact; in updateFrameRateFromChildSnapshot() 700 snapshot.frameRate = scheduler::LayerInfo::FrameRate(Fps(), FrameRateCompatibility::NoVote); in updateFrameRateFromChildSnapshot()
|
D | RequestedLayerState.cpp | 124 defaultFrameRateCompatibility = static_cast<int8_t>(scheduler::FrameRateCompatibility::Default); in RequestedLayerState()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 194 @Surface.FrameRateCompatibility int mCompatibility; 199 FrameRateVote(float refreshRate, @Surface.FrameRateCompatibility int compatibility, in FrameRateVote() 208 boolean update(float refreshRate, @Surface.FrameRateCompatibility int compatibility, in update()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/ |
D | TimeStatsHelper.h | 66 enum class FrameRateCompatibility { enum 72 } frameRateCompatibility = FrameRateCompatibility::Undefined;
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 207 public @interface FrameRateCompatibility {} annotation in Surface 1065 @FrameRateCompatibility int compatibility, in setFrameRate() 1111 @FloatRange(from = 0.0) float frameRate, @FrameRateCompatibility int compatibility) { in setFrameRate()
|
D | SurfaceControl.java | 3769 @Surface.FrameRateCompatibility int compatibility) { in setFrameRate() 3810 @Surface.FrameRateCompatibility int compatibility, in setFrameRate() 3855 @Surface.FrameRateCompatibility int compatibility) { in setDefaultFrameRateCompatibility()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 113 using FrameRateCompatibility = scheduler::FrameRateCompatibility; variable 186 FrameRateCompatibility defaultFrameRateCompatibility; 332 virtual bool setDefaultFrameRateCompatibility(FrameRateCompatibility compatibility); 342 virtual FrameRateCompatibility getDefaultFrameRateCompatibility() const;
|
D | Layer.cpp | 106 using FrameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility; in frameRateToSetFrameRateVotePayload() typedef 110 case Layer::FrameRateCompatibility::Default: in frameRateToSetFrameRateVotePayload() 111 return FrameRateCompatibility::Default; in frameRateToSetFrameRateVotePayload() 112 case Layer::FrameRateCompatibility::ExactOrMultiple: in frameRateToSetFrameRateVotePayload() 113 return FrameRateCompatibility::ExactOrMultiple; in frameRateToSetFrameRateVotePayload() 115 return FrameRateCompatibility::Undefined; in frameRateToSetFrameRateVotePayload() 200 mDrawingState.defaultFrameRateCompatibility = FrameRateCompatibility::Default; in Layer() 1162 bool Layer::setDefaultFrameRateCompatibility(FrameRateCompatibility compatibility) { in setDefaultFrameRateCompatibility() 1171 scheduler::FrameRateCompatibility Layer::getDefaultFrameRateCompatibility() const { in getDefaultFrameRateCompatibility() 1274 setFrameRateForLayerTreeLegacy(FrameRate(Fps(), FrameRateCompatibility::NoVote), in propagateFrameRateForLayerTree() [all …]
|
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/ |
D | GraphicsActivity.java | 246 float frameRate, @Surface.FrameRateCompatibility int compatibility) { in setFrameRate() 716 @Surface.FrameRateCompatibility int compatibility) throws InterruptedException { 736 @Surface.FrameRateCompatibility int compatibility) throws InterruptedException { in testSurfaceControlFrameRateCompatibility()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/ |
D | timestats_atoms.proto | 265 enum FrameRateCompatibility { enum 273 optional FrameRateCompatibility frame_rate_compatibility = 2;
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 82 SurfaceflingerStatsLayerInfo::SetFrameRateVote::FrameRateCompatibility; in frameRateVoteToProto()
|