Home
last modified time | relevance | path

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 DPolicyReaderUnitTest.java215 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 DPolicyManagerTest.cpp187 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 DPolicyManager.h70 android::base::Result<CarPowerPolicyPtr> getDefaultPowerPolicyForState(
H A DPolicyManager.cpp475 Result<CarPowerPolicyPtr> PolicyManager::getDefaultPowerPolicyForState( in getDefaultPowerPolicyForState() function in android::frameworks::automotive::powerpolicy::PolicyManager
H A DCarPowerPolicyServer.cpp649 if (auto policy = mPolicyManager.getDefaultPowerPolicyForState(currentPolicyGroupId, in applyInitialPowerPolicy()
/aosp12/packages/services/Car/service/src/com/android/car/power/
H A DPolicyReader.java169 CarPowerPolicy getDefaultPowerPolicyForState(String groupId, int state) { in getDefaultPowerPolicyForState() method in PolicyReader
H A DCarPowerManagementService.java585 .getDefaultPowerPolicyForState(mCurrentPowerPolicyGroupId, state); in applyDefaultPowerPolicyForState()