Home
last modified time | relevance | path

Searched refs:mSilentModeByHwState (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java92 private boolean mSilentModeByHwState; field in SilentModeHandler
121 mSilentModeByHwState = true; in SilentModeHandler()
126 mSilentModeByHwState = false; in SilentModeHandler()
138 silentMode = mSilentModeByHwState; in init()
165 writer.printf("Silent mode by HW state signal: %b\n", mSilentModeByHwState); in dump()
182 proto.write(SilentModeHandlerProto.SILENT_MODE_BY_HW_STATE, mSilentModeByHwState); in dumpProto()
190 return mSilentModeByHwState; in isSilentMode()
240 if (mSilentModeByHwState != silentMode) { in switchToForcedMode()
241 mSilentModeByHwState = silentMode; in switchToForcedMode()
291 oldSilentMode = mSilentModeByHwState; in startMonitoringSilentModeHwState()
[all …]
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp96 mSilentModeByHwState(false), in SilentModeHandler()
112 mSilentModeByHwState = true; in init()
115 mSilentModeByHwState = false; in init()
120 handleSilentModeChange(mSilentModeByHwState); in init()
121 mSilentModeChangeHandler->notifySilentModeChange(mSilentModeByHwState); in init()
134 return mSilentModeByHwState; in isSilentMode()
187 mSilentModeByHwState ? "silent" : "non-silent"), in dump()
249 oldSilentMode = std::exchange(mSilentModeByHwState, Trim(buf) == kValueSilentMode); in handleSilentModeHwStateChange()
250 newSilentMode = mSilentModeByHwState; in handleSilentModeHwStateChange()
265 ALOGW("Failed to %s boot animation: %s", mSilentModeByHwState ? "disabling" : "enabling", in handleSilentModeChange()
[all …]
DSilentModeHandler.h85 bool mSilentModeByHwState GUARDED_BY(mMutex);