Searched refs:WiFiServiceRefPtr (Results 1 – 10 of 10) sorted by relevance
/system/connectivity/shill/wifi/ |
D | wifi_provider.h | 91 virtual WiFiServiceRefPtr FindServiceForEndpoint( 102 virtual WiFiServiceRefPtr OnEndpointRemoved( 113 virtual bool OnServiceUnloaded(const WiFiServiceRefPtr& service); 159 typedef std::map<const WiFiEndpoint*, WiFiServiceRefPtr> EndpointServiceMap; 176 WiFiServiceRefPtr AddService(const std::vector<uint8_t>& ssid, 182 WiFiServiceRefPtr FindService(const std::vector<uint8_t>& ssid, 188 WiFiServiceRefPtr GetWiFiService(const KeyValueStore& args, Error* error); 192 void ForgetService(const WiFiServiceRefPtr& service); 252 std::vector<WiFiServiceRefPtr> services_;
|
D | wifi_service_unittest.cc | 99 const WiFiServiceRefPtr& service) { in SetMockEap() 107 WiFiServiceRefPtr service = MakeSimpleService(security); in CheckConnectable() 143 WiFiServiceRefPtr MakeSimpleService(const string& security) { in MakeSimpleService() 154 WiFiServiceRefPtr MakeGenericService() { in MakeGenericService() 157 void SetWiFi(WiFiServiceRefPtr service, WiFiRefPtr wifi) { in SetWiFi() 160 void SetWiFiForService(WiFiServiceRefPtr service, WiFiRefPtr wifi) { in SetWiFiForService() 163 WiFiServiceRefPtr MakeServiceWithWiFi(const string& security) { in MakeServiceWithWiFi() 164 WiFiServiceRefPtr service = MakeSimpleService(security); in MakeServiceWithWiFi() 168 WiFiServiceRefPtr MakeServiceWithMockManager() { in MakeServiceWithMockManager() 193 WiFiServiceRefPtr service = MakeSimpleService(security); in TestConfigurePassphrase() [all …]
|
D | mock_wifi_provider.h | 43 WiFiServiceRefPtr(const WiFiEndpointConstRefPtr& endpoint)); 46 WiFiServiceRefPtr(const WiFiEndpointConstRefPtr& endpoint)); 49 MOCK_METHOD1(OnServiceUnloaded, bool(const WiFiServiceRefPtr& service));
|
D | wifi_provider.cc | 109 WiFiServiceRefPtr service = services_.back(); in Stop() 189 WiFiServiceRefPtr service(FindService(ssid, mode, security)); in FindSimilarService() 251 WiFiServiceRefPtr WiFiProvider::GetWiFiService( in GetWiFiService() 263 WiFiServiceRefPtr service(FindService(ssid_bytes, mode, security_method)); in GetWiFiService() 274 WiFiServiceRefPtr WiFiProvider::FindServiceForEndpoint( in FindServiceForEndpoint() 288 WiFiServiceRefPtr service = FindService(endpoint->ssid(), in OnEndpointAdded() 309 WiFiServiceRefPtr WiFiProvider::OnEndpointRemoved( in OnEndpointRemoved() 315 WiFiServiceRefPtr service = FindServiceForEndpoint(endpoint); in OnEndpointRemoved() 361 bool WiFiProvider::OnServiceUnloaded(const WiFiServiceRefPtr& service) { in OnServiceUnloaded() 453 WiFiServiceRefPtr WiFiProvider::AddService(const vector<uint8_t>& ssid, in AddService() [all …]
|
D | wifi.h | 219 bool IsCurrentService(const WiFiServiceRefPtr service) { in IsCurrentService() 230 virtual void DisassociateFromService(const WiFiServiceRefPtr& service); 423 void ServiceDisconnected(WiFiServiceRefPtr service); 451 bool SuspectCredentials(WiFiServiceRefPtr service, 540 void SetPendingService(const WiFiServiceRefPtr& service); 635 WiFiServiceRefPtr current_service_; 640 WiFiServiceRefPtr pending_service_;
|
D | wifi_provider_unittest.cc | 205 const vector<WiFiServiceRefPtr> GetServices() { in GetServices() 301 WiFiServiceRefPtr GetService(const char* ssid, in GetService() 313 WiFiServiceRefPtr GetWiFiService(const KeyValueStore& args, Error* error) { in GetWiFiService() 317 WiFiServiceRefPtr FindService(const vector<uint8_t>& ssid, in FindService() 345 void AddEndpointToService(WiFiServiceRefPtr service, in AddEndpointToService() 655 const WiFiServiceRefPtr service = GetServices().front(); in TEST_F() 979 WiFiServiceRefPtr service = GetService(kSSID.c_str(), kModeManaged, in TEST_F() 996 WiFiServiceRefPtr service0 = GetService( in TEST_F() 1009 WiFiServiceRefPtr service1 = in TEST_F() 1018 WiFiServiceRefPtr service2 = GetService( in TEST_F() [all …]
|
D | wifi_unittest.cc | 777 EndpointRemovalHandler(WiFiRefPtr wifi, const WiFiServiceRefPtr& service) in EndpointRemovalHandler() 781 WiFiServiceRefPtr OnEndpointRemoved( in OnEndpointRemoved() 789 WiFiServiceRefPtr service_; 793 const WiFiServiceRefPtr& service) { in MakeEndpointRemovalHandler() 868 WiFiServiceRefPtr service, in AddEndpointToService() 886 void InitiateConnect(WiFiServiceRefPtr service) { in InitiateConnect() 889 void InitiateDisconnect(WiFiServiceRefPtr service) { in InitiateDisconnect() 892 void InitiateDisconnectIfActive(WiFiServiceRefPtr service) { in InitiateDisconnectIfActive() 966 const WiFiServiceRefPtr& GetCurrentService() { in GetCurrentService() 969 void SetCurrentService(const WiFiServiceRefPtr& service) { in SetCurrentService() [all …]
|
D | wifi.cc | 948 void WiFi::ServiceDisconnected(WiFiServiceRefPtr affected_service) { in ServiceDisconnected() 989 WiFiServiceRefPtr service = provider_->FindServiceForEndpoint(endpoint); in HandleRoam() 1295 WiFiServiceRefPtr service = provider_->OnEndpointRemoved(endpoint); in BSSRemovedTask() 1681 WiFiServiceRefPtr service, Service::ConnectFailure* failure) const { in SuspectCredentials() 1786 void WiFi::DisassociateFromService(const WiFiServiceRefPtr& service) { in DisassociateFromService() 2121 void WiFi::SetPendingService(const WiFiServiceRefPtr& service) { in SetPendingService() 2159 WiFiServiceRefPtr pending_service = pending_service_; in PendingTimeoutHandler()
|
/system/connectivity/shill/ |
D | refptr_types.h | 74 typedef scoped_refptr<WiFiService> WiFiServiceRefPtr; typedef
|
D | manager_unittest.cc | 339 WiFiServiceRefPtr ReleaseTempMockService() { in ReleaseTempMockService() 341 WiFiServiceRefPtr temp_service = temp_mock_service_; in ReleaseTempMockService() 1695 WiFiServiceRefPtr wifi_service; in TEST_F() 2069 .WillOnce(Return(WiFiServiceRefPtr())); in TEST_F() 2071 .WillOnce(Return(WiFiServiceRefPtr())); in TEST_F() 2101 .WillOnce(Return(WiFiServiceRefPtr())); in TEST_F()
|