Home
last modified time | relevance | path

Searched refs:PowerComponentHandler (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/src/
DPowerComponentHandler.cpp38 void PowerComponentHandler::init() { in init()
49 void PowerComponentHandler::applyPowerPolicy(const CarPowerPolicyPtr& powerPolicy) { in applyPowerPolicy()
109 Result<bool> PowerComponentHandler::getCustomPowerComponentState(const int componentId) const { in getCustomPowerComponentState()
116 Result<bool> PowerComponentHandler::getPowerComponentState(const PowerComponent componentId) const { in getPowerComponentState()
122 CarPowerPolicyPtr PowerComponentHandler::getAccumulatedPolicy() const { in getAccumulatedPolicy()
127 Result<void> PowerComponentHandler::dump(int fd) { in dump()
DPowerComponentHandler.h35 class PowerComponentHandler final {
37 PowerComponentHandler() {} in PowerComponentHandler() function
DCarPowerPolicyServer.h341 PowerComponentHandler mComponentHandler;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java65 private PowerComponentHandler mHandler;
71 mHandler = new PowerComponentHandler(mContext, mSystemInterface, in setUp()
158 PowerComponentHandler.PowerComponentMediator mediator = in testPowerComponentMediator()
172 PowerComponentHandler.PowerComponentMediator {
DCarPowerManagementServiceUnitTest.java231 private PowerComponentHandler mPowerComponentHandler;
2620 mPowerComponentHandler = new PowerComponentHandler(mContext, mSystemInterface, in setService()
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java74 public final class PowerComponentHandler { class
75 private static final String TAG = CarLog.tagFor(PowerComponentHandler.class);
101 PowerComponentHandler(Context context, SystemInterface systemInterface) { in PowerComponentHandler() method in PowerComponentHandler
106 public PowerComponentHandler(Context context, SystemInterface systemInterface, in PowerComponentHandler() method in PowerComponentHandler
DCarPowerManagementService.java337 private final PowerComponentHandler mPowerComponentHandler;
389 private PowerComponentHandler mPowerComponentHandler;
454 public Builder setPowerComponentHandler(PowerComponentHandler powerComponentHandler) { in setPowerComponentHandler()
574 () -> new PowerComponentHandler(mContext, mSystemInterface)); in CarPowerManagementService()
/packages/services/Car/cpp/powerpolicy/server/
DAndroid.bp58 "src/PowerComponentHandler.cpp",
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java76 import com.android.car.power.PowerComponentHandler;
129 private PowerComponentHandler mPowerComponentHandler;
463 mPowerComponentHandler = new PowerComponentHandler(mContext, mSystemInterface, in setService()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp72 PowerComponentHandler handler;
DCarPowerPolicyServerTest.cpp267 PowerComponentHandler& componentHandler = mServer->mComponentHandler; in initializePowerComponentHandler()