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.cpp246 bool oldSilentMode; in handleSilentModeHwStateChange() local
249 oldSilentMode = std::exchange(mSilentModeByHwState, Trim(buf) == kValueSilentMode); in handleSilentModeHwStateChange()
252 if (newSilentMode != oldSilentMode) { in handleSilentModeHwStateChange()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java285 boolean oldSilentMode; in startMonitoringSilentModeHwState()
291 oldSilentMode = mSilentModeByHwState; in startMonitoringSilentModeHwState()
304 if (newSilentMode != oldSilentMode) { in startMonitoringSilentModeHwState()