Home
last modified time | relevance | path

Searched refs:IsDependentOn (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/shill/
Dmock_service.h55 MOCK_CONST_METHOD1(IsDependentOn, bool(const ServiceRefPtr& b));
Dservice_unittest.cc1368 TEST_F(ServiceTest, IsDependentOn) { in TEST_F() argument
1369 EXPECT_FALSE(service_->IsDependentOn(nullptr)); in TEST_F()
1384 EXPECT_FALSE(service_->IsDependentOn(nullptr)); in TEST_F()
1391 EXPECT_FALSE(service_->IsDependentOn(service1)); in TEST_F()
1394 EXPECT_FALSE(service_->IsDependentOn(service1)); in TEST_F()
1397 EXPECT_TRUE(service_->IsDependentOn(service1)); in TEST_F()
1401 EXPECT_FALSE(service_->IsDependentOn(service1)); in TEST_F()
2239 IsDependentOn(IsRefPtrTo(service2.get()))) in TEST_F()
2247 EXPECT_CALL(*service10.get(), IsDependentOn(_)).WillRepeatedly(Return(false)); in TEST_F()
Dservice.h236 virtual bool IsDependentOn(const ServiceRefPtr& b) const;
695 FRIEND_TEST(ServiceTest, IsDependentOn);
Dservice.cc793 bool Service::IsDependentOn(const ServiceRefPtr& b) const { in IsDependentOn() function in shill::Service
1107 if (DecideBetween(a->IsDependentOn(b), b->IsDependentOn(a), &ret)) { in Compare()