/system/connectivity/shill/ |
D | technology_unittest.cc | 34 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 …]
|
D | technology.cc | 40 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 …]
|
D | device_info.cc | 184 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 …]
|
D | device_info_unittest.cc | 134 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 …]
|
D | mock_metrics.h | 73 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));
|
D | mock_device.cc | 49 Technology::kUnknown) { in MockDevice() 50 DefaultValue<Technology::Identifier>::Set(Technology::kUnknown); in MockDevice()
|
D | manager.cc | 883 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 …]
|
D | virtual_device_unittest.cc | 53 Technology::kVPN)) {} in VirtualDeviceTest() 72 EXPECT_EQ(Technology::kVPN, device_->technology()); in TEST_F() 73 EXPECT_NE(Technology::kEthernet, device_->technology()); in TEST_F()
|
D | mock_manager.h | 79 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));
|
D | metrics.h | 831 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 …]
|
D | manager_unittest.cc | 201 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 …]
|
D | service_sorter.h | 37 const std::vector<Technology::Identifier>& tech_order) in ServiceSorter() 50 const std::vector<Technology::Identifier>& technology_order_;
|
D | metrics.cc | 435 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 …]
|
D | mock_service.cc | 45 Technology::kUnknown) { in MockService() 52 ON_CALL(*this, technology()).WillByDefault(Return(Technology::kUnknown)); in MockService()
|
D | metrics_unittest.cc | 265 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 …]
|
D | manager.h | 171 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 …]
|
D | device_info.h | 180 technology(Technology::kUnknown) in Info() 198 Technology::Identifier technology; 239 Technology::Identifier technology); 260 virtual Technology::Identifier GetDeviceTechnology(
|
D | mock_connection.cc | 24 : Connection(0, std::string(), Technology::kUnknown, device_info, in MockConnection()
|
D | connection.h | 86 Technology::Identifier technology_, 139 virtual Technology::Identifier technology() const { return technology_; } in technology() 207 Technology::Identifier technology_;
|
D | mock_virtual_device.cc | 27 Technology::Identifier technology) in MockVirtualDevice()
|
D | mock_virtual_device.h | 36 Technology::Identifier technology);
|
/system/connectivity/shill/ethernet/ |
D | ethernet_eap_service.cc | 37 Technology::kEthernetEap) { in EthernetEapService() 46 "%s_all", Technology::NameFromIdentifier(technology()).c_str()); in GetStorageIdentifier()
|
D | ethernet_service.cc | 60 Technology::kEthernet, ethernet) { in EthernetService() 77 Technology::Identifier technology, in EthernetService() 104 "%s_%s", Technology::NameFromIdentifier(technology()).c_str(), in GetStorageIdentifier()
|
D | ethernet_unittest.cc | 119 .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()
|
D | ethernet_temporary_service.cc | 39 Technology::kEthernet), in EthernetTemporaryService()
|