Searched refs:powerHint (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperHidlV1_0Test.cpp | 44 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()
|
D | PowerHalControllerTest.cpp | 45 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()
|
D | PowerHalWrapperHidlV1_1Test.cpp | 45 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override)); 71 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
|
D | PowerHalWrapperHidlV1_2Test.cpp | 47 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHintV1_0 hint, int32_t data), (override)); 76 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
|
D | PowerHalWrapperHidlV1_3Test.cpp | 48 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/ |
D | PowerHalHidlBenchmarks.cpp | 78 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/ |
D | Hal.h | 162 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/ |
D | PowerHalWrapper.cpp | 111 auto ret = mHandleV1_0->powerHint(static_cast<V1_0::PowerHint>(hintId), data); in sendPowerHint()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 36245 Landroid/os/IPowerManager$Stub$Proxy;->powerHint(II)V 36295 Landroid/os/IPowerManager;->powerHint(II)V 37578 Landroid/os/PowerManagerInternal;->powerHint(II)V
|