Searched refs:getDefaultPowerPolicyForState (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PolicyReaderUnitTest.java | 390 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NOT_EXIST, in assertValidPolicyGroupPart() 396 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_MIXED, in assertValidPolicyGroupPart() 398 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_MIXED, in assertValidPolicyGroupPart() 400 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 402 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 404 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 406 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NO_DEFAULT_POLICY, in assertValidPolicyGroupPart() 411 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_NOT_EXIST, in assertNoPolicyGroupPart() 413 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_BASIC, in assertNoPolicyGroupPart() 415 assertThat(mPolicyReader.getDefaultPowerPolicyForState(POLICY_GROUP_ID_BASIC, in assertNoPolicyGroupPart() [all …]
|
/packages/services/Car/cpp/power/server/tests/ |
D | PolicyManagerTest.cpp | 425 auto policy = policyManager.getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, in checkPowerPolicyGroups() 431 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in checkPowerPolicyGroups() 446 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in checkInvalidPolicies() 450 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in checkInvalidPolicies() 528 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 532 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F() 555 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 559 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F() 596 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kExistingTransition) in TEST_F() 600 .getDefaultPowerPolicyForState(kValidPowerPolicyGroupId, kNonExistingTransition) in TEST_F() [all …]
|
/packages/services/Car/cpp/power/server/src/ |
D | PolicyManager.h | 79 android::base::Result<CarPowerPolicyPtr> getDefaultPowerPolicyForState(
|
D | PolicyManager.cpp | 619 Result<CarPowerPolicyPtr> PolicyManager::getDefaultPowerPolicyForState( in getDefaultPowerPolicyForState() function in android::frameworks::automotive::powerpolicy::PolicyManager
|
D | CarPowerPolicyServer.cpp | 1053 mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, apPowerState); in applyPowerPolicyPerPowerStateChangeAsync() 1826 if (auto policy = mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, in applyInitialPowerPolicy()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PolicyReader.java | 193 CarPowerPolicy getDefaultPowerPolicyForState(String groupId, int state) { in getDefaultPowerPolicyForState() method in PolicyReader
|
D | CarPowerManagementService.java | 1124 .getDefaultPowerPolicyForState(mCurrentPowerPolicyGroupId, state); in applyDefaultPowerPolicyForState()
|