Home
last modified time | relevance | path

Searched refs:oldSilentMode (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp202 bool oldSilentMode; in handleSilentModeHwStateChange() local
205 oldSilentMode = std::exchange(mSilentModeByHwState, Trim(buf) == kValueSilentMode); in handleSilentModeHwStateChange()
208 if (newSilentMode != oldSilentMode) { in handleSilentModeHwStateChange()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java228 boolean oldSilentMode; in startMonitoringSilentModeHwState()
235 oldSilentMode = mSilentModeByHwState; in startMonitoringSilentModeHwState()
248 if (newSilentMode != oldSilentMode) { in startMonitoringSilentModeHwState()