Home
last modified time | relevance | path

Searched refs:setBoost (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/powermanager/tests/
DPowerHalWrapperHidlV1_3Test.cpp98 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
100 result = mWrapper->setBoost(Boost::CAMERA_SHOT, 500); in TEST_F()
102 result = mWrapper->setBoost(Boost::CAMERA_LAUNCH, 300); in TEST_F()
113 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
122 auto result = mWrapper->setBoost(Boost::ML_ACC, 10); in TEST_F()
124 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 10); in TEST_F()
126 result = mWrapper->setBoost(Boost::AUDIO_LAUNCH, 10); in TEST_F()
DPowerHalWrapperHidlV1_2Test.cpp93 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
95 result = mWrapper->setBoost(Boost::CAMERA_SHOT, 500); in TEST_F()
97 result = mWrapper->setBoost(Boost::CAMERA_LAUNCH, 300); in TEST_F()
108 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
117 auto result = mWrapper->setBoost(Boost::ML_ACC, 10); in TEST_F()
119 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 10); in TEST_F()
121 result = mWrapper->setBoost(Boost::AUDIO_LAUNCH, 10); in TEST_F()
DPowerHalWrapperHidlV1_1Test.cpp80 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
91 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
100 auto result = mWrapper->setBoost(Boost::CAMERA_LAUNCH, 10); in TEST_F()
102 result = mWrapper->setBoost(Boost::ML_ACC, 10); in TEST_F()
104 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 10); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp74 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
85 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
94 auto result = mWrapper->setBoost(Boost::CAMERA_LAUNCH, 10); in TEST_F()
96 result = mWrapper->setBoost(Boost::ML_ACC, 10); in TEST_F()
98 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 10); in TEST_F()
DPowerHalWrapperAidlTest.cpp52 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
106 EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::DISPLAY_UPDATE_IMMINENT), Eq(100))) in TEST_F()
111 auto result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 100); in TEST_F()
122 EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::INTERACTION), Eq(100))) in TEST_F()
130 auto result = mWrapper->setBoost(Boost::INTERACTION, 100); in TEST_F()
132 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 1000); in TEST_F()
144 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
146 result = mWrapper->setBoost(Boost::CAMERA_SHOT, 10); in TEST_F()
157 auto& exp = EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::INTERACTION), Eq(100))) in TEST_F()
167 auto result = mWrapper->setBoost(Boost::INTERACTION, 100); in TEST_F()
DPowerHalControllerTest.cpp136 auto result = halController.setBoost(Boost::INTERACTION, 1000); in TEST_F()
161 auto result = mHalController->setBoost(Boost::INTERACTION, 100); in TEST_F()
184 auto result = mHalController->setBoost(Boost::INTERACTION, 1000); in TEST_F()
206 auto result = mHalController->setBoost(Boost::CAMERA_LAUNCH, 1000); in TEST_F()
227 auto result = mHalController->setBoost(Boost::INTERACTION, 1000); in TEST_F()
255 auto result = mHalController->setBoost(Boost::INTERACTION, 1000); in TEST_F()
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp34 HalResult<void> EmptyHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() function in android::power::EmptyHalWrapper
82 HalResult<void> HidlHalWrapperV1_0::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() function in android::power::HidlHalWrapperV1_0
86 return EmptyHalWrapper::setBoost(boost, durationMs); in setBoost()
145 HalResult<void> HidlHalWrapperV1_2::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() function in android::power::HidlHalWrapperV1_2
152 return HidlHalWrapperV1_1::setBoost(boost, durationMs); in setBoost()
189 HalResult<void> AidlHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() function in android::power::AidlHalWrapper
218 return HalResult<void>::fromStatus(mHandle->setBoost(boost, durationMs)); in setBoost()
DPowerHalController.cpp114 HalResult<void> PowerHalController::setBoost(aidl::android::hardware::power::Boost boost, in setBoost() function in android::power::PowerHalController
117 return processHalResult(handle->setBoost(boost, durationMs), "setBoost"); in setBoost()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h52 virtual HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
74 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
100 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
128 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
158 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
DPowerHalController.h60 virtual HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
/frameworks/native/services/powermanager/benchmarks/
DPowerHalControllerBenchmarks.cpp93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost()
98 runCachedBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoostCached()
DPowerHalAidlBenchmarks.cpp153 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockPowerHalController.h44 MOCK_METHOD(HalResult<void>, setBoost, (aidl::android::hardware::power::Boost, int32_t),
DMockIPower.h46 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp87 gPowerHalController.setBoost(boost, durationMs); in setPowerBoost()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp171 auto ret = getPowerHal().setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 0); in notifyDisplayUpdateImminentAndCpuReset()