Home
last modified time | relevance | path

Searched refs:paroled (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java461 void setAppIdleParoled(boolean paroled) { in setAppIdleParoled() argument
464 if (mAppIdleTempParoled != paroled) { in setAppIdleParoled()
465 mAppIdleTempParoled = paroled; in setAppIdleParoled()
467 if (paroled) { in setAppIdleParoled()
621 boolean paroled = false; in onDeviceIdleModeChanged()
629 paroled = true; in onDeviceIdleModeChanged()
632 paroled = false; in onDeviceIdleModeChanged()
637 setAppIdleParoled(paroled); in onDeviceIdleModeChanged()
1128 final boolean paroled = isParoledOrCharging(); in informParoleStateChanged()
1130 listener.onParoleStateChanged(paroled); in informParoleStateChanged()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2993 boolean paroled = mUsageStats.isAppIdleParoleOn(); in updateRulesForAppIdleParoleUL()
2994 boolean enableChain = !paroled; in updateRulesForAppIdleParoleUL()
3011 final int newUidRules = updateRulesForPowerRestrictionsUL(uid, oldRules, paroled); in updateRulesForAppIdleParoleUL()
3427 private int updateRulesForPowerRestrictionsUL(int uid, int oldUidRules, boolean paroled) { in updateRulesForPowerRestrictionsUL() argument
3431 + (paroled ? "P" : "-")); in updateRulesForPowerRestrictionsUL()
3434 return updateRulesForPowerRestrictionsULInner(uid, oldUidRules, paroled); in updateRulesForPowerRestrictionsUL()
3440 private int updateRulesForPowerRestrictionsULInner(int uid, int oldUidRules, boolean paroled) { in updateRulesForPowerRestrictionsULInner() argument
3446 final boolean isIdle = !paroled && isUidIdle(uid); in updateRulesForPowerRestrictionsULInner()