Searched refs:AdoptService (Results 1 – 8 of 8) sorted by relevance
243 ASSERT_TRUE(profile_->AdoptService(service1)); in TEST_F()244 ASSERT_TRUE(profile_->AdoptService(service2)); in TEST_F()251 ASSERT_FALSE(profile_->AdoptService(service1)); in TEST_F()252 ASSERT_FALSE(profile_->AdoptService(service2)); in TEST_F()273 ASSERT_TRUE(profile_->AdoptService(service1)); in TEST_F()299 ASSERT_TRUE(profile_->AdoptService(service1)); in TEST_F()300 ASSERT_TRUE(profile_->AdoptService(service2)); in TEST_F()324 ASSERT_TRUE(profile_->AdoptService(service1)); in TEST_F()325 ASSERT_TRUE(profile_->AdoptService(service2)); in TEST_F()
44 bool AdoptService(const ServiceRefPtr& service) override;
55 bool EphemeralProfile::AdoptService(const ServiceRefPtr& service) { in AdoptService() function in shill::EphemeralProfile
38 MOCK_METHOD1(AdoptService, bool(const ServiceRefPtr& service));
110 virtual bool AdoptService(const ServiceRefPtr& service);
709 ASSERT_TRUE(profile->AdoptService(service1)); in TEST_F()739 ASSERT_TRUE(profile->AdoptService(service1)); in TEST_F()853 EXPECT_TRUE(profile->AdoptService(s2)); in TEST_F()894 EXPECT_CALL(*profile0, AdoptService(_)) in TEST_F()933 EXPECT_CALL(*profile1, AdoptService(_)) in TEST_F()1842 EXPECT_CALL(*profile, AdoptService(ServiceRefPtr(service.get()))) in TEST_F()1895 EXPECT_CALL(*profile0, AdoptService(ServiceRefPtr(service.get()))) in TEST_F()1945 EXPECT_CALL(*profile0, AdoptService(ServiceRefPtr(service.get()))) in TEST_F()1996 EXPECT_CALL(*profile0, AdoptService(_)) in TEST_F()1998 EXPECT_CALL(*profile1, AdoptService(_)) in TEST_F()[all …]
190 bool Profile::AdoptService(const ServiceRefPtr& service) { in AdoptService() function in shill::Profile
1056 return destination->AdoptService(to_move) && from->AbandonService(to_move); in MoveServiceToProfile()1904 ephemeral_profile_->AdoptService(service); in MatchProfileWithService()