Searched refs:wasEnabled (Results 1 – 10 of 10) sorted by relevance
105 boolean wasEnabled = tv().setArcStatus(enabled); in setArcStatus()106 Slog.i(TAG, "Change arc status [old:" + wasEnabled + ", new:" + enabled + "]"); in setArcStatus()110 if (!enabled && wasEnabled) { in setArcStatus()
76 final boolean wasEnabled = mState.value; in handleClick()78 mController.setLocationEnabled(!wasEnabled); in handleClick()82 final boolean wasEnabled = mState.value; in handleClick()83 mController.setLocationEnabled(!wasEnabled); in handleClick()
39 bool wasEnabled = mIsEnabled; in setEnabled() local41 if (isEnabled != wasEnabled) { in setEnabled()79 return wasEnabled; in setEnabled()
147 final boolean wasEnabled = isEnabledLocked(); in updateLocked()149 Slog.v(mTag, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()158 return wasEnabled != isEnabledLocked(); in updateLocked()
751 final boolean wasEnabled = mBatterySaverController.isFullEnabled(); in enableBatterySaverLocked()753 if (wasEnabled == enable) { in enableBatterySaverLocked()
1050 final boolean wasEnabled = isEnabled(); in setStateLocked()1059 if (wasEnabled != isEnabled()) { in setStateLocked()
2869 boolean wasEnabled = mEnabled; in setBackupEnabled()2876 if (enable && !wasEnabled && mSetupComplete) { in setBackupEnabled()2889 if (wasEnabled && mSetupComplete) { in setBackupEnabled()
1301 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()1302 if (wasEnabled == enabled) { in setEnabled()
2492 boolean wasEnabled = mPreferencesHelper.getImportance(pkg, uid)2495 if (wasEnabled == enabled) {
13118 private void updateTrackCpuTimesByProcStateLocked(boolean wasEnabled, boolean isEnabled) { in updateTrackCpuTimesByProcStateLocked() argument13120 if (isEnabled && !wasEnabled) { in updateTrackCpuTimesByProcStateLocked()