Home
last modified time | relevance | path

Searched refs:isPreemptive (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java534 boolean isPreemptive; in handleOn()
536 isPreemptive = mPolicyReader.isPreemptivePowerPolicy(mCurrentPowerPolicyId); in handleOn()
538 if (!mSilentModeHandler.isSilentMode() && isPreemptive) { in handleOn()
1901 boolean isPreemptive = mPolicyReader.isPreemptivePowerPolicy(powerPolicyId); in applyPowerPolicyFromCommand()
1902 int status = isPreemptive ? applyPreemptivePowerPolicy(powerPolicyId) in applyPowerPolicyFromCommand()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.h57 bool isPreemptive = false; member
DPolicyManager.cpp463 .isPreemptive = false, in getPowerPolicy()
469 .isPreemptive = true, in getPowerPolicy()
DCarPowerPolicyServer.cpp504 if (policyMeta->isPreemptive) { in applyPowerPolicy()
505 if (isPolicyApplied && !mCurrentPowerPolicyMeta.isPreemptive) { in applyPowerPolicy()