Searched refs:getDefaultPowerPolicyForState (Results 1 – 7 of 7) sorted by relevance
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
H A D | PolicyReaderUnitTest.java | 215 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NOT_EXIST, in assertValidPolicyGroupPart() 221 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_MIXED, in assertValidPolicyGroupPart() 223 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_MIXED, in assertValidPolicyGroupPart() 225 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 227 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 229 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 231 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 236 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NOT_EXIST, in assertNoPolicyGroupPart() 238 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_BASIC, in assertNoPolicyGroupPart() 240 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_BASIC, in assertNoPolicyGroupPart() [all …]
|
/aosp12/packages/services/Car/cpp/powerpolicy/server/tests/ |
H A D | PolicyManagerTest.cpp | 187 auto policy = policyManager.getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, in checkPowerPolicyGroups() 193 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in checkPowerPolicyGroups() 208 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in checkInvalidPolicies() 212 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in checkInvalidPolicies() 281 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 285 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F() 308 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 312 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F() 326 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 330 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F()
|
/aosp12/packages/services/Car/cpp/powerpolicy/server/src/ |
H A D | PolicyManager.h | 70 android::base::Result<CarPowerPolicyPtr> getDefaultPowerPolicyForState(
|
H A D | PolicyManager.cpp | 475 Result<CarPowerPolicyPtr> PolicyManager::getDefaultPowerPolicyForState( in getDefaultPowerPolicyForState() function in android::frameworks::automotive::powerpolicy::PolicyManager
|
H A D | CarPowerPolicyServer.cpp | 649 if (auto policy = mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, in applyInitialPowerPolicy()
|
/aosp12/packages/services/Car/service/src/com/android/car/power/ |
H A D | PolicyReader.java | 169 CarPowerPolicy getDefaultPowerPolicyForState(String groupId, int state) { in getDefaultPowerPolicyForState() method in PolicyReader
|
H A D | CarPowerManagementService.java | 585 .getDefaultPowerPolicyForState(mCurrentPowerPolicyGroupId, state); in applyDefaultPowerPolicyForState()
|