Home
last modified time | relevance | path

Searched refs:Technology (Results 1 – 25 of 84) sorted by relevance

1234

/system/connectivity/shill/
Dtechnology_unittest.cc34 EXPECT_EQ(Technology::kEthernet, Technology::IdentifierFromName("ethernet")); in TEST_F()
35 EXPECT_EQ(Technology::kEthernetEap, in TEST_F()
36 Technology::IdentifierFromName("etherneteap")); in TEST_F()
37 EXPECT_EQ(Technology::kWifi, Technology::IdentifierFromName("wifi")); in TEST_F()
38 EXPECT_EQ(Technology::kWiMax, Technology::IdentifierFromName("wimax")); in TEST_F()
39 EXPECT_EQ(Technology::kCellular, Technology::IdentifierFromName("cellular")); in TEST_F()
40 EXPECT_EQ(Technology::kTunnel, Technology::IdentifierFromName("tunnel")); in TEST_F()
41 EXPECT_EQ(Technology::kLoopback, Technology::IdentifierFromName("loopback")); in TEST_F()
42 EXPECT_EQ(Technology::kVPN, Technology::IdentifierFromName("vpn")); in TEST_F()
43 EXPECT_EQ(Technology::kPPP, Technology::IdentifierFromName("ppp")); in TEST_F()
[all …]
Dtechnology.cc40 const char Technology::kLoopbackName[] = "loopback";
41 const char Technology::kTunnelName[] = "tunnel";
42 const char Technology::kPPPName[] = "ppp";
43 const char Technology::kUnknownName[] = "unknown";
46 Technology::Identifier Technology::IdentifierFromName(const string& name) { in IdentifierFromName()
73 string Technology::NameFromIdentifier(Technology::Identifier id) { in NameFromIdentifier()
100 Technology::Identifier Technology::IdentifierFromStorageGroup( in IdentifierFromStorageGroup()
111 bool Technology::GetTechnologyVectorFromString( in GetTechnologyVectorFromString()
119 set<Technology::Identifier> seen; in GetTechnologyVectorFromString()
131 Technology::Identifier identifier = Technology::IdentifierFromName(name); in GetTechnologyVectorFromString()
[all …]
Ddevice_info.cc184 set<Technology::Identifier> initialized_technologies; in GetUninitializedTechnologies()
186 Technology::Identifier technology = info.second.technology; in GetUninitializedTechnologies()
192 unique_technologies.erase(Technology::NameFromIdentifier(technology)); in GetUninitializedTechnologies()
195 if (Technology::IsPrimaryConnectivityTechnology(technology) && in GetUninitializedTechnologies()
197 unique_technologies.insert(Technology::NameFromIdentifier(technology)); in GetUninitializedTechnologies()
215 if (Technology::IsPrimaryConnectivityTechnology(device->technology())) { in RegisterDevice()
225 CHECK((device->technology() == Technology::kCellular) || in DeregisterDevice()
226 (device->technology() == Technology::kWiMax)); in DeregisterDevice()
260 Technology::Identifier DeviceInfo::GetDeviceTechnology( in GetDeviceTechnology()
274 return Technology::kUnknown; in GetDeviceTechnology()
[all …]
Ddevice_info_unittest.cc134 Technology::Identifier technology) { in CreateDevice()
372 EXPECT_CALL(*device0, technology()).WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
384 WillRepeatedly(Return(Technology::kCellular)); in TEST_F()
397 device_info_.infos_[0].technology = Technology::kUnknown; in TEST_F()
401 device_info_.infos_[1].technology = Technology::kCellular; in TEST_F()
403 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
404 Technology::kCellular)); in TEST_F()
408 device_info_.infos_[2].technology = Technology::kWiMax; in TEST_F()
410 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
411 Technology::kWiMax)); in TEST_F()
[all …]
Dmock_metrics.h73 void(Technology::Identifier technology_id, int reason));
75 void(Technology::Identifier technology_id, int result));
80 void(Technology::Identifier technology_id,
83 void(Technology::Identifier technology_id, bool status));
85 void(Technology::Identifier technology_id, bool status));
87 void(Technology::Identifier technology_id, int signal_strength));
Dmock_device.cc49 Technology::kUnknown) { in MockDevice()
50 DefaultValue<Technology::Identifier>::Set(Technology::kUnknown); in MockDevice()
Dmanager.cc883 Technology::Identifier technology = in CreateTemporaryServiceFromProfile()
884 Technology::IdentifierFromStorageGroup(entry_name); in CreateTemporaryServiceFromProfile()
885 if (technology == Technology::kUnknown) { in CreateTemporaryServiceFromProfile()
896 if (technology == Technology::kEthernet) { in CreateTemporaryServiceFromProfile()
952 Technology::Identifier tech) const { in IsTechnologyInList()
957 vector<Technology::Identifier> technologies; in IsTechnologyInList()
958 return Technology::GetTechnologyVectorFromString(technology_list, in IsTechnologyInList()
965 bool Manager::IsPortalDetectionEnabled(Technology::Identifier tech) { in IsPortalDetectionEnabled()
994 Technology::Identifier technology) const { in IsTechnologyLinkMonitorEnabled()
999 Technology::Identifier technology) const { in IsTechnologyAutoConnectDisabled()
[all …]
Dvirtual_device_unittest.cc53 Technology::kVPN)) {} in VirtualDeviceTest()
72 EXPECT_EQ(Technology::kVPN, device_->technology()); in TEST_F()
73 EXPECT_NE(Technology::kEthernet, device_->technology()); in TEST_F()
Dmock_manager.h79 MOCK_METHOD1(IsPortalDetectionEnabled, bool(Technology::Identifier tech));
86 bool(Technology::Identifier tech));
88 bool(Technology::Identifier tech));
90 bool(Technology::Identifier tech));
98 DeviceRefPtr(Technology::Identifier technology));
Dmetrics.h831 Technology::Identifier technology_id);
896 Technology::Identifier technology,
905 Technology::Identifier technology,
917 Technology::Identifier technology);
921 Technology::Identifier technology);
1014 virtual void NotifyFallbackDNSTestResult(Technology::Identifier technology_id,
1020 Technology::Identifier technology_id, int reason);
1030 Technology::Identifier technology_id, NetworkConnectionIPType type);
1034 Technology::Identifier technology_id, bool status);
1037 virtual void NotifyDevicePresenceStatus(Technology::Identifier technology_id,
[all …]
Dmanager_unittest.cc201 Technology::Identifier tech) { in IsDeviceRegistered()
488 const std::vector<Technology::Identifier>& GetTechnologyOrder() { in GetTechnologyOrder()
557 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
559 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
567 EXPECT_FALSE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
575 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[1], Technology::kWifi)); in TEST_F()
580 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
582 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
584 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
590 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
[all …]
Dservice_sorter.h37 const std::vector<Technology::Identifier>& tech_order) in ServiceSorter()
50 const std::vector<Technology::Identifier>& technology_order_;
Dmetrics.cc435 last_default_technology_(Technology::kUnknown), in Metrics()
691 Technology::Identifier technology = (service) ? service->technology() : in NotifyDefaultServiceChanged()
692 Technology::kUnknown; in NotifyDefaultServiceChanged()
694 if (last_default_technology_ != Technology::kUnknown) { in NotifyDefaultServiceChanged()
746 Technology::NameFromIdentifier( in NotifyServiceStateChanged()
762 Technology::Identifier technology_id) { in GetFullMetricName()
763 string technology = Technology::NameFromIdentifier(technology_id); in GetFullMetricName()
770 Technology::Identifier technology = service.technology(); in NotifyServiceDisconnect()
783 Technology::Identifier technology = service.technology(); in NotifySignalAtDisconnect()
935 Technology::Identifier technology, in NotifyLinkMonitorFailure()
[all …]
Dmock_service.cc45 Technology::kUnknown) { in MockService()
52 ON_CALL(*this, technology()).WillByDefault(Return(Technology::kUnknown)); in MockService()
Dmetrics_unittest.cc265 EXPECT_CALL(*eap_, OutputConnectionMetrics(&metrics_, Technology::kWifi)); in TEST_F()
335 WillOnce(Return(Technology::kEthernet)); in TEST_F()
337 WillOnce(Return(Technology::kWifi)); in TEST_F()
370 WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
452 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F()
465 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F()
478 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F()
491 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F()
503 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F()
516 metrics_.RegisterDevice(kInterfaceIndex, Technology::kWifi); in TEST_F()
[all …]
Dmanager.h171 FilterByTechnology(Technology::Identifier tech) const;
315 virtual bool IsPortalDetectionEnabled(Technology::Identifier tech);
331 virtual bool IsTechnologyConnected(Technology::Identifier technology) const;
335 Technology::Identifier technology) const;
342 Technology::Identifier technology) const;
345 virtual bool IsTechnologyProhibited(Technology::Identifier technology) const;
352 Technology::Identifier technology) const;
667 Technology::Identifier tech) const;
676 void OnTechnologyProhibited(Technology::Identifier technology,
829 std::map<Technology::Identifier, ProviderInterface*> providers_;
[all …]
Ddevice_info.h180 technology(Technology::kUnknown) in Info()
198 Technology::Identifier technology;
239 Technology::Identifier technology);
260 virtual Technology::Identifier GetDeviceTechnology(
Dmock_connection.cc24 : Connection(0, std::string(), Technology::kUnknown, device_info, in MockConnection()
Dconnection.h86 Technology::Identifier technology_,
139 virtual Technology::Identifier technology() const { return technology_; } in technology()
207 Technology::Identifier technology_;
Dmock_virtual_device.cc27 Technology::Identifier technology) in MockVirtualDevice()
Dmock_virtual_device.h36 Technology::Identifier technology);
/system/connectivity/shill/ethernet/
Dethernet_eap_service.cc37 Technology::kEthernetEap) { in EthernetEapService()
46 "%s_all", Technology::NameFromIdentifier(technology()).c_str()); in GetStorageIdentifier()
Dethernet_service.cc60 Technology::kEthernet, ethernet) { in EthernetService()
77 Technology::Identifier technology, in EthernetService()
104 "%s_%s", Technology::NameFromIdentifier(technology()).c_str(), in GetStorageIdentifier()
Dethernet_unittest.cc119 .WillByDefault(Return(Technology::kEthernet)); in SetUp()
568 .WillRepeatedly(Return(Technology::kEthernet)); in TEST_F()
573 EXPECT_CALL(manager_, RegisterService(TechnologyEq(Technology::kPPPoE))); in TEST_F()
574 EXPECT_CALL(manager_, DeregisterService(TechnologyEq(Technology::kPPPoE))); in TEST_F()
577 const vector<pair<bool, Technology::Identifier>> transitions = { in TEST_F()
578 {false, Technology::kEthernet}, in TEST_F()
579 {true, Technology::kPPPoE}, in TEST_F()
580 {false, Technology::kEthernet}, in TEST_F()
Dethernet_temporary_service.cc39 Technology::kEthernet), in EthernetTemporaryService()

1234