Lines Matching refs:watchdogServer
113 watchdogServer = ICarWatchdog::fromBinder( in SetUp()
115 ASSERT_NE(watchdogServer.get(), nullptr); in SetUp()
118 std::shared_ptr<ICarWatchdog> watchdogServer; member in WatchdogAidlTest
126 watchdogServer->registerClient(mockClient, TimeoutLength::TIMEOUT_CRITICAL); in TEST_P()
131 status = watchdogServer->tellClientAlive(mockClient, sessionId); in TEST_P()
133 status = watchdogServer->unregisterClient(mockClient); in TEST_P()
138 ASSERT_FALSE(watchdogServer->registerClient(nullptr, TimeoutLength::TIMEOUT_CRITICAL).isOk()) in TEST_P()
145 ASSERT_FALSE(watchdogServer->tellClientAlive(mockClient, 0).isOk()) in TEST_P()
152 ASSERT_FALSE(watchdogServer->unregisterClient(mockClient).isOk()) in TEST_P()
160 watchdogServer->addResourceOveruseListener({ResourceType::IO}, mockListener); in TEST_P()
163 status = watchdogServer->removeResourceOveruseListener(mockListener); in TEST_P()
171 ASSERT_FALSE(watchdogServer->addResourceOveruseListener({}, mockListener).isOk()) in TEST_P()
176 ASSERT_FALSE(watchdogServer->addResourceOveruseListener({ResourceType::IO}, nullptr).isOk()) in TEST_P()
183 ASSERT_FALSE(watchdogServer->removeResourceOveruseListener(mockListener).isOk()) in TEST_P()
198 ASSERT_FALSE(watchdogServer->getResourceOveruseStats({}, &resourceOveruseStats).isOk()) in TEST_P()