Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java134 private final IPower mPowerHal; field in HintManagerService
171 mPowerHal = injector.createIPower(); in HintManagerService()
173 if (mPowerHal != null) { in HintManagerService()
175 mPowerHalVersion = mPowerHal.getInterfaceVersion(); in HintManagerService()
511 mPowerHal.closeSessionChannel(mTgid, mUid); in closeChannel()
532 mConfig = mPowerHal.getSessionChannel(mTgid, mUid); in openChannel()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp86 : mPowerHal(std::make_unique<power::PowerHalController>()), mFlinger(flinger) { in PowerAdvisor()
758 std::call_once(halFlag, [this] { mPowerHal->init(); }); in getPowerHal()
759 return *mPowerHal; in getPowerHal()
DPowerAdvisor.h156 std::unique_ptr<power::PowerHalController> mPowerHal; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp101 mPowerAdvisor->mPowerHal = std::make_unique<NiceMock<MockPowerHalController>>(); in SetUp()
103 reinterpret_cast<MockPowerHalController*>(mPowerAdvisor->mPowerHal.get()); in SetUp()