Home
last modified time | relevance | path

Searched refs:isPowerPolicyGroupAvailable (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/services/Car/cpp/powerpolicy/server/src/
H A DPolicyManager.h73 bool isPowerPolicyGroupAvailable(const std::string& groupId) const;
H A DPolicyManager.cpp488 bool PolicyManager::isPowerPolicyGroupAvailable(const std::string& groupId) const { in isPowerPolicyGroupAvailable() function in android::frameworks::automotive::powerpolicy::PolicyManager
H A DCarPowerPolicyServer.cpp538 if (!mPolicyManager.isPowerPolicyGroupAvailable(groupId)) { in setPowerPolicyGroup()
/aosp12/packages/services/Car/cpp/powerpolicy/server/tests/
H A DPolicyManagerTest.cpp370 ASSERT_TRUE(policyManager.isPowerPolicyGroupAvailable(kValidPowerPolicyGroupId)); in TEST_F()
371 ASSERT_FALSE(policyManager.isPowerPolicyGroupAvailable(kInvalidPowerPolicyGroupId)); in TEST_F()
/aosp12/packages/services/Car/service/src/com/android/car/power/
H A DPolicyReader.java192 boolean isPowerPolicyGroupAvailable(String groupId) { in isPowerPolicyGroupAvailable() method in PolicyReader
H A DCarPowerManagementService.java1239 if (!mPolicyReader.isPowerPolicyGroupAvailable(policyGroupId)) { in setCurrentPowerPolicyGroup()