Home
last modified time | relevance | path

Searched refs:currentPolicy (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java139 final int currentPolicy = mCurrentScreenPolicy; in recordScreenPolicy() local
146 switch (currentPolicy) { in recordScreenPolicy()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxConfigurationPersister.java283 final ThreadPolicy currentPolicy = StrictMode.getThreadPolicy(); in runWithDiskReadsThreadPolicy() local
286 setThreadPolicy(currentPolicy); in runWithDiskReadsThreadPolicy()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp1553 if (const Policy* currentPolicy = getCurrentPolicyLocked(); in getIdleTimerAction() local
1554 isApproxLess(currentPolicy->primaryRanges.physical.min, deviceMinFps)) { in getIdleTimerAction()
1610 if (const Policy& currentPolicy = *getCurrentPolicyLocked(); in dump() local
1611 mOverridePolicy && currentPolicy != mDisplayManagerPolicy) { in dump()
1612 dumper.dump("overridePolicy"sv, currentPolicy.toString()); in dump()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14767 LockTaskPolicy currentPolicy = mDevicePolicyEngine.getLocalPolicySetByAdmin( in setLockTaskPackages() local
14772 if (currentPolicy == null) { in setLockTaskPackages()
14775 policy = new LockTaskPolicy(currentPolicy); in setLockTaskPackages()
14850 LockTaskPolicy currentPolicy = mDevicePolicyEngine.getLocalPolicySetByAdmin( in setLockTaskFeatures() local
14855 if (currentPolicy == null) { in setLockTaskFeatures()
14858 policy = new LockTaskPolicy(currentPolicy); in setLockTaskFeatures()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp8739 const scheduler::RefreshRateSelector::Policy currentPolicy = selector.getCurrentPolicy(); in applyRefreshRateSelectorPolicy() local
8740 ALOGV("Setting desired display mode specs: %s", currentPolicy.toString().c_str()); in applyRefreshRateSelectorPolicy()
8751 auto preferredModeOpt = getPreferredDisplayMode(displayId, currentPolicy.defaultMode); in applyRefreshRateSelectorPolicy()