Home
last modified time | relevance | path

Searched refs:ethernet_ (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/shill/ethernet/
Dethernet_service.cc80 ethernet_(ethernet) {} in EthernetService()
86 CHECK(ethernet_); in Connect()
87 ethernet_->ConnectTo(this); in Connect()
92 CHECK(ethernet_); in Disconnect()
93 ethernet_->DisconnectFrom(this); in Disconnect()
97 CHECK(ethernet_); in GetDeviceRpcId()
98 return ethernet_->GetRpcIdentifier(); in GetDeviceRpcId()
102 CHECK(ethernet_); in GetStorageIdentifier()
105 ethernet_->address().c_str()); in GetStorageIdentifier()
128 CHECK(ethernet_); in IsVisible()
[all …]
Dethernet_unittest.cc76 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()
[all …]
Dethernet_service_unittest.cc40 ethernet_( in EthernetServiceTest()
53 ethernet_->weak_ptr_factory_.GetWeakPtr())) {} in EthernetServiceTest()
72 scoped_refptr<MockEthernet> ethernet_; member in shill::EthernetServiceTest
97 EXPECT_CALL(*ethernet_, link_up()).WillRepeatedly(Return(true)); in TEST_F()
98 EXPECT_CALL(*ethernet_, ConnectTo(service_.get())); in TEST_F()
100 EXPECT_CALL(*ethernet_, DisconnectFrom(service_.get())); in TEST_F()
126 EXPECT_CALL(*ethernet_, IsConnectedViaTether()) in TEST_F()
134 EXPECT_CALL(*ethernet_, link_up()) in TEST_F()
142 EXPECT_CALL(*ethernet_, link_up()) in TEST_F()
Dethernet_service.h76 Ethernet* ethernet() const { return ethernet_.get(); } in ethernet()
87 base::WeakPtr<Ethernet> ethernet_; variable
/system/connectivity/shill/pppoe/
Dpppoe_service_unittest.cc55 ethernet_(new MockEthernet(&control_interface_, in PPPoEServiceTest()
70 ethernet_->weak_ptr_factory_.GetWeakPtr())) { in PPPoEServiceTest()
83 EXPECT_CALL(*ethernet_, link_up()) in FakeConnectionSuccess()
97 scoped_refptr<MockEthernet> ethernet_; member in shill::PPPoEServiceTest
111 EXPECT_CALL(*ethernet_, link_up()).WillRepeatedly(Return(true)); in TEST_F()
121 EXPECT_CALL(*ethernet_, link_up()).WillRepeatedly(Return(true)); in TEST_F()
132 EXPECT_CALL(*ethernet_, link_up()).WillRepeatedly(Return(false)); in TEST_F()
169 EXPECT_CALL(*ethernet_, link_up()).WillRepeatedly(Return(true)); in TEST_F()