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.java76 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()
/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/infra/
DAbstractPerUserSystemService.java139 final boolean wasEnabled = isEnabledLocked(); in updateLocked()
141 Slog.v(mTag, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()
152 return wasEnabled != isEnabledLocked(); in updateLocked()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java751 final boolean wasEnabled = mBatterySaverController.isFullEnabled(); in enableBatterySaverLocked()
753 if (wasEnabled == enable) { in enableBatterySaverLocked()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java1050 final boolean wasEnabled = isEnabled(); in setStateLocked()
1059 if (wasEnabled != isEnabled()) { in setStateLocked()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2800 boolean wasEnabled = mEnabled; in setBackupEnabled()
2807 if (enable && !wasEnabled && mSetupComplete) { in setBackupEnabled()
2820 if (wasEnabled && mSetupComplete) { in setBackupEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1285 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()
1286 if (wasEnabled == enabled) { in setEnabled()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java13118 private void updateTrackCpuTimesByProcStateLocked(boolean wasEnabled, boolean isEnabled) { in updateTrackCpuTimesByProcStateLocked() argument
13120 if (isEnabled && !wasEnabled) { in updateTrackCpuTimesByProcStateLocked()