Home
last modified time | relevance | path

Searched refs:frameRateCompatibility (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp708 void frameRateTestScenario(Fps layerFps, int8_t frameRateCompatibility, Fps displayFps,
834 void AttachedChoreographerTest::frameRateTestScenario(Fps layerFps, int8_t frameRateCompatibility, in frameRateTestScenario() argument
847 layerState.frameRateCompatibility = frameRateCompatibility; in frameRateTestScenario()
859 int8_t frameRateCompatibility = ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT; in TEST_F() local
863 frameRateTestScenario(layerFps, frameRateCompatibility, displayFps, expectedChoreographerFps); in TEST_F()
866 frameRateTestScenario(layerFps, frameRateCompatibility, displayFps, expectedChoreographerFps); in TEST_F()
871 int8_t frameRateCompatibility = ANATIVEWINDOW_FRAME_RATE_EXACT; in TEST_F() local
875 frameRateTestScenario(layerFps, frameRateCompatibility, displayFps, expectedChoreographerFps); in TEST_F()
879 frameRateTestScenario(layerFps, frameRateCompatibility, displayFps, expectedChoreographerFps); in TEST_F()
884 int8_t frameRateCompatibility = ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE; in TEST_F() local
[all …]
DTimeStatsTest.cpp386 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F()
391 .frameRateCompatibility = in TEST_F()
431 .frameRateCompatibility = in TEST_F()
437 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F()
1241 .frameRateCompatibility = in TEST_F()
1314 (int)frameRate60.frameRateCompatibility); in TEST_F()
DLayerHierarchyTest.h363 transactions.back().states.front().state.frameRateCompatibility = compatibility; in setFrameRate()
/frameworks/native/services/surfaceflinger/
DTransactionState.h114 state.state.frameRateCompatibility == ANATIVEWINDOW_FRAME_RATE_NO_VOTE; in isFrameActive()
125 state.state.frameRateCompatibility != ANATIVEWINDOW_FRAME_RATE_NO_VOTE) { in isFrameActive()
DLayer.cpp108 const auto frameRateCompatibility = [frameRate] { in frameRateToSetFrameRateVotePayload() local
131 .frameRateCompatibility = frameRateCompatibility, in frameRateToSetFrameRateVotePayload()
DSurfaceFlinger.cpp5703 Layer::FrameRate::convertCompatibility(s.frameRateCompatibility); in setClientStateLocked()
/frameworks/native/libs/gui/
DLayerState.cpp84 frameRateCompatibility(ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT), in layer_state_t()
155 SAFE_PARCEL(output.writeByte, frameRateCompatibility); in write()
279 SAFE_PARCEL(input.readByte, &frameRateCompatibility); in read()
504 if (!ValidateFrameRate(frameRate, frameRateCompatibility, in sanitize()
657 frameRateCompatibility = other.frameRateCompatibility; in merge()
777 CHECK_DIFF3(diff, eFrameRateChanged, other, frameRate, frameRateCompatibility, in diff()
DSurfaceComposerClient.cpp2102 s->frameRateCompatibility = compatibility; in setFrameRate()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp690 int32_t id, scheduler::FrameRateCompatibility frameRateCompatibility) { in setDefaultFrameRateCompatibility() argument
691 mLayerHistory.setDefaultFrameRateCompatibility(id, frameRateCompatibility, in setDefaultFrameRateCompatibility()
1033 const auto frameRateCompatibility = layerHierarchy.getLayer()->frameRateCompatibility; in updateAttachedChoreographersInternal() local
1039 if (frameRateCompatibility == ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE || in updateAttachedChoreographersInternal()
1040 frameRateCompatibility == ANATIVEWINDOW_FRAME_RATE_EXACT) { in updateAttachedChoreographersInternal()
1044 } else if (frameRateCompatibility == ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT) { in updateAttachedChoreographersInternal()
DLayerHistory.h75 void setDefaultFrameRateCompatibility(int32_t id, FrameRateCompatibility frameRateCompatibility,
DLayerHistory.cpp156 FrameRateCompatibility frameRateCompatibility, in setDefaultFrameRateCompatibility() argument
168 info->setDefaultLayerVote(getVoteType(frameRateCompatibility, contentDetectionEnabled)); in setDefaultFrameRateCompatibility()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h72 } frameRateCompatibility = FrameRateCompatibility::Undefined; member
/frameworks/native/libs/gui/include/gui/
DLayerState.h362 int8_t frameRateCompatibility; member
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp99 ftl::enum_string(frameRateCompatibility).c_str()); in toString()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp240 proto.set_frame_rate_compatibility(layer.frameRateCompatibility); in toProto()
509 layer.frameRateCompatibility = static_cast<int8_t>(proto.frame_rate_compatibility()); in fromProto()
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp334 Layer::FrameRate::convertCompatibility(clientState.frameRateCompatibility); in merge()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp88 static_cast<FrameRateCompatibilityEnum>(setFrameRateVote.frameRateCompatibility)); in frameRateVoteToProto()
/frameworks/base/core/java/android/view/
DViewRootImpl.java13058 public void votePreferredFrameRate(float frameRate, int frameRateCompatibility) { in votePreferredFrameRate() argument
13062 if (frameRateCompatibility == FRAME_RATE_COMPATIBILITY_GTE) { in votePreferredFrameRate()
13078 nextFrameRateCompatibility = frameRateCompatibility; in votePreferredFrameRate()