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()
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()
38 bool wasEnabled = mIsEnabled; in setEnabled() local40 if (isEnabled != wasEnabled) { in setEnabled()78 return wasEnabled; in setEnabled()
139 final boolean wasEnabled = isEnabledLocked(); in updateLocked()141 Slog.v(mTag, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()152 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()
2800 boolean wasEnabled = mEnabled; in setBackupEnabled()2807 if (enable && !wasEnabled && mSetupComplete) { in setBackupEnabled()2820 if (wasEnabled && mSetupComplete) { in setBackupEnabled()
1285 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()1286 if (wasEnabled == enabled) { in setEnabled()
13118 private void updateTrackCpuTimesByProcStateLocked(boolean wasEnabled, boolean isEnabled) { in updateTrackCpuTimesByProcStateLocked() argument13120 if (isEnabled && !wasEnabled) { in updateTrackCpuTimesByProcStateLocked()