Home
last modified time | relevance | path

Searched refs:getMaxDuration (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionRecordsTest.cpp64 ASSERT_FALSE(mRecords->getMaxDuration().has_value()); in TEST_F()
72 ASSERT_EQ(MS_TO_US(4), mRecords->getMaxDuration().value()); in TEST_F()
79 ASSERT_EQ(MS_TO_US(3), mRecords->getMaxDuration().value()); in TEST_F()
86 ASSERT_EQ(MS_TO_US(8), mRecords->getMaxDuration().value()); in TEST_F()
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionRecords.h48 std::optional<int32_t> getMaxDuration();
DSessionRecords.cpp90 std::optional<int32_t> SessionRecords::getMaxDuration() { in getMaxDuration() function in aidl::google::hardware::power::impl::pixel::SessionRecords
DPowerHintSession.cpp297 auto maxDurationUs = mSessionRecords->getMaxDuration(); // micro seconds in updateHeuristicBoost()