Home
last modified time | relevance | path

Searched refs:VPNService (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/shill/vpn/
Dvpn_service.cc47 static string ObjectID(const VPNService* s) { return s->GetRpcIdentifier(); } in ObjectID()
50 const char VPNService::kAutoConnNeverConnected[] = "never connected";
51 const char VPNService::kAutoConnVPNAlreadyActive[] = "vpn already active";
53 VPNService::VPNService(ControlInterface* control, in VPNService() function in shill::VPNService
66 new CustomAccessor<VPNService, string>( in VPNService()
68 &VPNService::GetPhysicalTechnologyProperty, in VPNService()
72 VPNService::~VPNService() {} in ~VPNService()
74 void VPNService::Connect(Error* error, const char* reason) { in Connect()
92 void VPNService::Disconnect(Error* error, const char* reason) { in Disconnect()
98 string VPNService::GetStorageIdentifier() const { in GetStorageIdentifier()
[all …]
Dvpn_service.h33 class VPNService : public Service {
35 VPNService(ControlInterface* control,
40 ~VPNService() override;
90 DISALLOW_COPY_AND_ASSIGN(VPNService);
Dmock_vpn_service.cc26 : VPNService(control, dispatcher, metrics, manager, driver) {} in MockVPNService()
Dvpn_service_unittest.cc62 service_(new VPNService(&control_, nullptr, &metrics_, &manager_, in VPNServiceTest()
98 return VPNService::kAutoConnNeverConnected; in GetAutoConnNeverConnected()
102 return VPNService::kAutoConnVPNAlreadyActive; in GetAutoConnVPNAlreadyActive()
162 EXPECT_EQ("", VPNService::CreateStorageIdentifier(args, &error)); in TEST_F()
170 EXPECT_EQ("", VPNService::CreateStorageIdentifier(args, &error)); in TEST_F()
180 VPNService::CreateStorageIdentifier(args, &error)); in TEST_F()
Dmock_vpn_service.h26 class MockVPNService : public VPNService {
Dvpn_provider.cc140 string storage_id = VPNService::CreateStorageIdentifier(args, error); in GetService()
267 VPNServiceRefPtr service = new VPNService( in CreateServiceInner()
315 string storage_id = VPNService::CreateStorageIdentifier(args, error); in CreateTemporaryService()
Dvpn_provider_unittest.cc201 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
210 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
216 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
/system/connectivity/shill/
Drefptr_types.h68 class VPNService; variable
69 typedef scoped_refptr<const VPNService> VPNServiceConstRefPtr;
70 typedef scoped_refptr<VPNService> VPNServiceRefPtr;