Home
last modified time | relevance | path

Searched refs:wifi (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library_unittest.cc17 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 …]
Dnetwork_library.cc2666 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/chrome/browser/chromeos/options/
Dwifi_config_view.cc238 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 …]
Dwifi_config_view.h43 WifiConfigView(NetworkConfigView* parent, WifiNetwork* wifi);
76 void Init(WifiNetwork* wifi);
/external/chromium/chrome/browser/chromeos/
Dnetwork_login_observer.cc58 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/chrome/browser/automation/
Dautomation_provider_observers_chromeos.cc132 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()
Dtesting_automation_provider_chromeos.cc297 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowWifiManager.java3 import android.net.wifi.ScanResult;
4 import android.net.wifi.WifiConfiguration;
5 import android.net.wifi.WifiInfo;
6 import android.net.wifi.WifiManager;
DShadowWifiInfo.java3 import android.net.wifi.WifiInfo;
DShadowScanResult.java3 import android.net.wifi.ScanResult;
DShadowWifiConfiguration.java3 import android.net.wifi.WifiConfiguration;
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_dropdown_button.cc87 const WifiNetwork* wifi = in OnNetworkManagerChanged() local
89 SetIcon(*IconForNetworkStrength(wifi, true)); in OnNetworkManagerChanged()
90 SetText(UTF8ToWide(wifi->name())); in OnNetworkManagerChanged()
Dnetwork_menu.cc108 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 …]
Dnetwork_menu_button.cc373 const WifiNetwork* wifi = static_cast<const WifiNetwork*>(network); in SetNetworkIcon() local
374 SetIconAndBadges(IconForNetworkStrength(wifi, false), in SetNetworkIcon()
378 UTF8ToUTF16(wifi->name())))); in SetNetworkIcon()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DWifiInfoTest.java3 import android.net.wifi.WifiInfo;
4 import android.net.wifi.WifiManager;
DWifiManagerTest.java3 import android.net.wifi.ScanResult;
4 import android.net.wifi.WifiConfiguration;
5 import android.net.wifi.WifiInfo;
6 import android.net.wifi.WifiManager;
DScanResultTest.java3 import android.net.wifi.ScanResult;
DWifiConfigurationTest.java3 import android.net.wifi.WifiConfiguration;
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc632 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 …]
Dinternet_options_handler.h94 void PopulateWifiDetails(const chromeos::WifiNetwork* wifi,
/external/chromium/chrome/browser/chromeos/login/
Dnetwork_screen_browsertest.cc195 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/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_conf.mk19 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/wifi
/external/chromium/chrome/browser/resources/options/chromeos/
Dinternet_options_page.css198 #detailsInternetPage[ethernet] .wifi-details,
200 #detailsInternetPage[cellular] .wifi-details,
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwps-nfc.py235 wifi = nfc.ndef.WifiConfigRecord(carrier.record)
236 print wifi.pretty()
/external/chromium/chrome/browser/
Dbrowser_about_handler.cc432 const chromeos::WifiNetwork* wifi = in ToHtmlTableRow() local
434 str += WrapWithTD(wifi->GetEncryptionString()); in ToHtmlTableRow()
435 str += WrapWithTD(std::string(wifi->passphrase().length(), '*')); in ToHtmlTableRow()
436 str += WrapWithTD(wifi->identity()); in ToHtmlTableRow()
437 str += WrapWithTD(wifi->cert_path()); in ToHtmlTableRow()

12