Home
last modified time | relevance | path

Searched refs:getThresholdForAppId (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSmallAreaDetectionAllowMappingsTest.cpp43 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1).value(), kThreshold1); in TEST_F()
44 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId2).value(), kThreshold2); in TEST_F()
49 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1), kThreshold1); in TEST_F()
53 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1), std::nullopt); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DSmallAreaDetectionAllowMappings.h32 std::optional<float> getThresholdForAppId(int32_t uid) EXCLUDES(mLock);
DSmallAreaDetectionAllowMappings.cpp39 std::optional<float> SmallAreaDetectionAllowMappings::getThresholdForAppId(int32_t appId) { in getThresholdForAppId() function in android::scheduler::SmallAreaDetectionAllowMappings
DScheduler.h334 mSmallAreaDetectionAllowMappings.getThresholdForAppId(appId).has_value(); in supportSmallDirtyDetection()
DScheduler.cpp1282 std::optional<float> oThreshold = mSmallAreaDetectionAllowMappings.getThresholdForAppId(appId); in isSmallDirtyArea()