Home
last modified time | relevance | path

Searched refs:powerHint (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/powermanager/tests/
DPowerHalWrapperHidlV1_0Test.cpp44 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override));
72 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::INTERACTION), Eq(1000))).Times(Exactly(1)); in TEST_F()
79 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::INTERACTION), Eq(1000))) in TEST_F()
90 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in TEST_F()
105 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(true))).Times(Exactly(1)); in TEST_F()
106 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LOW_POWER), Eq(false))) in TEST_F()
108 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::SUSTAINED_PERFORMANCE), Eq(true))) in TEST_F()
110 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::VR_MODE), Eq(false))) in TEST_F()
133 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))) in TEST_F()
144 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in TEST_F()
DPowerHalControllerTest.cpp45 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override));
156 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::INTERACTION), Eq(100))) in TEST_F()
158 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))).Times(Exactly(1)); in TEST_F()
177 ON_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), _)) in TEST_F()
182 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(Exactly(4)); in TEST_F()
222 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(Exactly(10)); in TEST_F()
245 ON_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), _)) in TEST_F()
250 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(Exactly(40)); in TEST_F()
DPowerHalWrapperHidlV1_1Test.cpp45 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override));
71 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
DPowerHalWrapperHidlV1_2Test.cpp47 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHintV1_0 hint, int32_t data), (override));
76 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
DPowerHalWrapperHidlV1_3Test.cpp48 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHintV1_0 hint, int32_t data), (override));
80 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalHidlBenchmarks.cpp78 PowerHint powerHint = static_cast<PowerHint>(state.range(0)); in BM_PowerHalHidlBenchmarks_powerHint() local
79 runBenchmark(state, 0us, &IPower1_0::powerHint, powerHint, 0); in BM_PowerHalHidlBenchmarks_powerHint()
83 PowerHint powerHint = static_cast<PowerHint>(state.range(0)); in BM_PowerHalHidlBenchmarks_powerHintAsync() local
84 runBenchmark(state, ONEWAY_API_DELAY, &IPower1_1::powerHintAsync, powerHint, 0); in BM_PowerHalHidlBenchmarks_powerHintAsync()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h162 const auto& powerHint = *vrrConfig->frameIntervalPowerHints; in to_string() local
163 for (size_t i = 0; i < powerHint.size(); i++) { in to_string()
165 out << "[frameIntervalNs=" << powerHint[i]->frameIntervalNs in to_string()
166 << ", averageRefreshPeriodNs=" << powerHint[i]->averageRefreshPeriodNs << "]"; in to_string()
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp111 auto ret = mHandleV1_0->powerHint(static_cast<V1_0::PowerHint>(hintId), data); in sendPowerHint()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt36245 Landroid/os/IPowerManager$Stub$Proxy;->powerHint(II)V
36295 Landroid/os/IPowerManager;->powerHint(II)V
37578 Landroid/os/PowerManagerInternal;->powerHint(II)V