Home
last modified time | relevance | path

Searched refs:mPowerComponentHandler (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java337 private final PowerComponentHandler mPowerComponentHandler; field in CarPowerManagementService
354 mPowerComponentHandler.registerCustomComponents(customComponents); in readPowerPolicyFromXml()
389 private PowerComponentHandler mPowerComponentHandler; field in CarPowerManagementService.Builder
455 mPowerComponentHandler = powerComponentHandler; in setPowerComponentHandler()
573 mPowerComponentHandler = Objects.requireNonNullElseGet(builder.mPowerComponentHandler, in CarPowerManagementService()
607 mPowerComponentHandler.init(mPolicyReader.getCustomComponents()); in init()
690 mPowerComponentHandler.dump(writer); in dump()
750 mPowerComponentHandler.dumpProto(proto); in dumpProto()
2049 return mPowerComponentHandler.getAccumulatedPolicy(); in getCurrentPowerPolicy()
2245 mPowerComponentHandler.applyPowerPolicy(convertPowerPolicyFromDaemon(policy)); in updatePowerComponents()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java231 private PowerComponentHandler mPowerComponentHandler; field in CarPowerManagementServiceUnitTest
1109 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled()
1943 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testDisableWifiAndTethering()
2400 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testOnInitComplete()
2440 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testOnInitComplete_flagDisabled_doNothing()
2464 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testOnInitComplete_bootupReasonNotSupported()
2497 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testOnInitComplete_bootUpReasonNotGarageMode()
2537 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in testOnInitComplete_vehicleInUse()
2620 mPowerComponentHandler = new PowerComponentHandler(mContext, mSystemInterface, in setService()
2629 .setPowerComponentHandler(mPowerComponentHandler).setFeatureFlags(mFeatureFlags) in setService()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java129 private PowerComponentHandler mPowerComponentHandler; field in CarPowerManagerUnitTest
463 mPowerComponentHandler = new PowerComponentHandler(mContext, mSystemInterface, in setService()
475 .setPowerComponentHandler(mPowerComponentHandler).build(); in setService()