Home
last modified time | relevance | path

Searched refs:powerPolicyPerState (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java283 String policyGroupId, String[] powerPolicyPerState) { in notifyPowerPolicyGroupDefinition() argument
284 String waitForVhalPolicyId = powerPolicyPerState[0]; in notifyPowerPolicyGroupDefinition()
289 String onPolicyId = powerPolicyPerState[1]; in notifyPowerPolicyGroupDefinition()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp666 const std::string& policyGroupId, const std::vector<std::string>& powerPolicyPerState) { in definePowerPolicyGroup() argument
670 if (powerPolicyPerState.size() != 2) { in definePowerPolicyGroup()
677 if (const auto& policy = getPowerPolicy(powerPolicyPerState[i]); policy.ok()) { in definePowerPolicyGroup()
678 policyGroup[powerState] = powerPolicyPerState[i]; in definePowerPolicyGroup()
679 } else if (!powerPolicyPerState[i].empty()) { in definePowerPolicyGroup()
DCarPowerPolicyServer.cpp297 const std::string& policyGroupId, const std::vector<std::string>& powerPolicyPerState) { in notifyPowerPolicyGroupDefinition() argument
299 [policyGroupId, powerPolicyPerState](CarPowerPolicyServer* service) -> ScopedAStatus { in notifyPowerPolicyGroupDefinition()
301 powerPolicyPerState); in notifyPowerPolicyGroupDefinition()
567 const std::string& policyGroupId, const std::vector<std::string>& powerPolicyPerState) { in notifyPowerPolicyGroupDefinition() argument
572 const auto& ret = mPolicyManager.definePowerPolicyGroup(policyGroupId, powerPolicyPerState); in notifyPowerPolicyGroupDefinition()
DPolicyManager.h88 const std::string& policyGroupId, const std::vector<std::string>& powerPolicyPerState);
DCarPowerPolicyServer.h149 const std::vector<std::string>& powerPolicyPerState) override;
222 const std::string& policyGroupId, const std::vector<std::string>& powerPolicyPerState);
/packages/services/Car/cpp/powerpolicy/aidl/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl106 in String[] powerPolicyPerState); in notifyPowerPolicyGroupDefinition() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/1/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl41 …ifyPowerPolicyGroupDefinition(in @utf8InCpp String policyGroupId, in String[] powerPolicyPerState); in notifyPowerPolicyGroupDefinition() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/current/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl41 …ifyPowerPolicyGroupDefinition(in @utf8InCpp String policyGroupId, in String[] powerPolicyPerState); in notifyPowerPolicyGroupDefinition() argument
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3560 String[] powerPolicyPerState = {"", ""}; in definePowerPolicyGroupFromCommand() local
3575 powerPolicyPerState[INDEX_WAIT_FOR_VHAL] = tokens[1]; in definePowerPolicyGroupFromCommand()
3578 powerPolicyPerState[INDEX_ON] = tokens[1]; in definePowerPolicyGroupFromCommand()
3589 daemon.notifyPowerPolicyGroupDefinition(policyGroupId, powerPolicyPerState); in definePowerPolicyGroupFromCommand()