Searched refs:wasEnabled (Results 1 – 9 of 9) 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()
77 final boolean wasEnabled = mState.value; in handleClick()79 mController.setLocationEnabled(!wasEnabled); in handleClick()83 final boolean wasEnabled = mState.value; in handleClick()84 mController.setLocationEnabled(!wasEnabled); in handleClick()
38 bool wasEnabled = mIsEnabled; in setEnabled() local40 if (isEnabled != wasEnabled) { in setEnabled()78 return wasEnabled; in setEnabled()
354 final boolean wasEnabled = mBatterySaverController.isEnabled(); in enableBatterySaverLocked()356 if (wasEnabled == enable) { in enableBatterySaverLocked()
926 final boolean wasEnabled = isEnabled(); in setStateLocked()935 if (wasEnabled != isEnabled()) { in setStateLocked()
251 final boolean wasEnabled = isEnabledLocked(); in updateLocked()253 Slog.v(TAG, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()290 if (wasEnabled != isEnabled) { in updateLocked()
1030 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()1031 if (wasEnabled == enabled) { in setEnabled()
2798 boolean wasEnabled = mEnabled; in setBackupEnabled()2805 if (enable && !wasEnabled && mProvisioned) { in setBackupEnabled()2818 if (wasEnabled && mProvisioned) { in setBackupEnabled()
13352 private void updateTrackCpuTimesByProcStateLocked(boolean wasEnabled, boolean isEnabled) { in updateTrackCpuTimesByProcStateLocked() argument13354 if (isEnabled && !wasEnabled) { in updateTrackCpuTimesByProcStateLocked()