Lines Matching refs:ethernet_

76         ethernet_(new Ethernet(&control_interface_,  in EthernetTest()
98 ethernet_->weak_ptr_factory_.GetWeakPtr())) {} in EthernetTest()
102 ethernet_->rtnl_handler_ = &rtnl_handler_; in SetUp()
103 ethernet_->sockets_.reset(mock_sockets_); // Transfers ownership. in SetUp()
105 ethernet_->set_dhcp_provider(&dhcp_provider_); in SetUp()
110 ethernet_->eap_listener_.reset(eap_listener_); // Transfers ownership. in SetUp()
115 ethernet_->supplicant_process_proxy_.reset(supplicant_process_proxy_); in SetUp()
125 ethernet_->eap_listener_.reset(); in TearDown()
127 ethernet_->set_dhcp_provider(nullptr); in TearDown()
128 ethernet_->sockets_.reset(); in TearDown()
130 ethernet_->Stop(nullptr, EnabledStateChangedCallback()); in TearDown()
139 bool GetLinkUp() { return ethernet_->link_up_; } in GetLinkUp()
140 void SetLinkUp(bool link_up) { ethernet_->link_up_ = link_up; } in SetLinkUp()
142 return ethernet_->selected_service(); in GetSelectedService()
144 ServiceRefPtr GetService() { return ethernet_->service_; } in GetService()
146 ethernet_->service_ = service; in SetService()
148 const PropertyStore& GetStore() { return ethernet_->store(); } in GetStore()
152 ethernet_->Start(nullptr, EnabledStateChangedCallback()); in StartEthernet()
156 bool GetIsEapAuthenticated() { return ethernet_->is_eap_authenticated_; } in GetIsEapAuthenticated()
158 ethernet_->is_eap_authenticated_ = is_eap_authenticated; in SetIsEapAuthenticated()
160 bool GetIsEapDetected() { return ethernet_->is_eap_detected_; } in GetIsEapDetected()
162 ethernet_->is_eap_detected_ = is_eap_detected; in SetIsEapDetected()
165 return ethernet_->supplicant_interface_proxy_.get(); in GetSupplicantInterfaceProxy()
168 return ethernet_->supplicant_interface_path_; in GetSupplicantInterfacePath()
171 return ethernet_->supplicant_network_path_; in GetSupplicantNetworkPath()
174 ethernet_->supplicant_network_path_ = network_path; in SetSupplicantNetworkPath()
177 return ethernet_->StartSupplicant(); in InvokeStartSupplicant()
180 return ethernet_->StopSupplicant(); in InvokeStopSupplicant()
183 return ethernet_->StartEapAuthentication(); in InvokeStartEapAuthentication()
195 void TriggerOnEapDetected() { ethernet_->OnEapDetected(); } in TriggerOnEapDetected()
197 ethernet_->CertificationTask(subject, depth); in TriggerCertification()
200 ethernet_->TryEapAuthenticationTask(); in TriggerTryEapAuthentication()
216 EthernetRefPtr ethernet_; member in shill::EthernetTest
261 ethernet_->Stop(nullptr, EnabledStateChangedCallback()); in TEST_F()
276 ethernet_->LinkEvent(0, IFF_LOWER_UP); in TEST_F()
293 ethernet_->LinkEvent(IFF_LOWER_UP, 0); in TEST_F()
307 ethernet_->LinkEvent(IFF_LOWER_UP, 0); in TEST_F()
323 ClearCredentialChangeCallback(ethernet_.get())); in TEST_F()
328 ethernet_->LinkEvent(0, IFF_LOWER_UP); in TEST_F()
347 ethernet_->ConnectTo(mock_service_.get()); in TEST_F()
361 ethernet_->ConnectTo(mock_service_.get()); in TEST_F()
375 ethernet_->ConnectTo(mock_service_.get()); in TEST_F()
380 ethernet_->DisconnectFrom(mock_service_.get()); in TEST_F()
389 SetCredentialChangeCallback(ethernet_.get(), _)); in TEST_F()
584 ethernet_->mutable_store()->SetBoolProperty( in TEST_F()
595 ethernet_->mutable_store()->SetBoolProperty(kPPPoEProperty, true, &error); in TEST_F()