/external/chromium/chrome/browser/chromeos/cros/ |
D | network_library_unittest.cc | 17 WifiNetwork* wifi = new WifiNetwork("fw"); in TEST() local 18 wifi->SetName(wifi_setname); in TEST() 19 EXPECT_EQ(wifi->name(), wifi_setname_result); in TEST() 20 delete wifi; in TEST() 27 WifiNetwork* wifi = new WifiNetwork("fw"); in TEST() local 28 wifi->SetName(wifi_setname2); in TEST() 29 EXPECT_EQ(wifi->name(), wifi_setname2_result); in TEST() 30 delete wifi; in TEST() 37 WifiNetwork* wifi = new WifiNetwork("fw"); in TEST() local 38 wifi->SetSsid(wifi_utf8); in TEST() [all …]
|
D | network_library.cc | 2666 WifiNetwork* wifi = static_cast<WifiNetwork *>(network); in NetworkConnectCallback() local 2669 if (!wifi->save_credentials()) { in NetworkConnectCallback() 2670 wifi->EraseCredentials(); in NetworkConnectCallback() 2672 networklib->active_wifi_ = wifi; in NetworkConnectCallback() 2703 virtual void ConnectToWifiNetwork(WifiNetwork* wifi) { in ConnectToWifiNetwork() argument 2705 if (wifi->user_passphrase_ != wifi->passphrase_ || in ConnectToWifiNetwork() 2706 wifi->passphrase_required()) in ConnectToWifiNetwork() 2707 wifi->SetPassphrase(wifi->user_passphrase_); in ConnectToWifiNetwork() 2708 CallConnectToNetwork(wifi); in ConnectToWifiNetwork() 2713 WifiNetwork* wifi = FindWifiNetworkByPath(service_path); in ConnectToWifiNetwork() local [all …]
|
/external/chromium_org/components/wifi/ |
D | wifi_service.cc | 12 namespace wifi { namespace 16 security(onc::wifi::kNone), in NetworkProperties() 33 scoped_ptr<base::DictionaryValue> wifi(new base::DictionaryValue()); in ToValue() local 34 wifi->SetString(onc::wifi::kSecurity, security); in ToValue() 35 wifi->SetInteger(onc::wifi::kSignalStrength, signal_strength); in ToValue() 40 wifi->SetInteger(onc::wifi::kFrequency, frequency); in ToValue() 48 wifi->Set(onc::wifi::kFrequencyList, frequency_list.release()); in ToValue() 50 wifi->SetString(onc::wifi::kBSSID, bssid); in ToValue() 51 wifi->SetString(onc::wifi::kSSID, ssid); in ToValue() 53 value->Set(onc::network_type::kWiFi, wifi.release()); in ToValue() [all …]
|
D | wifi_service_win.cc | 165 namespace wifi { namespace 1044 return onc::wifi::kWPA_EAP; in SecurityFromDot11AuthAlg() 1046 return onc::wifi::kWPA_PSK; in SecurityFromDot11AuthAlg() 1048 return onc::wifi::kWEP_PSK; in SecurityFromDot11AuthAlg() 1050 return onc::wifi::kNone; in SecurityFromDot11AuthAlg() 1052 return onc::wifi::kWPA_EAP; in SecurityFromDot11AuthAlg() 1265 const DictionaryValue* wifi; in GetFrequencyToConnect() local 1269 properties->GetDictionary(onc::network_type::kWiFi, &wifi) && in GetFrequencyToConnect() 1270 wifi->GetInteger(onc::wifi::kFrequency, &frequency)) { in GetFrequencyToConnect() 1484 if (security == onc::wifi::kNone) { in AuthEncryptionFromSecurity() [all …]
|
D | fake_wifi_service.cc | 12 namespace wifi { namespace 40 network_properties.security = onc::wifi::kWEP_PSK; in FakeWiFiService() 63 network_properties.security = onc::wifi::kWPA_PSK; in FakeWiFiService()
|
/external/chromium/chrome/browser/chromeos/options/ |
D | wifi_config_view.cc | 238 WifiConfigView::WifiConfigView(NetworkConfigView* parent, WifiNetwork* wifi) in WifiConfigView() argument 239 : ChildNetworkConfigView(parent, wifi), in WifiConfigView() 260 Init(wifi); in WifiConfigView() 367 const WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path_); in UpdateErrorLabel() local 368 if (wifi && wifi->failed()) { in UpdateErrorLabel() 369 bool passphrase_empty = wifi->GetPassphrase().empty(); in UpdateErrorLabel() 370 switch (wifi->error()) { in UpdateErrorLabel() 384 error_msg = wifi->GetErrorString(); in UpdateErrorLabel() 463 WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path_); in Login() local 464 if (!wifi) { in Login() [all …]
|
D | wifi_config_view.h | 43 WifiConfigView(NetworkConfigView* parent, WifiNetwork* wifi); 76 void Init(WifiNetwork* wifi);
|
/external/chromium/chrome/browser/chromeos/ |
D | network_login_observer.cc | 58 const WifiNetwork* wifi = *it; in RefreshStoredNetworks() local 59 network_failures_[wifi->service_path()] = wifi->failed(); in RefreshStoredNetworks() 76 WifiNetwork* wifi = *it; in OnNetworkManagerChanged() local 77 if (wifi->failed()) { in OnNetworkManagerChanged() 79 network_failures_.find(wifi->service_path()); in OnNetworkManagerChanged() 93 if (wifi->error() == ERROR_BAD_PASSPHRASE || in OnNetworkManagerChanged() 94 wifi->error() == ERROR_BAD_WEPKEY || in OnNetworkManagerChanged() 95 wifi->added()) { in OnNetworkManagerChanged() 97 view = new NetworkConfigView(wifi); in OnNetworkManagerChanged()
|
/external/chromium_org/components/ |
D | wifi.gypi | 22 'wifi/wifi_export.h', 23 'wifi/wifi_service.cc', 24 'wifi/wifi_service.h', 25 'wifi/fake_wifi_service.cc', 26 'wifi/wifi_service_win.cc', 50 'wifi/wifi_test.cc',
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider_observers_chromeos.cc | 132 const chromeos::WifiNetwork* wifi = GetWifiNetwork(obj); in OnNetworkManagerChanged() local 133 if (!wifi) { in OnNetworkManagerChanged() 144 if (wifi->failed()) { in OnNetworkManagerChanged() 146 return_value->SetString("error_string", wifi->GetErrorString()); in OnNetworkManagerChanged() 150 } else if (wifi->connected()) { in OnNetworkManagerChanged() 181 const chromeos::WifiNetwork* wifi = *iter; in GetWifiNetwork() local 182 if (wifi->name() == ssid_) in GetWifiNetwork() 183 return wifi; in GetWifiNetwork()
|
D | testing_automation_provider_chromeos.cc | 297 const chromeos::WifiNetwork* wifi = *iter; in GetNetworkInfo() local 298 DictionaryValue* item = GetNetworkInfoDict(wifi); in GetNetworkInfo() 299 item->SetInteger("strength", wifi->strength()); in GetNetworkInfo() 300 item->SetBoolean("encrypted", wifi->encrypted()); in GetNetworkInfo() 301 item->SetString("encryption", wifi->GetEncryptionString()); in GetNetworkInfo() 302 items->Set(wifi->service_path(), item); in GetNetworkInfo() 402 chromeos::WifiNetwork* wifi = in ConnectToWifiNetwork() local 404 if (!wifi) { in ConnectToWifiNetwork() 409 wifi->SetPassphrase(password); in ConnectToWifiNetwork() 411 wifi->SetIdentity(identity); in ConnectToWifiNetwork() [all …]
|
/external/chromium_org/chromeos/network/onc/ |
D | onc_translation_tables.cc | 103 { ::onc::wifi::kAutoConnect, shill::kAutoConnectProperty}, 104 { ::onc::wifi::kBSSID, shill::kWifiBSsid}, 105 { ::onc::wifi::kFrequency, shill::kWifiFrequency}, 106 { ::onc::wifi::kFrequencyList, shill::kWifiFrequencyListProperty}, 107 { ::onc::wifi::kHiddenSSID, shill::kWifiHiddenSsid}, 108 { ::onc::wifi::kPassphrase, shill::kPassphraseProperty}, 113 { ::onc::wifi::kSignalStrength, shill::kSignalStrengthProperty}, 229 { ::onc::wifi::kNone, shill::kSecurityNone}, 230 { ::onc::wifi::kWEP_PSK, shill::kSecurityWep}, 231 { ::onc::wifi::kWPA_PSK, shill::kSecurityPsk}, [all …]
|
D | onc_signature.cc | 192 { ::onc::wifi::kAutoConnect, &kBoolSignature}, 193 { ::onc::wifi::kEAP, &kEAPSignature}, 194 { ::onc::wifi::kHiddenSSID, &kBoolSignature}, 195 { ::onc::wifi::kPassphrase, &kStringSignature}, 196 { ::onc::wifi::kSSID, &kStringSignature}, 197 { ::onc::wifi::kSecurity, &kStringSignature}, 201 { ::onc::wifi::kBSSID, &kStringSignature}, 202 { ::onc::wifi::kFrequency, &kIntegerSignature}, 203 { ::onc::wifi::kFrequencyList, &kIntegerListSignature}, 204 { ::onc::wifi::kSignalStrength, &kIntegerSignature}, [all …]
|
D | onc_normalizer.cc | 209 void Normalizer::NormalizeWiFi(base::DictionaryValue* wifi) { in NormalizeWiFi() argument 210 using namespace ::onc::wifi; in NormalizeWiFi() 213 wifi->GetStringWithoutPathExpansion(::onc::wifi::kSecurity, &security); in NormalizeWiFi() 214 RemoveEntryUnless(wifi, kEAP, security == kWEP_8021X || security == kWPA_EAP); in NormalizeWiFi() 215 RemoveEntryUnless(wifi, kPassphrase, in NormalizeWiFi()
|
/external/chromium_org/chrome/browser/chromeos/options/ |
D | wifi_config_view.cc | 584 const NetworkState* wifi = NetworkHandler::Get()->network_state_handler()-> in UpdateErrorLabel() local 586 if (wifi && wifi->connection_state() == shill::kStateFailure) in UpdateErrorLabel() 588 wifi->error(), wifi->path()); in UpdateErrorLabel() 650 const NetworkState* wifi = !service_path_.empty() ? in Login() local 659 const bool share_default = !wifi || !wifi->IsPrivate(); in Login() 707 if (!wifi) { in Login() 888 const NetworkState* wifi = NetworkHandler::Get()->network_state_handler()-> in Init() local 890 if (wifi) { in Init() 891 DCHECK(wifi->type() == shill::kTypeWifi); in Init() 892 if (wifi->security() == shill::kSecurity8021x) in Init() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowWifiManager.java | 3 import android.net.wifi.ScanResult; 4 import android.net.wifi.WifiConfiguration; 5 import android.net.wifi.WifiInfo; 6 import android.net.wifi.WifiManager;
|
/external/chromium/chrome/browser/chromeos/status/ |
D | network_dropdown_button.cc | 87 const WifiNetwork* wifi = in OnNetworkManagerChanged() local 89 SetIcon(*IconForNetworkStrength(wifi, true)); in OnNetworkManagerChanged() 90 SetText(UTF8ToWide(wifi->name())); in OnNetworkManagerChanged()
|
D | network_menu.cc | 108 WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path); in ConnectToNetworkAt() local 109 if (wifi) { in ConnectToNetworkAt() 112 wifi->SetAutoConnect(auto_connect ? true : false); in ConnectToNetworkAt() 113 if (wifi->connecting_or_connected()) { in ConnectToNetworkAt() 115 owner_->ShowTabbedNetworkSettings(wifi); in ConnectToNetworkAt() 118 if (wifi->IsPassphraseRequired()) { in ConnectToNetworkAt() 120 ShowNetworkConfigView(new NetworkConfigView(wifi)); in ConnectToNetworkAt() 123 cros->ConnectToWifiNetwork(wifi); in ConnectToNetworkAt() 804 const NetworkDevice* wifi = cros->FindWifiDevice(); in InitMenuItems() local 805 if (wifi) { in InitMenuItems() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
D | networking_private_service_client.h | 30 namespace wifi { 36 using wifi::WiFiService; 108 NetworkingPrivateServiceClient(wifi::WiFiService* wifi_service, 258 scoped_ptr<wifi::WiFiService> wifi_service_;
|
D | DEPS | 3 "+components/wifi",
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | WifiInfoTest.java | 3 import android.net.wifi.WifiInfo; 4 import android.net.wifi.WifiManager;
|
D | WifiManagerTest.java | 3 import android.net.wifi.ScanResult; 4 import android.net.wifi.WifiConfiguration; 5 import android.net.wifi.WifiInfo; 6 import android.net.wifi.WifiManager;
|
/external/chromium/chrome/browser/chromeos/login/ |
D | network_screen_browsertest.cc | 195 scoped_ptr<WifiNetwork> wifi(new WifiNetwork("wifi")); in IN_PROC_BROWSER_TEST_F() local 197 wifi_networks.push_back(wifi.get()); in IN_PROC_BROWSER_TEST_F() 199 .WillRepeatedly(Return(wifi.get())); in IN_PROC_BROWSER_TEST_F() 277 scoped_ptr<WifiNetwork> wifi(new WifiNetwork("wifi")); in IN_PROC_BROWSER_TEST_F() local 279 .WillOnce(Return(wifi.get())); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | internet_options_handler.cc | 632 const chromeos::WifiNetwork* wifi = in PopulateDictionaryDetails() local 634 if (!wifi) { in PopulateDictionaryDetails() 637 PopulateWifiDetails(wifi, &dictionary); in PopulateDictionaryDetails() 662 const chromeos::WifiNetwork* wifi, in PopulateWifiDetails() argument 664 dictionary->SetString("ssid", wifi->name()); in PopulateWifiDetails() 665 dictionary->SetBoolean("autoConnect", wifi->auto_connect()); in PopulateWifiDetails() 666 dictionary->SetBoolean("encrypted", wifi->encrypted()); in PopulateWifiDetails() 874 chromeos::WifiNetwork* wifi = NULL; in HandleWifiButtonClick() local 884 } else if ((wifi = cros->FindWifiNetworkByPath(service_path))) { in HandleWifiButtonClick() 887 if (wifi->IsPassphraseRequired()) { in HandleWifiButtonClick() [all …]
|
/external/chromium_org/chromeos/network/ |
D | client_cert_resolver.cc | 198 const base::DictionaryValue* wifi = NULL; in OncToClientCertConfigurationType() local 200 &wifi); in OncToClientCertConfigurationType() 201 if (wifi) { in OncToClientCertConfigurationType() 203 wifi->GetDictionaryWithoutPathExpansion(wifi::kEAP, &eap); in OncToClientCertConfigurationType() 230 ethernet->GetDictionaryWithoutPathExpansion(wifi::kEAP, &eap); in OncToClientCertConfigurationType()
|