Searched refs:currentPolicy (Results 1 – 5 of 5) sorted by relevance
139 final int currentPolicy = mCurrentScreenPolicy; in recordScreenPolicy() local146 switch (currentPolicy) { in recordScreenPolicy()
283 final ThreadPolicy currentPolicy = StrictMode.getThreadPolicy(); in runWithDiskReadsThreadPolicy() local286 setThreadPolicy(currentPolicy); in runWithDiskReadsThreadPolicy()
1553 if (const Policy* currentPolicy = getCurrentPolicyLocked(); in getIdleTimerAction() local1554 isApproxLess(currentPolicy->primaryRanges.physical.min, deviceMinFps)) { in getIdleTimerAction()1610 if (const Policy& currentPolicy = *getCurrentPolicyLocked(); in dump() local1611 mOverridePolicy && currentPolicy != mDisplayManagerPolicy) { in dump()1612 dumper.dump("overridePolicy"sv, currentPolicy.toString()); in dump()
14767 LockTaskPolicy currentPolicy = mDevicePolicyEngine.getLocalPolicySetByAdmin( in setLockTaskPackages() local14772 if (currentPolicy == null) { in setLockTaskPackages()14775 policy = new LockTaskPolicy(currentPolicy); in setLockTaskPackages()14850 LockTaskPolicy currentPolicy = mDevicePolicyEngine.getLocalPolicySetByAdmin( in setLockTaskFeatures() local14855 if (currentPolicy == null) { in setLockTaskFeatures()14858 policy = new LockTaskPolicy(currentPolicy); in setLockTaskFeatures()
8739 const scheduler::RefreshRateSelector::Policy currentPolicy = selector.getCurrentPolicy(); in applyRefreshRateSelectorPolicy() local8740 ALOGV("Setting desired display mode specs: %s", currentPolicy.toString().c_str()); in applyRefreshRateSelectorPolicy()8751 auto preferredModeOpt = getPreferredDisplayMode(displayId, currentPolicy.defaultMode); in applyRefreshRateSelectorPolicy()