Home
last modified time | relevance | path

Searched refs:getDefaultPowerPolicyForState (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPolicyReaderUnitTest.java390 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/
DPolicyManagerTest.cpp425 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/
DPolicyManager.h79 android::base::Result<CarPowerPolicyPtr> getDefaultPowerPolicyForState(
DPolicyManager.cpp619 Result<CarPowerPolicyPtr> PolicyManager::getDefaultPowerPolicyForState( in getDefaultPowerPolicyForState() function in android::frameworks::automotive::powerpolicy::PolicyManager
DCarPowerPolicyServer.cpp1053 mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, apPowerState); in applyPowerPolicyPerPowerStateChangeAsync()
1826 if (auto policy = mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, in applyInitialPowerPolicy()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java193 CarPowerPolicy getDefaultPowerPolicyForState(String groupId, int state) { in getDefaultPowerPolicyForState() method in PolicyReader
DCarPowerManagementService.java1124 .getDefaultPowerPolicyForState(mCurrentPowerPolicyGroupId, state); in applyDefaultPowerPolicyForState()