Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java74 private boolean mDeviceIdleMode; field in DeviceIdleJobsController
145 if (mDeviceIdleMode != enabled) { in updateIdleMode()
148 mDeviceIdleMode = enabled; in updateIdleMode()
149 if (DEBUG) Slog.d(TAG, "mDeviceIdleMode=" + mDeviceIdleMode); in updateIdleMode()
210 final boolean enableTask = !mDeviceIdleMode || whitelisted || allowInIdle; in updateTaskStateLocked()
233 pw.println("Idle mode: " + mDeviceIdleMode); in dumpControllerStateLocked()
263 mDeviceIdleMode); in dumpControllerStateLocked()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java504 private boolean mDeviceIdleMode; field in PowerManagerService
2705 return mDeviceIdleMode; in isDeviceIdleModeInternal()
2823 if (mDeviceIdleMode == enabled) { in setDeviceIdleModeInternal()
2826 mDeviceIdleMode = enabled; in setDeviceIdleModeInternal()
2850 if (mDeviceIdleMode) { in setDeviceIdleWhitelistInternal()
2859 if (mDeviceIdleMode) { in setDeviceIdleTempWhitelistInternal()
2900 if (mDeviceIdleMode) { in updateUidProcStateInternal()
2920 if (mDeviceIdleMode && state.mNumWakeLocks > 0) { in uidGoneInternal()
2991 if (mDeviceIdleMode) { in setWakeLockDisabledStateLocked()
3264 pw.println(" mDeviceIdleMode=" + mDeviceIdleMode); in dumpInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java425 @GuardedBy("mUidRulesFirstLock") volatile boolean mDeviceIdleMode; field in NetworkPolicyManagerService
2886 if (mDeviceIdleMode == enabled) { in setDeviceIdleMode()
2889 mDeviceIdleMode = enabled; in setDeviceIdleMode()
3262 fout.print("Device idle: "); fout.println(mDeviceIdleMode); in dump()
3478 if (mDeviceIdleMode) { in updateUidStateUL()
3501 if (mDeviceIdleMode) { in removeUidStateUL()
3554 updateRulesForWhitelistedPowerSaveUL(mDeviceIdleMode, FIREWALL_CHAIN_DOZABLE, in updateRulesForDeviceIdleUL()
3562 updateRulesForWhitelistedPowerSaveUL(uid, mDeviceIdleMode, FIREWALL_CHAIN_DOZABLE); in updateRuleForDeviceIdleUL()
4145 final boolean restrictMode = isIdle || mRestrictPower || mDeviceIdleMode; in updateRulesForPowerRestrictionsULInner()
4148 final boolean isWhitelisted = isWhitelistedBatterySaverUL(uid, mDeviceIdleMode); in updateRulesForPowerRestrictionsULInner()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java757 int mDeviceIdleMode; field in BatteryStatsImpl
5161 if (mDeviceIdleMode != mode) { in noteDeviceIdleModeLocked()
5169 if (mDeviceIdleMode == DEVICE_IDLE_MODE_LIGHT) { in noteDeviceIdleModeLocked()
5174 } else if (mDeviceIdleMode == DEVICE_IDLE_MODE_DEEP) { in noteDeviceIdleModeLocked()
5185 mDeviceIdleMode = mode; in noteDeviceIdleModeLocked()
12605 if (mDeviceIdleMode == DEVICE_IDLE_MODE_LIGHT) { in setBatteryStateLocked()
12607 } else if (mDeviceIdleMode == DEVICE_IDLE_MODE_DEEP) { in setBatteryStateLocked()
12656 if (mDeviceIdleMode == DEVICE_IDLE_MODE_LIGHT) { in setBatteryStateLocked()
12658 } else if (mDeviceIdleMode == DEVICE_IDLE_MODE_DEEP) { in setBatteryStateLocked()