/external/chromium_org/chromeos/network/ |
shill_property_util.h | 71 class CHROMEOS_EXPORT NetworkTypePattern { 74 static NetworkTypePattern Default(); 77 static NetworkTypePattern Wireless(); 80 static NetworkTypePattern Mobile(); 83 static NetworkTypePattern NonVirtual(); 86 static NetworkTypePattern Ethernet(); 88 static NetworkTypePattern WiFi(); 89 static NetworkTypePattern Cellular(); 90 static NetworkTypePattern VPN(); 91 static NetworkTypePattern Wimax() [all...] |
shill_property_util_unittest.cc | 17 : cellular_(NetworkTypePattern::Cellular()), 18 default_(NetworkTypePattern::Default()), 19 ethernet_(NetworkTypePattern::Ethernet()), 20 mobile_(NetworkTypePattern::Mobile()), 21 non_virtual_(NetworkTypePattern::NonVirtual()), 22 wimax_(NetworkTypePattern::Wimax()), 23 wireless_(NetworkTypePattern::Wireless()) {} 25 bool MatchesPattern(const NetworkTypePattern& a, 26 const NetworkTypePattern& b) { 27 // Verify that NetworkTypePattern::MatchesPattern is symmetric [all...] |
network_state_handler.h | 39 class NetworkTypePattern; 91 // NetworkTypePattern::Primitive, ::Mobile and ::Ethernet are supported. 92 TechnologyState GetTechnologyState(const NetworkTypePattern& type) const; 93 bool IsTechnologyAvailable(const NetworkTypePattern& type) const { 96 bool IsTechnologyEnabled(const NetworkTypePattern& type) const { 101 // NetworkTypePattern::Primitive, ::Mobile and ::Ethernet are supported. 104 const NetworkTypePattern& type, 112 const DeviceState* GetDeviceStateByType(const NetworkTypePattern& type) const; 115 bool GetScanningByType(const NetworkTypePattern& type) const; 134 const NetworkTypePattern& type) const [all...] |
shill_property_util.cc | 138 if (!NetworkTypePattern::WiFi().MatchesType(type)) 312 NetworkTypePattern NetworkTypePattern::Default() { 313 return NetworkTypePattern(~0); 317 NetworkTypePattern NetworkTypePattern::Wireless() { 318 return NetworkTypePattern(kNetworkTypeWifi | kNetworkTypeWimax | 323 NetworkTypePattern NetworkTypePattern::Mobile() { 324 return NetworkTypePattern(kNetworkTypeCellular | kNetworkTypeWimax) [all...] |
network_state_handler_unittest.cc | 212 NetworkTypePattern::Default())->path()); 215 NetworkTypePattern::Ethernet())->path()); 218 NetworkTypePattern::Wireless())->path()); 221 NetworkTypePattern::Mobile())->path()); 224 network_state_handler_->FirstNetworkByType(NetworkTypePattern::Cellular()) 235 NetworkTypePattern::Wimax(), false, network_handler::ErrorCallback()); 238 network_state_handler_->GetTechnologyState(NetworkTypePattern::Wimax())); 243 NetworkTypePattern::Wimax(), true, network_handler::ErrorCallback()); 250 network_state_handler_->GetTechnologyState(NetworkTypePattern::Wimax())); 258 network_state_handler_->GetTechnologyState(NetworkTypePattern::Wimax())) [all...] |
managed_state.h | 24 class NetworkTypePattern; 78 bool Matches(const NetworkTypePattern& pattern) const;
|
network_state_handler.cc | 108 const NetworkTypePattern& type) const { 126 const NetworkTypePattern& type, 147 const NetworkTypePattern& type) const { 160 const NetworkTypePattern& type) const { 203 const NetworkTypePattern& type) const { 219 const NetworkTypePattern& type) const { 235 const NetworkTypePattern& type) const { 249 const NetworkTypePattern& type) const { 262 GetNetworkListByType(NetworkTypePattern::Default(), list); 265 void NetworkStateHandler::GetNetworkListByType(const NetworkTypePattern& type [all...] |
managed_state.cc | 18 bool ManagedState::Matches(const NetworkTypePattern& pattern) const {
|
/external/chromium_org/chrome/browser/chromeos/ |
prerender_condition_network.cc | 24 !default_network->Matches(NetworkTypePattern::Mobile());
|
/external/chromium_org/chrome/browser/chromeos/login/ |
helper.cc | 51 nsh->ConnectedNetworkByType(NetworkTypePattern::NonVirtual()); 53 if (network->Matches(NetworkTypePattern::Ethernet())) 58 network = nsh->ConnectingNetworkByType(NetworkTypePattern::NonVirtual()); 60 if (network->Matches(NetworkTypePattern::Ethernet())) 70 return nsh->ConnectedNetworkByType(chromeos::NetworkTypePattern::Default()) != 78 chromeos::NetworkTypePattern::Default()) != NULL;
|
auth_prewarmer.cc | 115 return (nsh->ConnectedNetworkByType(NetworkTypePattern::Default()) != NULL);
|
proxy_settings_dialog.cc | 74 if (network_name.empty() && network.Matches(NetworkTypePattern::Ethernet())) {
|
/external/chromium_org/ash/system/chromeos/network/ |
network_connect.h | 19 class NetworkTypePattern; 40 const chromeos::NetworkTypePattern& technology,
|
network_state_list_detailed_view.cc | 53 using chromeos::NetworkTypePattern; 267 NetworkTypePattern::WiFi()); 268 handler->SetTechnologyEnabled(NetworkTypePattern::WiFi(), 272 handler->SetTechnologyEnabled(NetworkTypePattern::WiFi(), 455 UpdateTechnologyButton(button_wifi_, NetworkTypePattern::WiFi()); 457 UpdateTechnologyButton(button_mobile_, NetworkTypePattern::Mobile()); 467 const NetworkTypePattern& technology) { 670 handler->IsTechnologyEnabled(NetworkTypePattern::Mobile()) && 671 !handler->FirstNetworkByType(NetworkTypePattern::Mobile())) { 686 int message_id = handler->IsTechnologyEnabled(NetworkTypePattern::WiFi() [all...] |
tray_vpn.cc | 27 using chromeos::NetworkTypePattern; 51 handler->FirstNetworkByType(NetworkTypePattern::VPN()); 81 handler->FirstNetworkByType(NetworkTypePattern::VPN());
|
network_state_list_detailed_view.h | 22 class NetworkTypePattern; 93 const chromeos::NetworkTypePattern& technology);
|
network_icon.cc | 32 using chromeos::NetworkTypePattern; 466 if (network->Matches(NetworkTypePattern::Ethernet())) { 468 } else if (network->Matches(NetworkTypePattern::Wireless())) { 472 } else if (network->Matches(NetworkTypePattern::VPN())) { 489 handler->ConnectedNetworkByType(NetworkTypePattern::NonVirtual()); 545 if (network->Matches(NetworkTypePattern::Wireless())) 548 if (network->Matches(NetworkTypePattern::Cellular())) 552 network->Matches(NetworkTypePattern::NonVirtual())) { 589 ConnectedNetworkByType(NetworkTypePattern::VPN()); 728 if (network->Matches(NetworkTypePattern::Ethernet())) [all...] |
tray_network.cc | 40 using chromeos::NetworkTypePattern; 86 handler->ConnectedNetworkByType(NetworkTypePattern::NonVirtual()); 236 NetworkTypePattern::WiFi()); 338 bool enabled = handler->IsTechnologyEnabled(NetworkTypePattern::WiFi()); 343 handler->SetTechnologyEnabled(NetworkTypePattern::WiFi(),
|
network_state_notifier.cc | 32 using chromeos::NetworkTypePattern; 137 if (handler->ConnectingNetworkByType(NetworkTypePattern::NonVirtual()) ||
|
/external/chromium_org/chrome/browser/chromeos/status/ |
network_menu.cc | 63 void ToggleTechnology(const NetworkTypePattern& technology) { 309 ToggleTechnology(NetworkTypePattern::WiFi()); 311 ToggleTechnology(NetworkTypePattern::Mobile()); 392 handler->IsTechnologyEnabled(NetworkTypePattern::Ethernet()); 394 handler->FirstNetworkByType(NetworkTypePattern::Ethernet()); 419 if (handler->IsTechnologyEnabled(NetworkTypePattern::Cellular())) { 458 handler->GetDeviceStateByType(NetworkTypePattern::Cellular()); 479 if (handler->IsTechnologyEnabled(NetworkTypePattern::Wimax())) { 491 if (handler->IsTechnologyEnabled(NetworkTypePattern::WiFi())) { 493 int scanning_msg = handler->GetScanningByType(NetworkTypePattern::WiFi() [all...] |
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_api_chromeos.cc | 35 using chromeos::NetworkTypePattern; 323 if (state_handler->IsTechnologyEnabled(NetworkTypePattern::Ethernet())) 325 if (state_handler->IsTechnologyEnabled(NetworkTypePattern::WiFi())) 327 if (state_handler->IsTechnologyEnabled(NetworkTypePattern::Cellular())) 351 NetworkTypePattern::Ethernet(), true, 357 NetworkTypePattern::WiFi(), true, 363 NetworkTypePattern::Cellular(), true, 389 NetworkTypePattern::Ethernet(), false, 395 NetworkTypePattern::WiFi(), false, 401 NetworkTypePattern::Cellular(), false [all...] |
/external/chromium_org/chrome/browser/ui/webui/help/ |
help_utils_chromeos.cc | 51 if (chromeos::NetworkTypePattern::Ethernet().MatchesType(type))
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
internet_options_handler.cc | 438 if (state->Matches(NetworkTypePattern::Ethernet())) 687 NetworkTypePattern::NonVirtual()); [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
info_private_api.cc | 87 chromeos::NetworkTypePattern::Cellular());
|
/external/chromium_org/chrome/browser/chromeos/net/ |
onc_utils.cc | 241 if (NetworkTypePattern::Ethernet().MatchesType(type)) { 245 NetworkTypePattern::Ethernet()); 354 if (!favorite.Matches(NetworkTypePattern::Ethernet()))
|