Lines Matching refs:adpfs

789     std::vector<std::shared_ptr<AdpfConfig>> adpfs = HintManager::ParseAdpfConfigs(json_doc_);  in TEST_F()  local
790 EXPECT_EQ(2u, adpfs.size()); in TEST_F()
791 EXPECT_EQ("REFRESH_120FPS", adpfs[0]->mName); in TEST_F()
792 EXPECT_EQ("REFRESH_60FPS", adpfs[1]->mName); in TEST_F()
793 EXPECT_TRUE(adpfs[0]->mPidOn); in TEST_F()
794 EXPECT_FALSE(adpfs[1]->mPidOn); in TEST_F()
795 EXPECT_EQ(5.0, adpfs[0]->mPidPo); in TEST_F()
796 EXPECT_EQ(0.0, adpfs[1]->mPidPo); in TEST_F()
797 EXPECT_EQ(3.0, adpfs[0]->mPidPu); in TEST_F()
798 EXPECT_EQ(0.0, adpfs[1]->mPidPu); in TEST_F()
799 EXPECT_EQ(0.001, adpfs[0]->mPidI); in TEST_F()
800 EXPECT_EQ(0.0, adpfs[1]->mPidI); in TEST_F()
801 EXPECT_EQ(200LL, adpfs[0]->mPidIInit); in TEST_F()
802 EXPECT_EQ(0LL, adpfs[1]->mPidIInit); in TEST_F()
803 EXPECT_EQ(512LL, adpfs[0]->mPidIHigh); in TEST_F()
804 EXPECT_EQ(0LL, adpfs[1]->mPidIHigh); in TEST_F()
805 EXPECT_EQ(-120LL, adpfs[0]->mPidILow); in TEST_F()
806 EXPECT_EQ(0LL, adpfs[1]->mPidILow); in TEST_F()
807 EXPECT_EQ(500.0, adpfs[0]->mPidDo); in TEST_F()
808 EXPECT_EQ(0.0, adpfs[1]->mPidDo); in TEST_F()
809 EXPECT_EQ(500.0, adpfs[0]->mPidDo); in TEST_F()
810 EXPECT_EQ(0.0, adpfs[1]->mPidDo); in TEST_F()
811 EXPECT_EQ(1LLU, adpfs[0]->mSamplingWindowP); in TEST_F()
812 EXPECT_EQ(0LLU, adpfs[1]->mSamplingWindowP); in TEST_F()
813 EXPECT_EQ(0LLU, adpfs[0]->mSamplingWindowI); in TEST_F()
814 EXPECT_EQ(0LLU, adpfs[1]->mSamplingWindowI); in TEST_F()
815 EXPECT_EQ(1LLU, adpfs[0]->mSamplingWindowD); in TEST_F()
816 EXPECT_EQ(0LLU, adpfs[1]->mSamplingWindowD); in TEST_F()
817 EXPECT_TRUE(adpfs[0]->mUclampMinOn); in TEST_F()
818 EXPECT_TRUE(adpfs[1]->mUclampMinOn); in TEST_F()
819 EXPECT_EQ(100U, adpfs[0]->mUclampMinInit); in TEST_F()
820 EXPECT_EQ(200U, adpfs[0]->mUclampMinLoadUp); in TEST_F()
821 EXPECT_EQ(300U, adpfs[0]->mUclampMinLoadReset); in TEST_F()
822 EXPECT_EQ(200U, adpfs[1]->mUclampMinInit); in TEST_F()
823 EXPECT_EQ(384U, adpfs[0]->mUclampMinHigh); in TEST_F()
824 EXPECT_EQ(157U, adpfs[1]->mUclampMinHigh); in TEST_F()
825 EXPECT_EQ(157U, adpfs[1]->mUclampMinLoadUp); in TEST_F()
826 EXPECT_EQ(157U, adpfs[1]->mUclampMinLoadReset); in TEST_F()
827 EXPECT_EQ(0U, adpfs[0]->mUclampMinLow); in TEST_F()
828 EXPECT_EQ(157U, adpfs[1]->mUclampMinLow); in TEST_F()
829 EXPECT_EQ(166666660LL, adpfs[0]->mReportingRateLimitNs); in TEST_F()
830 EXPECT_EQ(83333330LL, adpfs[1]->mReportingRateLimitNs); in TEST_F()
831 EXPECT_EQ(1.0, adpfs[0]->mTargetTimeFactor); in TEST_F()
832 EXPECT_EQ(1.4, adpfs[1]->mTargetTimeFactor); in TEST_F()
833 EXPECT_EQ(10.0, adpfs[0]->mStaleTimeFactor); in TEST_F()
834 EXPECT_EQ(5.0, adpfs[1]->mStaleTimeFactor); in TEST_F()
835 EXPECT_TRUE(adpfs[0]->mHeuristicBoostOn.value()); in TEST_F()
836 EXPECT_FALSE(adpfs[1]->mHeuristicBoostOn.has_value()); in TEST_F()
837 EXPECT_EQ(4U, adpfs[0]->mHBoostOnMissedCycles.value()); in TEST_F()
838 EXPECT_FALSE(adpfs[1]->mHBoostOnMissedCycles.has_value()); in TEST_F()
839 EXPECT_EQ(4.0, adpfs[0]->mHBoostOffMaxAvgRatio.value()); in TEST_F()
840 EXPECT_FALSE(adpfs[1]->mHBoostOffMaxAvgRatio.has_value()); in TEST_F()
841 EXPECT_EQ(2U, adpfs[0]->mHBoostOffMissedCycles.value()); in TEST_F()
842 EXPECT_FALSE(adpfs[1]->mHBoostOffMissedCycles.has_value()); in TEST_F()
843 EXPECT_EQ(0.5, adpfs[0]->mHBoostPidPuFactor.value()); in TEST_F()
844 EXPECT_FALSE(adpfs[1]->mHBoostPidPuFactor.has_value()); in TEST_F()
845 EXPECT_EQ(800U, adpfs[0]->mHBoostUclampMin.value()); in TEST_F()
846 EXPECT_FALSE(adpfs[1]->mHBoostUclampMin.has_value()); in TEST_F()
847 EXPECT_EQ(1.2, adpfs[0]->mJankCheckTimeFactor.value()); in TEST_F()
848 EXPECT_FALSE(adpfs[1]->mJankCheckTimeFactor.has_value()); in TEST_F()
849 EXPECT_EQ(25U, adpfs[0]->mLowFrameRateThreshold.value()); in TEST_F()
850 EXPECT_FALSE(adpfs[1]->mLowFrameRateThreshold.has_value()); in TEST_F()
851 EXPECT_EQ(50U, adpfs[0]->mMaxRecordsNum.value()); in TEST_F()
852 EXPECT_FALSE(adpfs[1]->mMaxRecordsNum.has_value()); in TEST_F()
860 std::vector<std::shared_ptr<AdpfConfig>> adpfs = HintManager::ParseAdpfConfigs(json_doc_); in TEST_F() local
861 EXPECT_EQ(0u, adpfs.size()); in TEST_F()
869 std::vector<std::shared_ptr<AdpfConfig>> adpfs = HintManager::ParseAdpfConfigs(json_doc_); in TEST_F() local
870 EXPECT_EQ(0u, adpfs.size()); in TEST_F()
878 std::vector<std::shared_ptr<AdpfConfig>> adpfs = HintManager::ParseAdpfConfigs(json_doc_); in TEST_F() local
879 EXPECT_EQ(0u, adpfs.size()); in TEST_F()