Home
last modified time | relevance | path

Searched refs:ServiceRefPtr (Results 1 – 25 of 53) sorted by relevance

123

/system/connectivity/shill/ethernet/
Dethernet_eap_provider.h50 ServiceRefPtr GetService(const KeyValueStore& args, Error* error) override;
51 ServiceRefPtr FindSimilarService(
53 ServiceRefPtr CreateTemporaryService(
55 ServiceRefPtr CreateTemporaryServiceFromProfile(
62 virtual const ServiceRefPtr& service() const { return service_; } in service()
85 void set_service(const ServiceRefPtr& service) { service_ = service; } in set_service()
90 ServiceRefPtr service_;
Dethernet_eap_provider_unittest.cc60 EXPECT_EQ(ServiceRefPtr(), provider_.service()); in TEST_F()
65 ServiceRefPtr service; in TEST_F()
68 EXPECT_NE(ServiceRefPtr(), provider_.service()); in TEST_F()
135 ServiceRefPtr service; in TEST_F()
154 ServiceRefPtr temp_service = provider_.CreateTemporaryService(args, &error); in TEST_F()
157 EXPECT_NE(ServiceRefPtr(), temp_service); in TEST_F()
Dethernet_eap_provider.cc45 ServiceRefPtr EthernetEapProvider::FindSimilarService(const KeyValueStore& args, in FindSimilarService()
52 ServiceRefPtr EthernetEapProvider::GetService(const KeyValueStore& args, in GetService()
57 ServiceRefPtr EthernetEapProvider::CreateTemporaryService( in CreateTemporaryService()
66 ServiceRefPtr EthernetEapProvider::CreateTemporaryServiceFromProfile( in CreateTemporaryServiceFromProfile()
/system/connectivity/shill/
Dservice_property_change_test.h29 void TestCommonPropertyChanges(ServiceRefPtr service,
33 void TestAutoConnectPropertyChange(ServiceRefPtr service,
37 void TestNamePropertyChange(ServiceRefPtr service,
41 void TestCommonCustomSetterNoopChange(ServiceRefPtr service,
Dmock_profile.h38 MOCK_METHOD1(AdoptService, bool(const ServiceRefPtr& service));
39 MOCK_METHOD1(AbandonService, bool(const ServiceRefPtr& service));
40 MOCK_METHOD1(LoadService, bool(const ServiceRefPtr& service));
41 MOCK_METHOD1(ConfigureService, bool(const ServiceRefPtr& service));
45 MOCK_METHOD1(UpdateService, bool(const ServiceRefPtr& service));
Dprovider_interface.h41 virtual ServiceRefPtr FindSimilarService(
48 virtual ServiceRefPtr GetService(const KeyValueStore& args, Error* error) = 0;
54 virtual ServiceRefPtr CreateTemporaryService(
61 virtual ServiceRefPtr CreateTemporaryServiceFromProfile(
Dmock_manager.h48 MOCK_METHOD3(SetProfileForService, void(const ServiceRefPtr& to_set,
53 MOCK_METHOD1(HasService, bool(const ServiceRefPtr& to_manage));
54 MOCK_METHOD1(RegisterService, void(const ServiceRefPtr& to_manage));
55 MOCK_METHOD1(UpdateService, void(const ServiceRefPtr& to_update));
56 MOCK_METHOD1(DeregisterService, void(const ServiceRefPtr& to_forget));
64 MOCK_METHOD1(RecheckPortalOnService, void(const ServiceRefPtr& service));
68 MOCK_CONST_METHOD0(GetDefaultService, ServiceRefPtr());
70 ServiceRefPtr(const ProfileRefPtr& profile,
74 ServiceRefPtr(const ProfileRefPtr& profile,
Dmanager.h81 typedef base::Callback<void(const ServiceRefPtr& service)> ServiceCallback;
142 bool MoveServiceToProfile(const ServiceRefPtr& to_move,
147 virtual void SetProfileForService(const ServiceRefPtr& to_set,
154 virtual bool HasService(const ServiceRefPtr& service);
157 virtual void RegisterService(const ServiceRefPtr& to_manage);
160 virtual void DeregisterService(const ServiceRefPtr& to_forget);
161 virtual void UpdateService(const ServiceRefPtr& to_update);
173 ServiceRefPtr FindService(const std::string& name);
182 ServiceRefPtr GetService(const KeyValueStore& args, Error* error);
183 ServiceRefPtr ConfigureService(const KeyValueStore& args, Error* error);
[all …]
Dprofile.h110 virtual bool AdoptService(const ServiceRefPtr& service);
115 virtual bool AbandonService(const ServiceRefPtr& service);
119 virtual bool UpdateService(const ServiceRefPtr& service);
124 virtual bool LoadService(const ServiceRefPtr& service);
129 virtual bool ConfigureService(const ServiceRefPtr& service);
143 virtual ServiceRefPtr GetServiceFromEntry(const std::string& entry_name,
Dephemeral_profile.h44 bool AdoptService(const ServiceRefPtr& service) override;
45 bool AbandonService(const ServiceRefPtr& service) override;
Dservice_sorter.h41 bool operator() (ServiceRefPtr a, ServiceRefPtr b) { in operator()
Dephemeral_profile.cc55 bool EphemeralProfile::AdoptService(const ServiceRefPtr& service) { in AdoptService()
62 bool EphemeralProfile::AbandonService(const ServiceRefPtr& service) { in AbandonService()
Dprofile.cc190 bool Profile::AdoptService(const ServiceRefPtr& service) { in AdoptService()
198 bool Profile::AbandonService(const ServiceRefPtr& service) { in AbandonService()
205 bool Profile::UpdateService(const ServiceRefPtr& service) { in UpdateService()
209 bool Profile::LoadService(const ServiceRefPtr& service) { in LoadService()
215 bool Profile::ConfigureService(const ServiceRefPtr& service) { in ConfigureService()
247 ServiceRefPtr Profile::GetServiceFromEntry(const std::string& entry_name, in GetServiceFromEntry()
258 ServiceRefPtr service = in GetServiceFromEntry()
Dmanager.cc483 for (ServiceRefPtr& service : services_) { in PushProfileInternal()
814 void Manager::RemoveService(const ServiceRefPtr& service) { in RemoveService()
867 ServiceRefPtr Manager::GetServiceWithStorageIdentifier( in GetServiceWithStorageIdentifier()
881 ServiceRefPtr Manager::CreateTemporaryServiceFromProfile( in CreateTemporaryServiceFromProfile()
892 ServiceRefPtr service = nullptr; in CreateTemporaryServiceFromProfile()
918 ServiceRefPtr Manager::GetServiceWithGUID( in GetServiceWithGUID()
936 ServiceRefPtr Manager::GetDefaultService() const { in GetDefaultService()
946 ServiceRefPtr default_service = GetDefaultService(); in GetDefaultServiceRpcIdentifier()
1047 bool Manager::MoveServiceToProfile(const ServiceRefPtr& to_move, in MoveServiceToProfile()
1069 void Manager::SetProfileForService(const ServiceRefPtr& to_set, in SetProfileForService()
[all …]
Dservice_property_change_test.cc48 void TestCommonPropertyChanges(ServiceRefPtr service, in TestCommonPropertyChanges()
122 void TestAutoConnectPropertyChange(ServiceRefPtr service, in TestAutoConnectPropertyChange()
130 void TestNamePropertyChange(ServiceRefPtr service, in TestNamePropertyChange()
139 void TestCustomSetterNoopChange(ServiceRefPtr service, in TestCustomSetterNoopChange()
Dmanager_unittest.cc205 bool ServiceOrderIs(ServiceRefPtr svc1, ServiceRefPtr svc2);
364 MOCK_METHOD1(OnDefaultServiceChanged, void(const ServiceRefPtr& service));
483 void SetEapProviderService(const ServiceRefPtr& service) { in SetEapProviderService()
521 bool ManagerTest::ServiceOrderIs(ServiceRefPtr svc0, ServiceRefPtr svc1) { in ServiceOrderIs()
705 ServiceRefPtr service1(new ServiceUnderTest(control_interface(), in TEST_F()
713 ServiceRefPtr service2(new ServiceUnderTest(control_interface(), in TEST_F()
735 ServiceRefPtr service1(new ServiceUnderTest(control_interface(), in TEST_F()
1219 const ServiceRefPtr& service = mock_service; in TEST_F()
1455 EXPECT_CALL(*profile, AbandonService(ServiceRefPtr(s_will_remove0))) in TEST_F()
1457 EXPECT_CALL(*profile, AbandonService(ServiceRefPtr(s_will_remove1))) in TEST_F()
[all …]
Dvirtual_device.h61 virtual void SelectService(const ServiceRefPtr& service);
Dservice.h236 virtual bool IsDependentOn(const ServiceRefPtr& b) const;
451 ServiceRefPtr a,
452 ServiceRefPtr b,
672 friend void TestCommonPropertyChanges(ServiceRefPtr, ServiceMockAdaptor*);
673 friend void TestCustomSetterNoopChange(ServiceRefPtr, MockManager*);
674 friend void TestNamePropertyChange(ServiceRefPtr, ServiceMockAdaptor*);
/system/connectivity/shill/wifi/
Dmock_wifi_provider.h36 ServiceRefPtr(const KeyValueStore& args,
39 ServiceRefPtr(const KeyValueStore& args, Error* error));
40 MOCK_METHOD2(GetService, ServiceRefPtr(const KeyValueStore& args,
Dwifi_provider.h78 ServiceRefPtr FindSimilarService(
80 ServiceRefPtr GetService(const KeyValueStore& args, Error* error) override;
81 ServiceRefPtr CreateTemporaryService(
83 ServiceRefPtr CreateTemporaryServiceFromProfile(
/system/connectivity/shill/vpn/
Dvpn_provider.h51 ServiceRefPtr FindSimilarService(
53 ServiceRefPtr GetService(const KeyValueStore& args, Error* error) override;
54 ServiceRefPtr CreateTemporaryService(
56 ServiceRefPtr CreateTemporaryServiceFromProfile(
Dvpn_provider_unittest.cc66 string GetServiceFriendlyName(const ServiceRefPtr& service) { in GetServiceFriendlyName()
70 void SetConnectState(const ServiceRefPtr& service, in SetConnectState()
101 ServiceRefPtr service = provider_.GetService(args, &e); in TEST_F()
113 ServiceRefPtr service = provider_.GetService(args, &e); in TEST_F()
127 ServiceRefPtr service = provider_.FindSimilarService(args, &error); in TEST_F()
134 ServiceRefPtr service; in TEST_F()
163 ServiceRefPtr get_service = provider_.GetService(args, &error); in TEST_F()
173 ServiceRefPtr similar_service = provider_.FindSimilarService(args, &error); in TEST_F()
183 ServiceRefPtr temporary_service = in TEST_F()
Dvpn_provider.cc129 ServiceRefPtr VPNProvider::GetService(const KeyValueStore& args, in GetService()
153 ServiceRefPtr VPNProvider::FindSimilarService(const KeyValueStore& args, in FindSimilarService()
305 ServiceRefPtr VPNProvider::CreateTemporaryService( in CreateTemporaryService()
323 ServiceRefPtr VPNProvider::CreateTemporaryServiceFromProfile( in CreateTemporaryServiceFromProfile()
/system/connectivity/shill/wimax/
Dwimax_provider.h54 ServiceRefPtr FindSimilarService(
56 ServiceRefPtr GetService(const KeyValueStore& args, Error* error) override;
57 ServiceRefPtr CreateTemporaryService(
59 ServiceRefPtr CreateTemporaryServiceFromProfile(
Dmock_wimax.h50 MOCK_METHOD2(DisconnectFrom, void(const ServiceRefPtr& service,

123