Searched refs:getThresholdForAppId (Results 1 – 5 of 5) sorted by relevance
43 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()
32 std::optional<float> getThresholdForAppId(int32_t uid) EXCLUDES(mLock);
39 std::optional<float> SmallAreaDetectionAllowMappings::getThresholdForAppId(int32_t appId) { in getThresholdForAppId() function in android::scheduler::SmallAreaDetectionAllowMappings
334 mSmallAreaDetectionAllowMappings.getThresholdForAppId(appId).has_value(); in supportSmallDirtyDetection()
1282 std::optional<float> oThreshold = mSmallAreaDetectionAllowMappings.getThresholdForAppId(appId); in isSmallDirtyArea()