Searched refs:mSysfsMonitor (Results 1 – 3 of 3) sorted by relevance
31 void SetUp() override { mSysfsMonitor = sp<SysfsMonitor>::make(); } in SetUp()32 void TearDown() override { mSysfsMonitor = nullptr; } in TearDown()35 sp<SysfsMonitor> mSysfsMonitor; member in android::automotive::SysfsMonitorTest39 auto ret = mSysfsMonitor->init([](const std::vector<int32_t>&) {}); in TEST_F()41 ASSERT_FALSE(mSysfsMonitor->init([](const std::vector<int32_t>&) {}).ok()) in TEST_F()46 auto ret = mSysfsMonitor->init([](const std::vector<int32_t>&) {}); in TEST_F()48 ret = mSysfsMonitor->release(); in TEST_F()51 ASSERT_FALSE(mSysfsMonitor->release().ok()) << "Released instance cannot be released"; in TEST_F()55 ASSERT_FALSE(mSysfsMonitor->release().ok()) << "Uninitailized instance cannot be released"; in TEST_F()61 mSysfsMonitor->init([](const std::vector<int32_t>&) {}); in TEST_F()[all …]
98 mSysfsMonitor(sp<SysfsMonitor>::make()) { in SilentModeHandler()139 if (auto ret = mSysfsMonitor->unregisterFd(mFdSilentModeHwState.get()); !ret.ok()) { in stopMonitoringSilentModeHwState()144 mSysfsMonitor->release(); in stopMonitoringSilentModeHwState()210 auto ret = mSysfsMonitor->init([this](const std::vector<int32_t>& fileDescriptors) { in startMonitoringSilentModeHwState()221 if (auto ret = mSysfsMonitor->registerFd(mFdSilentModeHwState.get()); !ret.ok()) { in startMonitoringSilentModeHwState()225 if (mSysfsMonitor->observe(); !ret.ok()) { in startMonitoringSilentModeHwState()
92 android::sp<android::automotive::SysfsMonitor> mSysfsMonitor; variable