Searched refs:mFdInotify (Results 1 – 2 of 2) sorted by relevance
71 mFdInotify(-1) { in SilentModeHandler()104 inotify_rm_watch(mFdInotify, mWdSilentModeHwState); in stopMonitoringSilentModeHwState()110 mFdInotify.reset(-1); in stopMonitoringSilentModeHwState()135 if (mFdInotify < 0) { in startMonitoringSilentModeHwState()136 mFdInotify.reset(inotify_init1(IN_CLOEXEC)); in startMonitoringSilentModeHwState()137 if (mFdInotify < 0) { in startMonitoringSilentModeHwState()147 mFdInotify.reset(-1); in startMonitoringSilentModeHwState()152 mWdSilentModeHwState = inotify_add_watch(mFdInotify, filename, masks); in startMonitoringSilentModeHwState()161 int numBytes = read(mFdInotify, eventBuf, sizeof(eventBuf)); in startMonitoringSilentModeHwState()168 inotify_rm_watch(mFdInotify, mWdSilentModeHwState); in startMonitoringSilentModeHwState()[all …]
83 android::base::unique_fd mFdInotify; variable