/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateSelectorTest.cpp | 271 ftl::enum_string(testCase.frameRateCategory).c_str()); in testFrameRateCategoryWithMultipleLayers() 276 << ftl::enum_string(testCase.frameRateCategory) << "ExplicitDefault"; in testFrameRateCategoryWithMultipleLayers() 284 if (testCase.frameRateCategory != FrameRateCategory::Default) { in testFrameRateCategoryWithMultipleLayers() 286 ss << "ExplicitCategory (" << ftl::enum_string(testCase.frameRateCategory) << ")"; in testFrameRateCategoryWithMultipleLayers() 289 .frameRateCategory = testCase.frameRateCategory, in testFrameRateCategoryWithMultipleLayers() 298 << " category=" << ftl::enum_string(testCase.frameRateCategory); in testFrameRateCategoryWithMultipleLayers() 304 << " category=" << ftl::enum_string(testCase.frameRateCategory); in testFrameRateCategoryWithMultipleLayers() 1553 FrameRateCategory frameRateCategory = FrameRateCategory::Default; in TEST_P() member 1582 ftl::enum_string(testCase.frameRateCategory).c_str()); in TEST_P() 1594 if (testCase.frameRateCategory != FrameRateCategory::Default) { in TEST_P() [all …]
|
D | LayerHistoryTest.cpp | 581 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 591 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 622 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 632 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 664 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 693 EXPECT_EQ(FrameRateCategory::High, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 703 EXPECT_EQ(FrameRateCategory::High, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 766 EXPECT_EQ(FrameRateCategory::High, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F() 771 EXPECT_EQ(FrameRateCategory::Default, summarizeLayerHistory(time)[1].frameRateCategory); in TEST_F() 781 EXPECT_EQ(FrameRateCategory::High, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F()
|
D | LayerHierarchyTest.h | 368 void setFrameRateCategory(uint32_t id, int8_t frameRateCategory) { in setFrameRateCategory() argument 375 transactions.back().states.front().state.frameRateCategory = frameRateCategory; in setFrameRateCategory()
|
D | SchedulerTest.cpp | 304 lr1.frameRateCategory = FrameRateCategory::HighHint; in TEST_F() 318 lr1.frameRateCategory = FrameRateCategory::HighHint; in TEST_F() 332 lr1.frameRateCategory = FrameRateCategory::HighHint; in TEST_F() 335 lr2.frameRateCategory = FrameRateCategory::Low; in TEST_F()
|
D | LayerHistoryIntegrationTest.cpp | 293 EXPECT_EQ(FrameRateCategory::High, summarizeLayerHistory(time)[0].frameRateCategory); in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 426 if (layer.frameRateCategory == FrameRateCategory::HighHint) { in calculateLayerScoreLocked() 430 if (getFrameRateCategoryRange(layer.frameRateCategory).includes(refreshRate)) { in calculateLayerScoreLocked() 434 FpsRange categoryRange = getFrameRateCategoryRange(layer.frameRateCategory); in calculateLayerScoreLocked() 567 if (layer.frameRateCategory == FrameRateCategory::HighHint) { in getRankedFrameRatesLocked() 574 if (layer.frameRateCategory == FrameRateCategory::NoPreference) { in getRankedFrameRatesLocked() 673 ftl::enum_string(layer.frameRateCategory).c_str()); in getRankedFrameRatesLocked() 674 if (layer.isNoVote() || layer.frameRateCategory == FrameRateCategory::NoPreference || in getRankedFrameRatesLocked() 1001 if (layer->frameRateCategory == FrameRateCategory::HighHint) { in getFrameRateOverrides() 1030 if (layer->isNoVote() || layer->frameRateCategory == FrameRateCategory::NoPreference || in getFrameRateOverrides()
|
D | RefreshRateSelector.h | 177 FrameRateCategory frameRateCategory = FrameRateCategory::Default; member 191 focused == other.focused && frameRateCategory == other.frameRateCategory;
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionState.h | 118 state.state.frameRateCategory == in isFrameActive()
|
D | SurfaceFlinger.cpp | 5713 const FrameRateCategory category = Layer::FrameRate::convertCategory(s.frameRateCategory); in setClientStateLocked()
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 87 frameRateCategory(ANATIVEWINDOW_FRAME_RATE_CATEGORY_DEFAULT), in layer_state_t() 158 SAFE_PARCEL(output.writeByte, frameRateCategory); in write() 282 SAFE_PARCEL(input.readByte, &frameRateCategory); in read() 662 frameRateCategory = other.frameRateCategory; in merge() 779 CHECK_DIFF2(diff, eFrameRateCategoryChanged, other, frameRateCategory, in diff()
|
D | SurfaceComposerClient.cpp | 2128 s->frameRateCategory = category; in setFrameRateCategory()
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerState.h | 369 int8_t frameRateCategory; member
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | RequestedLayerState.cpp | 125 frameRateCategory = static_cast<int8_t>(FrameRateCategory::Default); in RequestedLayerState() 343 const auto category = Layer::FrameRate::convertCategory(clientState.frameRateCategory); in merge()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 12824 int frameRateCategory; in setPreferredFrameRateCategory() local 12829 frameRateCategory = FRAME_RATE_CATEGORY_HIGH; in setPreferredFrameRateCategory() 12833 frameRateCategory = FRAME_RATE_CATEGORY_HIGH_HINT; in setPreferredFrameRateCategory() 12837 frameRateCategory = preferredFrameRateCategory; in setPreferredFrameRateCategory() 12844 if (frameRateCategory != FRAME_RATE_CATEGORY_DEFAULT in setPreferredFrameRateCategory() 12845 && mLastPreferredFrameRateCategory != frameRateCategory) { in setPreferredFrameRateCategory() 12850 String category = categoryToString(frameRateCategory); in setPreferredFrameRateCategory() 12858 frameRateCategory, false).applyAsyncUnsafe(); in setPreferredFrameRateCategory() 12860 mLastPreferredFrameRateCategory = frameRateCategory; in setPreferredFrameRateCategory() 12871 private static String categoryToString(int frameRateCategory) { in categoryToString() argument [all …]
|
D | View.java | 33937 int frameRateCategory = calculateFrameRateCategory(); in votePreferredFrameRate() local 33938 int category = frameRateCategory & ~FRAME_RATE_CATEGORY_REASON_MASK; in votePreferredFrameRate() 33939 int reason = frameRateCategory & FRAME_RATE_CATEGORY_REASON_MASK; in votePreferredFrameRate() 33941 mLastFrameRateCategory = frameRateCategory; in votePreferredFrameRate() 33986 int frameRateCategory; in votePreferredFrameRate() local 33988 frameRateCategory = calculateFrameRateCategory(); in votePreferredFrameRate() 33992 frameRateCategory = FRAME_RATE_CATEGORY_NO_PREFERENCE in votePreferredFrameRate() 33995 frameRateCategory = FRAME_RATE_CATEGORY_LOW in votePreferredFrameRate() 33998 frameRateCategory = FRAME_RATE_CATEGORY_NORMAL in votePreferredFrameRate() 34001 frameRateCategory = FRAME_RATE_CATEGORY_HIGH in votePreferredFrameRate() [all …]
|