Searched refs:service2 (Results 1 – 7 of 7) sorted by relevance
/system/connectivity/shill/ |
D | profile_unittest.cc | 236 scoped_refptr<MockService> service2(CreateMockService()); in TEST_F() local 240 EXPECT_CALL(*service2.get(), Save(_)) in TEST_F() 241 .WillRepeatedly(Invoke(service2.get(), &MockService::FauxSave)); in TEST_F() 244 ASSERT_TRUE(profile_->AdoptService(service2)); in TEST_F() 248 ASSERT_TRUE(profile_->ContainsService(service2)); in TEST_F() 252 ASSERT_FALSE(profile_->AdoptService(service2)); in TEST_F() 258 ASSERT_TRUE(profile_->ContainsService(service2)); in TEST_F() 261 ASSERT_TRUE(profile_->AbandonService(service2)); in TEST_F() 263 ASSERT_FALSE(profile_->ContainsService(service2)); in TEST_F() 278 ServiceRefPtr service2(new ServiceUnderTest(control_interface(), in TEST_F() local [all …]
|
D | service_unittest.cc | 2145 scoped_refptr<MockService> service2 = mock_services[2]; in TEST_F() local 2150 EXPECT_TRUE(DefaultSortingOrderIs(service2, service10)); in TEST_F() 2154 EXPECT_TRUE(DefaultSortingOrderIs(service10, service2)); in TEST_F() 2161 service2->set_profile(profile2); in TEST_F() 2166 EXPECT_CALL(mock_manager_, IsServiceEphemeral(IsRefPtrTo(service2))) in TEST_F() 2170 EXPECT_TRUE(DefaultSortingOrderIs(service2, service10)); in TEST_F() 2183 EXPECT_TRUE(DefaultSortingOrderIs(service10, service2)); in TEST_F() 2186 service2->SetSecurity(Service::kCryptoAes, true, true); in TEST_F() 2187 EXPECT_TRUE(DefaultSortingOrderIs(service2, service10)); in TEST_F() 2191 EXPECT_TRUE(DefaultSortingOrderIs(service10, service2)); in TEST_F() [all …]
|
D | manager_unittest.cc | 713 ServiceRefPtr service2(new ServiceUnderTest(control_interface(), in TEST_F() local 717 manager.RegisterService(service2); in TEST_F() 718 EXPECT_EQ(service2->profile().get(), profile.get()); in TEST_F() 3105 MockServiceRefPtr service2 = new NiceMock<MockService>(control_interface(), in TEST_F() local 3111 manager()->RegisterService(service2); in TEST_F() 3114 EXPECT_CALL(*service2.get(), GetInnerDeviceRpcIdentifier()) in TEST_F() 3131 MockServiceRefPtr service2 = MakeAutoConnectableService(); in TEST_F() local 3132 service2->SetPriority(2, nullptr); in TEST_F() 3134 manager()->RegisterService(service2); in TEST_F() 3138 EXPECT_CALL(*service2.get(), state()) in TEST_F() [all …]
|
/system/connectivity/shill/vpn/ |
D | vpn_provider_unittest.cc | 228 scoped_refptr<MockVPNService> service2( in TEST_F() local 233 provider_.services_.push_back(service2.get()); in TEST_F() 241 EXPECT_EQ(service2, provider_.services_[1]); in TEST_F() 243 provider_.RemoveService(service2); in TEST_F() 392 scoped_refptr<MockVPNService> service2( in TEST_F() local 397 AddService(service2); in TEST_F()
|
/system/bt/service/test/ |
D | gatt_identifier_unittest.cpp | 46 auto service2 = GattIdentifier::CreateServiceId(kAddr0, kId1, kUUID0, true); in TEST() local 51 EXPECT_TRUE(*service2 != *service0); in TEST()
|
/system/connectivity/shill/wifi/ |
D | wifi_provider_unittest.cc | 1018 WiFiServiceRefPtr service2 = GetService( in TEST_F() local 1021 EXPECT_NE(service0.get(), service2.get()); in TEST_F() 1656 MockWiFiServiceRefPtr service2 = AddMockService(ssid2, in TEST_F() local 1660 EXPECT_CALL(*service2, IsRemembered()).WillRepeatedly(Return(true)); in TEST_F() 1671 EXPECT_CALL(*service2, IsRemembered()).WillRepeatedly(Return(true)); in TEST_F()
|
D | wifi_unittest.cc | 4447 MockWiFiServiceRefPtr service2 = MakeMockService(kSecurity8021x); in TEST_F() local 4453 SetServiceNetworkRpcId(service2, kNetworkRpcId2); in TEST_F()
|