/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperHidlV1_3Test.cpp | 98 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()
|
D | PowerHalWrapperHidlV1_2Test.cpp | 93 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()
|
D | PowerHalWrapperHidlV1_1Test.cpp | 80 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()
|
D | PowerHalWrapperHidlV1_0Test.cpp | 74 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()
|
D | PowerHalWrapperAidlTest.cpp | 52 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()
|
D | PowerHalControllerTest.cpp | 136 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/ |
D | PowerHalWrapper.cpp | 34 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()
|
D | PowerHalController.cpp | 114 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/ |
D | PowerHalWrapper.h | 52 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,
|
D | PowerHalController.h | 60 virtual HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalControllerBenchmarks.cpp | 93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost() 98 runCachedBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoostCached()
|
D | PowerHalAidlBenchmarks.cpp | 153 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerHalController.h | 44 MOCK_METHOD(HalResult<void>, setBoost, (aidl::android::hardware::power::Boost, int32_t),
|
D | MockIPower.h | 46 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 87 gPowerHalController.setBoost(boost, durationMs); in setPowerBoost()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 171 auto ret = getPowerHal().setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 0); in notifyDisplayUpdateImminentAndCpuReset()
|