Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DSetArcTransmissionStateAction.java105 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DLocationTile.java77 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()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp38 bool wasEnabled = mIsEnabled; in setEnabled() local
40 if (isEnabled != wasEnabled) { in setEnabled()
78 return wasEnabled; in setEnabled()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java354 final boolean wasEnabled = mBatterySaverController.isEnabled(); in enableBatterySaverLocked()
356 if (wasEnabled == enable) { in enableBatterySaverLocked()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java926 final boolean wasEnabled = isEnabled(); in setStateLocked()
935 if (wasEnabled != isEnabled()) { in setStateLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java251 final boolean wasEnabled = isEnabledLocked(); in updateLocked()
253 Slog.v(TAG, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()
290 if (wasEnabled != isEnabled) { in updateLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java1030 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()
1031 if (wasEnabled == enabled) { in setEnabled()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java2798 boolean wasEnabled = mEnabled; in setBackupEnabled()
2805 if (enable && !wasEnabled && mProvisioned) { in setBackupEnabled()
2818 if (wasEnabled && mProvisioned) { in setBackupEnabled()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java13352 private void updateTrackCpuTimesByProcStateLocked(boolean wasEnabled, boolean isEnabled) { in updateTrackCpuTimesByProcStateLocked() argument
13354 if (isEnabled && !wasEnabled) { in updateTrackCpuTimesByProcStateLocked()