Home
last modified time | relevance | path

Searched refs:wasEnabled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DLocationTile.java80 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()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSetArcTransmissionStateAction.java104 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()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp33 bool wasEnabled = mIsEnabled; in setEnabled() local
35 if (isEnabled != wasEnabled) { in setEnabled()
73 return wasEnabled; in setEnabled()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java543 final boolean wasEnabled = mIsEnabled; in setStateLocked()
552 if (wasEnabled != enabled) { in setStateLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java369 boolean wasEnabled = getImportance(packageName, uid) != Ranking.IMPORTANCE_NONE; in setEnabled()
370 if (wasEnabled == enabled) { in setEnabled()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java9623 boolean wasEnabled = mEnabled; in setBackupEnabled()
9630 if (enable && !wasEnabled && mProvisioned) { in setBackupEnabled()
9643 if (wasEnabled && mProvisioned) { in setBackupEnabled()