Searched refs:PowerHalController (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalControllerBenchmarks.cpp | 29 using android::power::PowerHalController; 44 static void runBenchmark(benchmark::State& state, HalResult<T> (PowerHalController::*fn)(Args0...), in runBenchmark() 47 PowerHalController controller; in runBenchmark() 57 HalResult<T> (PowerHalController::*fn)(Args0...), Args1&&... args1) { in runCachedBenchmark() 58 PowerHalController controller; in runCachedBenchmark() 76 PowerHalController controller; in BM_PowerHalControllerBenchmarks_init() 82 PowerHalController controller; in BM_PowerHalControllerBenchmarks_initCached() 93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost() 98 runCachedBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoostCached() 103 runBenchmark(state, &PowerHalController::setMode, mode, false); in BM_PowerHalControllerBenchmarks_setMode() [all …]
|
/frameworks/native/services/powermanager/ |
D | PowerHalController.cpp | 66 void PowerHalController::init() { in init() 72 std::shared_ptr<HalWrapper> PowerHalController::initHal() { in initHal() 103 HalResult<T> PowerHalController::processHalResult(HalResult<T>&& result, const char* fnName) { in processHalResult() 114 HalResult<void> PowerHalController::setBoost(aidl::android::hardware::power::Boost boost, in setBoost() 120 HalResult<void> PowerHalController::setMode(aidl::android::hardware::power::Mode mode, in setMode() 128 HalResult<std::shared_ptr<PowerHintSessionWrapper>> PowerHalController::createHintSession( in createHintSession() 137 HalResult<std::shared_ptr<PowerHintSessionWrapper>> PowerHalController::createHintSessionWithConfig( in createHintSessionWithConfig() 149 HalResult<int64_t> PowerHalController::getHintSessionPreferredRate() { in getHintSessionPreferredRate() 156 HalResult<aidl::android::hardware::power::ChannelConfig> PowerHalController::getSessionChannel( in getSessionChannel() 164 HalResult<void> PowerHalController::closeSessionChannel(int tgid, int uid) { in closeSessionChannel()
|
D | Android.bp | 17 "PowerHalController.cpp",
|
/frameworks/native/include/powermanager/ |
D | PowerHalController.h | 51 class PowerHalController : public HalWrapper { 53 PowerHalController() : PowerHalController(std::make_unique<HalConnector>()) {} in PowerHalController() function 54 explicit PowerHalController(std::unique_ptr<HalConnector> connector) in PowerHalController() function 56 virtual ~PowerHalController() = default;
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalControllerTest.cpp | 100 mHalController = std::make_unique<PowerHalController>(std::move(halConnector)); in SetUp() 106 std::unique_ptr<PowerHalController> mHalController = nullptr; 129 PowerHalController halController(std::move(halConnector)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerHalController.h | 39 class MockPowerHalController : public power::PowerHalController {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.h | 156 std::unique_ptr<power::PowerHalController> mPowerHal; 261 power::PowerHalController& getPowerHal();
|
D | PowerAdvisor.cpp | 86 : mPowerHal(std::make_unique<power::PowerHalController>()), mFlinger(flinger) { in PowerAdvisor() 756 power::PowerHalController& PowerAdvisor::getPowerHal() { in getPowerHal()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 68 static power::PowerHalController gPowerHalController;
|
D | com_android_server_hint_HintManagerService.cpp | 52 static power::PowerHalController gPowerHalController;
|