Home
last modified time | relevance | path

Searched refs:isServiceConnected (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogServiceHelperTest.cpp107 if (mWatchdogServiceHelper->isServiceConnected()) { in TearDown()
131 ASSERT_TRUE(mWatchdogServiceHelper->isServiceConnected()); in registerCarWatchdogService()
207 ASSERT_TRUE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
214 ASSERT_TRUE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
229 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
243 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
258 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
271 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
288 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
358 ASSERT_FALSE(mWatchdogServiceHelper->isServiceConnected()); in TEST_F()
DMockWatchdogServiceHelper.h38 ON_CALL(*this, isServiceConnected()).WillByDefault(::testing::Return(false)); in MockWatchdogServiceHelper()
45 MOCK_METHOD(bool, isServiceConnected, (), (override));
DWatchdogPerfServiceTest.cpp392 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1); in TEST_F()
411 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1); in TEST_F()
432 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(maxIterations); in TEST_F()
504 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1).WillOnce(Return(true)); in TEST_F()
561 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1).WillOnce(Return(true)); in TEST_F()
590 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(0); in TEST_F()
623 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(0); in TEST_F()
1684 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1).WillOnce(Return(false)); in TEST_F()
1716 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).Times(1).WillOnce(Return(false)); in TEST_F()
1765 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()) in TEST_F()
[all …]
DPackageInfoResolverTest.cpp255 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).WillOnce(Return(true)); in TEST_F()
303 EXPECT_CALL(*mMockWatchdogServiceHelper, isServiceConnected()).WillOnce(Return(false)); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogServiceHelper.h52 virtual bool isServiceConnected() = 0;
96 bool isServiceConnected() { in isServiceConnected() function
DPackageInfoResolver.cpp173 !mWatchdogServiceHelper->isServiceConnected()) { in updatePackageInfos()
DWatchdogPerfService.cpp953 if (mUnsentResourceStats.empty() || !mWatchdogServiceHelper->isServiceConnected()) { in collectLocked()
954 if (DEBUG && !mWatchdogServiceHelper->isServiceConnected()) { in collectLocked()