Home
last modified time | relevance | path

Searched refs:WiFiService (Results 1 – 14 of 14) sorted by relevance

/system/connectivity/shill/wifi/
Dwifi_service.cc61 static string ObjectID(const WiFiService* w) { return w->GetRpcIdentifier(); } in ObjectID()
64 const char WiFiService::kAutoConnNoEndpoint[] = "no endpoints";
65 const char WiFiService::kAnyDeviceAddress[] = "any";
66 const int WiFiService::kSuspectedCredentialFailureThreshold = 3;
68 const char WiFiService::kStorageHiddenSSID[] = "WiFi.HiddenSSID";
69 const char WiFiService::kStorageMode[] = "WiFi.Mode";
70 const char WiFiService::kStoragePassphrase[] = "Passphrase";
71 const char WiFiService::kStorageSecurity[] = "WiFi.Security";
72 const char WiFiService::kStorageSecurityClass[] = "WiFi.SecurityClass";
73 const char WiFiService::kStorageSSID[] = "SSID";
[all …]
Dmock_wifi.h55 MOCK_METHOD1(DisconnectFromIfActive, void(WiFiService* service));
56 MOCK_METHOD1(DisconnectFrom, void(WiFiService* service));
57 MOCK_METHOD1(ClearCachedCredentials, void(const WiFiService* service));
58 MOCK_METHOD1(ConnectTo, void(WiFiService* service));
Dwifi_service.h40 class WiFiService : public Service {
54 WiFiService(ControlInterface* control_interface,
63 ~WiFiService();
243 std::string(WiFiService::*get)(Error* error));
246 std::string(WiFiService::*get)(Error* error),
247 bool(WiFiService::*set)(const std::string& value, Error* error));
250 bool(WiFiService::*set)(const std::string& value, Error* error),
251 void(WiFiService::*clear)(Error* error),
255 uint16_t(WiFiService::*get)(Error* error),
256 bool(WiFiService::*set)(const uint16_t& value, Error* error),
[all …]
Dwifi.h128 class WiFiService; variable
185 virtual void ConnectTo(WiFiService* service);
189 virtual void DisconnectFromIfActive(WiFiService* service);
194 virtual void DisconnectFrom(WiFiService* service);
199 virtual void ClearCachedCredentials(const WiFiService* service);
233 virtual void DestroyServiceLease(const WiFiService& service);
345 typedef std::map<const WiFiService*, std::string> ReverseServiceMap;
381 void AppendBgscan(WiFiService* service,
416 std::string FindNetworkRpcidForService(const WiFiService* service,
478 const WiFiService* service, Error* error);
[all …]
Dwifi_service_unittest.cc144 return new WiFiService(control_interface(), in MakeSimpleService()
169 return new WiFiService(control_interface(), in MakeServiceWithMockManager()
188 ServiceMockAdaptor* GetAdaptor(WiFiService* service) { in GetAdaptor()
211 string GetAnyDeviceAddress() { return WiFiService::kAnyDeviceAddress; } in GetAnyDeviceAddress()
229 arg.ContainsString(WiFiService::kStorageType) &&
230 arg.GetString(WiFiService::kStorageType) == kTypeWifi &&
231 arg.ContainsString(WiFiService::kStorageSSID) &&
232 arg.GetString(WiFiService::kStorageSSID) == hex_ssid &&
233 arg.ContainsString(WiFiService::kStorageMode) &&
234 arg.GetString(WiFiService::kStorageMode) == mode &&
[all …]
Dwifi_provider.cc209 return new WiFiService(control_interface_, in CreateTemporaryService()
235 return new WiFiService(control_interface_, in CreateTemporaryServiceFromProfile()
296 WiFiService::ComputeSecurityClass(endpoint->security_mode()), in OnEndpointAdded()
342 WiFiService* service = FindServiceForEndpoint(endpoint).get(); in OnEndpointUpdated()
378 if (WiFiService::FixupServiceEntries(storage)) { in LoadAndFixupServiceEntries()
457 WiFiServiceRefPtr service = new WiFiService(control_interface_, in AddService()
562 if (!WiFiService::IsValidMode(mode_test)) { in GetServiceParametersFromArgs()
609 if (!WiFiService::IsValidSecurityClass(security_class_test)) { in GetServiceParametersFromArgs()
618 if (!WiFiService::IsValidSecurityMethod(security_method_test)) { in GetServiceParametersFromArgs()
648 if (!storage->GetString(entry_name, WiFiService::kStorageType, &type) || in GetServiceParametersFromStorage()
[all …]
Dmock_wifi_service.cc37 : WiFiService( in MockWiFiService()
Dmock_wifi_service.h29 class MockWiFiService : public WiFiService {
Dwifi.cc444 void WiFi::ConnectTo(WiFiService* service) { in ConnectTo()
530 void WiFi::DisconnectFromIfActive(WiFiService* service) { in DisconnectFromIfActive()
545 void WiFi::DisconnectFrom(WiFiService* service) { in DisconnectFrom()
643 void WiFi::SetHT40EnableForService(const WiFiService* service, bool enable) { in SetHT40EnableForService()
666 void WiFi::ClearCachedCredentials(const WiFiService* service) { in ClearCachedCredentials()
686 void WiFi::AppendBgscan(WiFiService* service, in AppendBgscan()
874 WiFiService* affected_service = in HandleDisconnect()
1100 const WiFiService* service, Error* error) { in FindNetworkRpcidForService()
1119 bool WiFi::DisableNetworkForService(const WiFiService* service, Error* error) { in DisableNetworkForService()
1146 bool WiFi::RemoveNetworkForService(const WiFiService* service, Error* error) { in RemoveNetworkForService()
[all …]
Dwifi_provider.h45 class WiFiService; variable
Dwifi_provider_unittest.cc238 profile_storage, id, WiFiService::kStorageType, kTypeWifi); in AddServiceToProfileStorage()
244 profile_storage, id, WiFiService::kStorageSSID, hex_ssid); in AddServiceToProfileStorage()
248 profile_storage, id, WiFiService::kStorageMode, mode); in AddServiceToProfileStorage()
252 profile_storage, id, WiFiService::kStorageSecurity, security); in AddServiceToProfileStorage()
734 GetString(kEntryName, WiFiService::kStorageType, _)) in TEST_F()
Dwifi_unittest.cc1023 void ClearCachedCredentials(const WiFiService* service) { in ClearCachedCredentials()
1200 void AppendBgscan(WiFiService* service, in AppendBgscan()
/system/connectivity/shill/
Drefptr_types.h72 class WiFiService; variable
73 typedef scoped_refptr<const WiFiService> WiFiServiceConstRefPtr;
74 typedef scoped_refptr<WiFiService> WiFiServiceRefPtr;
Dmanager.cc1570 WiFiService* wifi = reinterpret_cast<WiFiService*>(&(*service)); in VerifyDestination()