Searched refs:isServiceConnected (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogServiceHelperTest.cpp | 107 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()
|
D | MockWatchdogServiceHelper.h | 38 ON_CALL(*this, isServiceConnected()).WillByDefault(::testing::Return(false)); in MockWatchdogServiceHelper() 45 MOCK_METHOD(bool, isServiceConnected, (), (override));
|
D | WatchdogPerfServiceTest.cpp | 392 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 …]
|
D | PackageInfoResolverTest.cpp | 255 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/ |
D | WatchdogServiceHelper.h | 52 virtual bool isServiceConnected() = 0; 96 bool isServiceConnected() { in isServiceConnected() function
|
D | PackageInfoResolver.cpp | 173 !mWatchdogServiceHelper->isServiceConnected()) { in updatePackageInfos()
|
D | WatchdogPerfService.cpp | 953 if (mUnsentResourceStats.empty() || !mWatchdogServiceHelper->isServiceConnected()) { in collectLocked() 954 if (DEBUG && !mWatchdogServiceHelper->isServiceConnected()) { in collectLocked()
|