Searched refs:wasEnabled (Results 1 – 6 of 6) sorted by relevance
80 final boolean wasEnabled = (Boolean) mState.value; in handleClick()82 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled); in handleClick()83 mController.setLocationEnabled(!wasEnabled); in handleClick()88 final boolean wasEnabled = (Boolean) mState.value; in handleClick()89 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled); in handleClick()90 mController.setLocationEnabled(!wasEnabled); in handleClick()
104 boolean wasEnabled = tv().setArcStatus(enabled); in setArcStatus()105 Slog.i(TAG, "Change arc status [old:" + wasEnabled + ", new:" + enabled + "]"); in setArcStatus()109 if (!enabled && wasEnabled) { in setArcStatus()
33 bool wasEnabled = mIsEnabled; in setEnabled() local35 if (isEnabled != wasEnabled) { in setEnabled()73 return wasEnabled; in setEnabled()
543 final boolean wasEnabled = mIsEnabled; in setStateLocked()552 if (wasEnabled != enabled) { in setStateLocked()
369 boolean wasEnabled = getImportance(packageName, uid) != Ranking.IMPORTANCE_NONE; in setEnabled()370 if (wasEnabled == enabled) { in setEnabled()
9623 boolean wasEnabled = mEnabled; in setBackupEnabled()9630 if (enable && !wasEnabled && mProvisioned) { in setBackupEnabled()9643 if (wasEnabled && mProvisioned) { in setBackupEnabled()