Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp139 if (auto ret = mSysfsMonitor->unregisterFd(mFdSilentModeHwState.get()); !ret.ok()) { in stopMonitoringSilentModeHwState()
143 mFdSilentModeHwState.reset(); in stopMonitoringSilentModeHwState()
203 if (mFdSilentModeHwState == -1) { in startMonitoringSilentModeHwState()
204 if (mFdSilentModeHwState.reset(open(filename, O_RDONLY | O_NONBLOCK | O_CLOEXEC)); in startMonitoringSilentModeHwState()
205 mFdSilentModeHwState == -1) { in startMonitoringSilentModeHwState()
212 if (mFdSilentModeHwState != fileDescriptors[0]) { in startMonitoringSilentModeHwState()
221 if (auto ret = mSysfsMonitor->registerFd(mFdSilentModeHwState.get()); !ret.ok()) { in startMonitoringSilentModeHwState()
DSilentModeHandler.h93 android::base::unique_fd mFdSilentModeHwState; variable