Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp113 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()
[all …]
/packages/services/Car/cpp/watchdog/testclient/src/
DWatchdogClient.cpp111 std::shared_ptr<ICarWatchdog> watchdogServer; in respondToWatchdog() local
118 watchdogServer = mWatchdogServer; in respondToWatchdog()
122 ndk::ScopedAStatus status = watchdogServer->tellClientAlive(testClient, sessionId); in respondToWatchdog()
158 std::shared_ptr<ICarWatchdog> watchdogServer; in registerClient() local
164 watchdogServer = mWatchdogServer; in registerClient()
167 watchdogServer->registerClient(client, kTimeoutMap.at(timeout)); in registerClient()
172 std::shared_ptr<ICarWatchdog> watchdogServer; in unregisterClient() local
179 watchdogServer = mWatchdogServer; in unregisterClient()
183 watchdogServer->unregisterClient(testClient); in unregisterClient()