Home
last modified time | relevance | path

Searched refs:SetState (Results 1 – 25 of 41) sorted by relevance

12

/system/connectivity/shill/wimax/
Dwimax_unittest.cc111 EXPECT_CALL(*service, SetState(Service::kStateIdle)); in TEST_F()
163 EXPECT_CALL(*service, SetState(_)).Times(0); in TEST_F()
165 EXPECT_CALL(*service, SetState(Service::kStateFailure)); in TEST_F()
176 EXPECT_CALL(*service, SetState(_)).Times(0); in TEST_F()
183 EXPECT_CALL(*service, SetState(Service::kStateFailure)); in TEST_F()
190 EXPECT_CALL(*service, SetState(Service::kStateFailure)); in TEST_F()
191 EXPECT_CALL(*service, SetState(Service::kStateIdle)); in TEST_F()
198 EXPECT_CALL(*service, SetState(_)).Times(0); in TEST_F()
205 EXPECT_CALL(*service, SetState(Service::kStateIdle)); in TEST_F()
224 EXPECT_CALL(*service0, SetState(Service::kStateIdle)).Times(2); in TEST_F()
[all …]
Dwimax_service.h93 void SetState(ConnectState state) override;
102 FRIEND_TEST(WiMaxServiceTest, SetState);
Dwimax.cc110 pending_service_->SetState(Service::kStateIdle); in Stop()
157 service->SetState(Service::kStateAssociating); in ConnectTo()
334 pending_service_->SetState(state); in DropService()
340 selected_service()->SetState(state); in DropService()
Dmock_wimax_service.h38 MOCK_METHOD1(SetState, void(ConnectState state));
Dwimax_service.cc283 void WiMaxService::SetState(ConnectState state) { in SetState() function in shill::WiMaxService
284 Service::SetState(state); in SetState()
Dwimax_service_unittest.cc309 TEST_F(WiMaxServiceTest, SetState) { in TEST_F() argument
314 service_->SetState(Service::kStateAssociating); in TEST_F()
319 service_->SetState(Service::kStateFailure); in TEST_F()
/system/connectivity/apmanager/
Dservice.cc79 adaptor_->SetState(kStateIdle); in Service()
169 adaptor_->SetState(kStateStarting); in StartInternal()
217 adaptor_->SetState(kStateIdle); in Stop()
312 adaptor_->SetState(kStateFailed); in HostapdEventCallback()
315 adaptor_->SetState(kStateStarted); in HostapdEventCallback()
Dservice_adaptor_interface.h34 virtual void SetState(const std::string& state) = 0;
Dmock_service_adaptor.h36 MOCK_METHOD1(SetState, void(const std::string& state));
/system/connectivity/apmanager/dbus/
Dservice_dbus_adaptor.cc76 void ServiceDBusAdaptor::SetState(const string& state) { in SetState() function in apmanager::ServiceDBusAdaptor
77 adaptor_.SetState(state); in SetState()
Dservice_dbus_adaptor.h48 void SetState(const std::string& state) override;
/system/connectivity/shill/vpn/
Dmock_vpn_service.h35 MOCK_METHOD1(SetState, void(ConnectState state));
Dthird_party_vpn_driver_unittest.cc95 EXPECT_CALL(*service_, SetState(Service::kStateConfiguring)).Times(1); in TEST_F()
118 EXPECT_CALL(*service_, SetState(Service::kStateIdle)).Times(1); in TEST_F()
172 EXPECT_CALL(*service_, SetState(_)).Times(0); in TEST_F()
177 EXPECT_CALL(*service_, SetState(Service::kStateFailure)).Times(1); in TEST_F()
Dthird_party_vpn_driver.cc159 service_->SetState(connection_state); in UpdateConnectionState()
433 service_->SetState(state); in Cleanup()
458 service_->SetState(Service::kStateConfiguring); in Connect()
/system/connectivity/shill/cellular/
Dcellular.cc232 void Cellular::SetState(State state) { in SetState() function in shill::Cellular
319 SetState(kStateEnabled); in StartModemCallback()
336 SetState(kStateDisabled); in StopModemCallback()
459 service_->SetState(state); in SetServiceState()
587 SetState(kStateEnabled); in HandleNewRegistrationState()
598 SetState(kStateRegistered); in HandleNewRegistrationState()
741 service_->SetState(Service::kStateAssociating); in OnConnecting()
750 SetState(kStateConnected); in OnConnected()
863 SetState(kStateLinked); in LinkEvent()
890 SetState(kStateConnected); in LinkEvent()
[all …]
Dmock_cellular_service.h40 MOCK_METHOD1(SetState, void(ConnectState state));
Dcellular_service.cc262 SetState(kStateIdle); in Load()
367 void CellularService::SetState(ConnectState new_state) { in SetState() function in shill::CellularService
369 Service::SetState(new_state); in SetState()
/system/connectivity/shill/
Ddevice_unittest.cc611 EXPECT_CALL(*service, SetState(Service::kStateConfiguring)); in TEST_F()
619 EXPECT_CALL(*service, SetState(Service::kStateIdle)); in TEST_F()
694 EXPECT_CALL(*service, SetState(_)); in TEST_F()
740 EXPECT_CALL(*service, SetState(Service::kStateConnected)); in TEST_F()
745 EXPECT_CALL(*service, SetState(Service::kStateOnline)); in TEST_F()
808 EXPECT_CALL(*service, SetState(Service::kStateConnected)); in TEST_F()
821 EXPECT_CALL(*service, SetState(Service::kStateOnline)); in TEST_F()
1160 EXPECT_CALL(*service, SetState(_)); in TEST_F()
1225 EXPECT_CALL(*service, SetState(_)); in TEST_F()
1613 EXPECT_CALL(*service, SetState(Service::kStateConnected)); in TEST_F()
[all …]
Dservice_unittest.cc789 service_->SetState(Service::kStateConnected); in TEST_F()
792 service_->SetState(Service::kStateConnected); in TEST_F()
811 service_->SetState(Service::kStateConnected); in TEST_F()
842 service_->SetState(Service::kStateConnected); in TEST_F()
854 service_->SetState(Service::kStateConnected); in TEST_F()
882 service_->SetState(Service::kStateConnected); in TEST_F()
891 service_->SetState(Service::kStateIdle); in TEST_F()
898 service_->SetState(Service::kStateConnected); in TEST_F()
902 service_->SetState(Service::kStateIdle); in TEST_F()
914 service_->SetState(Service::kStateIdle); in TEST_F()
[all …]
Dservice_property_change_test.cc54 service->SetState(Service::kStateConnected); in TestCommonPropertyChanges()
111 service->SetState(Service::kStateConnected); in TestCommonPropertyChanges()
Dmock_service.h50 MOCK_METHOD1(SetState, void(ConnectState state));
/system/connectivity/shill/ethernet/
Dmock_ethernet_service.h49 MOCK_METHOD1(SetState, void(ConnectState state));
Dethernet_unittest.cc346 EXPECT_CALL(*mock_service_, SetState(_)).Times(0); in TEST_F()
360 EXPECT_CALL(*mock_service_, SetState(Service::kStateFailure)); in TEST_F()
374 EXPECT_CALL(*mock_service_, SetState(Service::kStateConfiguring)); in TEST_F()
379 EXPECT_CALL(*mock_service_, SetState(Service::kStateIdle)); in TEST_F()
/system/connectivity/shill/wifi/
Dmock_wifi_service.h45 MOCK_METHOD1(SetState, void(ConnectState state));
/system/connectivity/shill/pppoe/
Dpppoe_service.cc134 SetState(Service::kStateAssociating); in Connect()
145 SetState(Service::kStateIdle); in Disconnect()

12