Home
last modified time | relevance | path

Searched refs:wasEnabled (Results 1 – 10 of 10) 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.cpp39 bool wasEnabled = mIsEnabled; in setEnabled() local
41 if (isEnabled != wasEnabled) { in setEnabled()
79 return wasEnabled; in setEnabled()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java147 final boolean wasEnabled = isEnabledLocked(); in updateLocked()
149 Slog.v(mTag, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked()
158 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.java2869 boolean wasEnabled = mEnabled; in setBackupEnabled()
2876 if (enable && !wasEnabled && mSetupComplete) { in setBackupEnabled()
2889 if (wasEnabled && mSetupComplete) { in setBackupEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1301 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()
1302 if (wasEnabled == enabled) { in setEnabled()
DNotificationManagerService.java2492 boolean wasEnabled = mPreferencesHelper.getImportance(pkg, uid)
2495 if (wasEnabled == enabled) {
/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()